auto-install
auto-install copied to clipboard
Don't uninstall required peer dependencies
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.
Do you add this to peerDependencies in package.json?
Can blacklist those