| name | deps-update |
| description | Updates dependencies safely - patch/minor auto, major with analysis |
| user-invocable | true |
| allowed-tools | Bash Read Edit |
| effort | medium |
Update Dependencies
- See what's outdated:
npm outdated 2>/dev/null || bun outdated 2>/dev/null
-
Categorize updates:
- Patch (1.0.1 → 1.0.2): bug fixes, safe to update
- Minor (1.0.0 → 1.1.0): new features, backward compatible, usually safe
- Major (1.0.0 → 2.0.0): breaking changes, needs analysis
-
For major updates, check changelogs:
- Read the package's CHANGELOG or GitHub releases
- Identify breaking changes that affect this project
- Check if there are codemods available
-
Apply updates in batches:
npm update 2>/dev/null || bun update
npm install package@latest
- After each batch: run tests to catch regressions.
npm test 2>/dev/null || bun test
- Report: N updated, N skipped (reason), N failed tests (which package caused it).