Use when checking for outdated packages or upgrading dependencies with compatibility verification.
Safely update project dependencies with compatibility checks.
/dependency-update — check and propose updates/dependency-update --patch — only patch updates (safe)/dependency-update --minor — patch + minor/dependency-update --all — all including major/dependency-update --dry-run — show what would update/dependency-update <package> — update specific packagenpm outdated --json
| Type | Risk | Action |
|---|
| Patch (1.0.0 → 1.0.1) | Low | Batch update |
| Minor (1.0.0 → 1.1.0) | Medium | Update & test |
| Major (1.0.0 → 2.0.0) | High | One-by-one with tests |
Show grouped list with risk levels. Get user confirmation.
Patch (batch): npm update
Minor (batch): npm install pkg1@latest pkg2@latest && npm test
Major (one at a time):
npm install <package>@latestchore(deps): update <package> to v<version>npm run lint && npx tsc --noEmit && npm test && npm run build
✅ Updated: 15 packages (10 patch, 4 minor, 1 major)
⚠️ Skipped: 2 packages (tests fail)
📋 Commits: 3