Steps to Reproduce
.ncurc:
No .ncurc file is used.
Dependencies:
{
"dependencies": {
"fudgel": "2.6.0"
},
"peerDependencies": {
"fudgel": "2.6.1"
}
}
Steps:
- Start with two different versions of the same package.
- Run
npm-check-updates -u --dep dev,optional,peer,prod,packageManager
Current Behavior
Only one of the packages is updated to the latest instead of both.
Expected Behavior
Both packages are updated
Sample Output
$ cat package.json
{
"dependencies": {
"fudgel": "2.6.0"
},
"peerDependencies": {
"fudgel": "2.6.1"
}
}
$ npm-check-updates -u --dep dev,optional,peer,prod,packageManager
Upgrading /[removed]/package.json
[====================] 1/1 100%
fudgel 2.6.0 → 3.1.0
Run npm install to install new versions.
$ cat package.json
{
"dependencies": {
"fudgel": "3.1.0"
},
"peerDependencies": {
"fudgel": "2.6.1"
}
}
$ npm-check-updates -u --dep dev,optional,peer,prod,packageManager
Upgrading /[removed]/package.json
[====================] 1/1 100%
fudgel 2.6.1 → 3.1.0
Run npm install to install new versions.
$ cat package.json
{
"dependencies": {
"fudgel": "3.1.0"
},
"peerDependencies": {
"fudgel": "3.1.0"
}
}
Steps to Reproduce
.ncurc:
No
.ncurcfile is used.Dependencies:
{ "dependencies": { "fudgel": "2.6.0" }, "peerDependencies": { "fudgel": "2.6.1" } }Steps:
npm-check-updates -u --dep dev,optional,peer,prod,packageManagerCurrent Behavior
Only one of the packages is updated to the latest instead of both.
Expected Behavior
Both packages are updated
Sample Output