For small or hobby projects, the npm outdated → npm install <pkg>@latest per-package dance is more friction than it's worth. npx npm-check-updates --upgrade (or ncu -u if installed) rewrites every version in package.json to the latest at once, then a single npm i pulls them in.
The full post covers the basic flow plus the flags worth knowing — --filter to scope by name, --peer to include peer deps, --greatest to ignore semver ranges, and --global for tools you've installed globally.
Originally published at andreasbergstrom.dev — read the full post there.
Top comments (0)