Automatically upgrade all dependencies and devDependencies to their latest stable semver.
npm install salita -g
# Change into directory with package.json. cd my_project # Upgrade all dependencies. salita
--no-color: prevents colorized output
--json: provides parseable JSON output (also disables colors)
-n: prevents changes to
--update: reflects the changes in
--ignore-stars: ignore updates to packages that are set to "
--ignore-pegged: ignore updates to packages that are pegged to a single version, rather than a range
--check: implies "dry-run"; and returns with an exit code matching the number of updated dependencies.
--only-changed: only show packages that have (or would have) changed
You can see in the example below that dependencies are always resolved to their latest stable, instead of just the latest version tagged: