@nikensss/sauna
v1.3.6
Published
CLI tool to show the available updates for npm packages, sorted and colored by type. First come the patch updates, then the minor updated, and last come the major updates (according to Sem.Ver. conventions).
Downloads
7
Readme
sauna
CLI tool to show available updates for an npm
project, sorted and colored by
type. First the patch updates are shown, then the minor updates, and then the
major updates.
Install
npm i -g @nikensss/sauna
This will enable the sauna
command on your terminal.
Options
-p
, --path
The path
to run on:
sauna -p "~/repos/sauna"
sauna --path "~/repos/sauna"
If not specified, the current directory will be used.
-i
, --ignore
The packages with updates that should be excluded from the update commands. These will still be visible in the list of available updates, but will not be added to the update commands.
sauna -i axios @types/node
sauna --ignore axios @types/node
--debug
If this flag is provided, a log file will be created called sauna.log
at the
location where the command is run with execution details. Useful to debug
issues.
Colors
blue = patch updates
yellow = minor updates
red = major updates
Version sorting
When sorting the updates available, sauna
only looks at the current and the
latest version. Since I always use npm
with save-exact=true
, the wanted
version cannot be used.