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.
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.
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-upgradeit suggest bumping thedevDependenciesReact to>=16.12instead 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.