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

[QUESTION] <peerDependencies tips should be error> #74

Closed
cleverboy32 opened this issue Dec 10, 2019 · 1 comment
Closed

[QUESTION] <peerDependencies tips should be error> #74

cleverboy32 opened this issue Dec 10, 2019 · 1 comment

Comments

@cleverboy32
Copy link

cleverboy32 commented Dec 10, 2019

What / Why

when i my package need an other package, i use peerDependencies to statement this point. to hope others to install that package and install right version. but the result is, they install wrong version just a warnging . its so Ignored。 i think the tips should be obviously error. beacuase if the packages need right peerDependencies. or i can defined the tips level to remind people to note that

image

really to ignore...

@isaacs
Copy link
Contributor

isaacs commented Dec 17, 2019

npm v7 will install peer deps by default (possibly as an opt-in or subsequent command, pending feedback from beta period), and will fail the installation if the peer dep graph cannot be resolved properly.

Doing anything different with peer deps would be a breaking change, and the current plan is to address this fully, so I think we can close this.

@isaacs isaacs closed this as completed Dec 17, 2019
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

No branches or pull requests

2 participants