npm-check-updates 14.1.0
Features
Group
You can now group upgrades by risk level using --format group:
Interactive Mode
Interactive mode was completely rewritten for a better user experience.
Inspired by npm-check.
Combine with --format group for a truly luxe experience:
Static Registry
A new option --packageManager staticRegistry allows upgrades to be recommended from a static JSON file. This can be used to power custom versioning infrastructure that is completely independent from the npm registry.
Thanks to agrouse who did a fine job on the PR.
Example:
$ ncu --packageManager staticRegistry --registry ./my-registry.json
my-registry.json:
{
"prettier": "2.7.0",
"typescript": "4.7.0"
}
The latest versions of prettier and typescript are set in the registry file. When ncu is run, it will recommend upgrades from the static registry file without touching the npm registry:
$ ncu --packageManager staticRegistry --registry ./my-registry.json
Checking /Users/raine/projects/ncu-issues/14.1.0/package.json
[====================] 2/2 100%
prettier ^2.0.1 → ^2.7.0
typescript ^3.4.0 → ^4.7.0
Run ncu -u to upgrade package.json