Skip to content

Loosen prosemirror-view dependency #93

@aried3r

Description

@aried3r

Hey! Thanks for this great package! :)

I was wondering, I believe nib-core is using an outdated version of prosemirror-view since it locks it to 1.10.0. I might be wrong here, since other packages of prosemirror do request a newer version for themselves.

https://github.com/nib-edit/Nib/blob/8cc08f1b9e41c8bec5b6e170f9fc05ec60dee4f1/packages/core/package.json#L36

Could this be loosened like the other dependencies?

https://github.com/nib-edit/Nib/blob/8cc08f1b9e41c8bec5b6e170f9fc05ec60dee4f1/packages/core/package.json#L28-L35

Maybe these should even be peerDependencies since there's no way (at least as of now) in yarn to update nested dependencies (outside of using resolutions in package.json), see yarnpkg/yarn#2394. Unless you want to stay in control of which prosemirror package versions nib uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions