Review and update project dependencies safely.
Phase 1: Dependency Audit
-
List all outdated dependencies
-
Check for security vulnerabilities
-
Identify breaking changes in major updates
Phase 2: Update Strategy
-
Categorise: security patches (immediate), minor updates (safe), major updates (needs testing)
-
For major updates: read changelog, identify breaking changes, find migration guides
Phase 3: Incremental Updates
-
Update in order: security patches, dev dependencies, minor production, major (one at a time)
-
After each group: run full test suite, check deprecation warnings
Phase 4: Documentation
- Update lock files, README if setup changed, migration notes
Create a PR for each logical group with clear description and testing performed.
Auto-Exit When Standalone
IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.