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

Don't uninstall required peer dependencies #80

Open
innerspirit opened this issue Feb 10, 2017 · 1 comment
Open

Don't uninstall required peer dependencies #80

innerspirit opened this issue Feb 10, 2017 · 1 comment

Comments

@innerspirit
Copy link

innerspirit commented Feb 10, 2017

auto-install will sometimes remove dependencies that shouldn't be removed.

For example, I require()d @r/api-client, which in turn has a peer dependency on superagent. It doesn't get installed automatically, so I install it manually, otherwise I can't use @r/api-client.

In this case, auto-install will think I'm not using superagent (I'm not, but @r/api-client is), and will remove it.

@siddharthkp
Copy link
Owner

Do you add this to peerDependencies in package.json?

Can blacklist those

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

No branches or pull requests

2 participants