All apps/npm-check-updates

npm-check-updates

npm-check-updates

npm-check-updates upgrades your package.json dependencies to the latest versions, ignoring specified versions.

Runs as ncu, npm-check-updates|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 16 fields

Check package.json for newer dependency versions, optionally rewriting the file with -u. Doctor mode, custom filter functions and config-file options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui npm-check-updates
Check dependency updatesExample values, fixed in this page — nothing here reaches a terminal
Basic
Package filter
string
Upgrade target
string
Advanced
Dependency sections
string
TasksEach one presets the form for one job
Check updates
filtertargetdep
Upgrade package.json
filtertargetreject
Pick upgrades
target
ParametersOnly these flags are editable in the form
Package filter
string · positional 0 · repeatable
Write upgrades to package.json
boolean
--upgrade-u
Upgrade target
string
--target-tlatestnewestgreatestminorpatch
Dependency sections
string
--depproddevoptionalpeerpackageManager
Exclude packages
string
--reject-x
Recurse into subdirectories
boolean
--deep
Global packages
boolean
--global-g
Interactive
boolean
--interactive-i
All workspaces
boolean
--workspaces-ws
Minimal (skip satisfied)
boolean
--minimal-m
Respect peer dependencies
boolean
--peer
JSON of upgrades
boolean
--jsonUpgraded
Output format
string
--formatgroupownerChangedrepotimelines
Package manager
string
--packageManager-pnpmyarnpnpmdenostaticRegistry
Registry
string
--registry-r
Working directory
path
--cwd
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed ncu against its version. A form that does not match your version is not offered.