#nodejs #update #npm #node #updater #js #package

app pushapp-cli

Ultra fast dependencies updater for Node.js

11 stable releases

new 1.4.1 Oct 14, 2024
1.3.2 Oct 5, 2024

#407 in Parser implementations

Download history 98/week @ 2024-09-25 735/week @ 2024-10-02 323/week @ 2024-10-09

1,156 downloads per month

MIT license

2MB
841 lines

🚀 Pushapp CLI 🏋🏻‍♂️

⚡ Ultra fast dependencies updater for Node.js written in Rust! ⚡

Latest Version Crates.io Downloads GitHub Repo stars

image

Features

  • Ultra fast
  • Support for npm, pnpm, yarn and bun
  • Interactive mode
  • Autocomplete
  • Colored updatable packages based on semver diff
  • CLI utility flags
  • Check global packages

Roadmap

  • Monorepo support ⚠️
  • Single packages update with filters ⚠️
  • Non-interactive mode with different display formatting and infos (publish time, semver grouping ) ⚠️
  • Tarball and git url dependencies support ⚠️
  • Private packages support ⚠️

Installation

cargo install pushapp-cli

Usage

Run the following command in your Node.js project directory:

pushapp

Flag options

Option Description
-t, --target Determines the version to upgrade to
-g, --global Check global packages
-D, --development Check only devDependencies
-P, --production Check only dependencies and optionalDependencies
-h, --help Display help information
-V, --version Display version information

How dependencies updates are determined

  • Direct dependencies are updated to the latest stable version:
    • 1.0.01.2.0
  • Prerelease versions are ignored by default.
    • Use --target pre to include the highest pre-release versions (e.g. alpha, beta, rc)
  • Choose what level to upgrade to:
    • With --target semver, update according to your specified semver version ranges:
      • ^1.1.0^1.9.99
    • With --target major, strictly update the major version:
      • 1.0.02.0.0
    • With --target minor, strictly update the patch and minor versions (including major version zero):
      • 0.1.00.2.1
    • With --target patch, strictly update the patch version (including major version zero):
      • 0.1.00.1.2
    • With --target [tag], update to the version published on the specified tag:
      • Example: 0.1.0 -> 0.1.1-canary.1
      • The available target tags are next, canary, rc, beta, alpha. The default is latest.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Flavio Delgrosso

Dependencies

~11–24MB
~338K SLoC