Skip to content
Automatically upgrade all NPM dependencies.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin [New] add `--only-changed` Nov 10, 2018
.eslintrc
.gitignore Only apps should have lockfiles Aug 20, 2017
.jscs.json
.npmrc
LICENSE Initial commit. May 30, 2014
README.md
index.js
package.json

README.md

Salita

Automatically upgrade all dependencies and devDependencies to their latest stable semver.

Install

npm install salita -g

Usage

# Change into directory with package.json.
cd my_project

# Upgrade all dependencies.
salita

Options

  • --no-color: prevents colorized output
  • --json: provides parseable JSON output (also disables colors)
  • --dry-run / -n: prevents changes to package.json
  • --update: reflects the changes in package.json
  • --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

Example

You can see in the example below that dependencies are always resolved to their latest stable, instead of just the latest version tagged:

Terminal

You can’t perform that action at this time.