Declare state and view peer dependencies #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "declare-peer-dependencies"
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?
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 https://github.com/codemirror/dev/issues/858.
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.
Sure.
Pull request closed