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

Make cytoscape a peer dependency #76

Closed
wants to merge 1 commit into from

Conversation

Secretmapper
Copy link

@Secretmapper Secretmapper commented Apr 22, 2021

Since cytoscape is used by the user of react-cytoscape, it should be a peer dependency. This prevents instances where you get multiple copies of cytoscape.

#21
#17

As mentioned, by @akx in issue 17, this is similar to having react as a peer dependency. Not having it as a peer dependency can make cytoscapejs.use not work, as you can end up with multiple copies of cytoscapejs (which is what prompted my opening of this issue in the first place)

FYI: This PR does not update the package-lock.json

@akx
Copy link
Contributor

akx commented Apr 22, 2021

This would be nice.

This readme commit by @maxkfranz 0edbf07 basically already guides users to install Cytoscape as a peer dep anyway...

@akx
Copy link
Contributor

akx commented Aug 18, 2021

@Secretmapper Could you resolve the package.json conflict so maybe @kinimesi (having just merged #53) can then merge this? :)

@akx
Copy link
Contributor

akx commented Jul 6, 2022

@kinimesi (or someone else), could this get merged sometime soon?

@akx akx mentioned this pull request Jul 6, 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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants