salita

Automatically upgrade all dependencies, devDependencies, and peerDependencies

Usage no npm install needed!

<script type="module">
  import salita from 'https://cdn.skypack.dev/salita';
</script>

README

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