We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my package I specify a peer dependency to a React version:
{ "peerDependencies": { "react": ">=16.3" } }
For development I've also installed React as a dev dependency:
{ "devDependencies": { "react": "16.11.0" } }
Now, when I run npm-upgrade it suggest bumping the devDependencies React to >=16.12 instead of 16.12.0.
npm-upgrade
devDependencies
>=16.12
16.12.0
In my opinion, it should always respect the scheme of the version to be bumped, instead of in this case using the scheme from peerDependencies.
peerDependencies
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In my package I specify a peer dependency to a React version:
For development I've also installed React as a dev dependency:
Now, when I run
npm-upgrade
it suggest bumping thedevDependencies
React to>=16.12
instead of16.12.0
.In my opinion, it should always respect the scheme of the version to be bumped, instead of in this case using the scheme from
peerDependencies
.The text was updated successfully, but these errors were encountered: