bump mocha to 9.x and ensure lockfiles aren't created #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i'm working on tracking down an error in prosemirror-collab and in the interim i noticed that a few more dependencies are needed to ensure a clean
npm i && npm test.prosemirror-schema-basicprosemirror-schema-listnpm installsince you don't check them into version control.happy to walk any of the individual items above back if they aren't desired. thanks for all your work on this project! 🥇
How does this package use schema-basic/schema-list?
apparently via
prosemirror-test-builder.github.com/ProseMirror/prosemirror-test-builder@6b191acb3d/package.json (L19-L23)Which depends on these packages, so it doesn't seem necessary to make this one also depend on them.
i could be missing something, but prior to npm@7, peerDependencies for a package are not installed by default.
https://docs.npmjs.com/cli/v7/configuring-npm/package-json#peerdependencies
Oh, indeed, they are peer dependencies, weirdly—since none of the other packages work this way. More worryingly, that was the last patch to the test-builder repository, made last April, and I don't have any recollection of why I made it. I'm going to revert it, for the sake of consistency.
i confirmed locally that 1.0.5 does the trick!
i've pushed up another commit that reverts those additions just in case there's anything else in this PR that looks useful.
I've applied your other changes for all packages (see
d90d060cdfandbfa5940a9bin this repository).Pull request closed