JonShort / npm-bumpall

Utility to bump all packages to latest
MIT License
0 stars 0 forks source link

Add a bash script version #1

Closed JonShort closed 4 years ago

JonShort commented 4 years ago
  1. Execute npm outdated in the current dir
  2. Collect all the outdated deps
  3. Execute npm i {dep1}@latest {dep2}@latest, updating all deps to latest

Used Regex capture groups for the text - seemed the cleanest way to handle it