Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider moving to a peerDependency model #881

Closed
masad-frost opened this issue Jun 23, 2022 · 1 comment
Closed

Consider moving to a peerDependency model #881

masad-frost opened this issue Jun 23, 2022 · 1 comment

Comments

@masad-frost
Copy link

I often find myself in a cursed state with my node_modules. Where for example I have a package like @codemirror/search with a different version of @codemirror/state than my root @codemirror/state (it's often worse than just 2 packages). From there I have to perform manual surgery on my lock file to make sure all my packages have the right @codemirror/state.

If @codemirror/x packages relied on each other via peerDependency (for users) and devDependency (for development) then we wouldn't have this problem.

@masad-frost
Copy link
Author

sorry, just saw #858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant