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

Use peerDependencies to avoid duplicate dependencies #36

Closed

Conversation

KamilaBorowska
Copy link

This tells package manager that this package uses @codemirror/state
as part of its public API and should try to make sure the package
is deduped to avoid issues with duplicate packages.

The peer dependency here duplicates a regular dependency entry. This
is intentional to preserve compatibility with old npm versions that
did not automatically install peer dependencies.
@KamilaBorowska
Copy link
Author

Closing, figured out that this is not necessary in this package, see codemirror/dev#858 (comment).

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