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

Declare state and view peer dependencies #12

Conversation

KamilaBorowska
Copy link

The user is going to need to put those into package.json themselves, whether it's by adding codemirror or @codemirror/view. As such there is no issue with those being peer dependencies.

See codemirror/dev#858.

The user is going to need to put those into package.json
themselves, whether it's by adding codemirror or
@codemirror/view. As such there is no issue with those
being peer dependencies.
@marijnh
Copy link
Member

marijnh commented Jun 15, 2022

I'm leaning towards, as a more general solution, to really put all @codemirror and @lezer dependencies on all these packages in both peer- and regular dependency fields (using tooling to make sure they stay in sync). Does that sound like a reasonable solution to you? I'd start, as a pilot, with this package.

@KamilaBorowska
Copy link
Author

Sure.

marijnh added a commit that referenced this pull request Jun 15, 2022
FIX: Declare package dependencies as peer dependencies as an attempt
to avoid duplicated package issues.

Issue #12
Issue codemirror/dev#858
@marijnh marijnh closed this Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants