Back to 💻 Local Dev Environment

Update All Dependencies

npmMaintenanceUpdates
---
description: Interactively check and update outdated packages
---

1. **Check for Updates**:
- Use npm-check-updates to see what's new.
// turbo
- Run npx npm-check-updates

2. **Review Changes**:
- ⚠️ **WARNING**: Always review major version changes before updating!
- Check changelogs for breaking changes.
- Look for major version bumps (e.g., 1.x.x → 2.x.x).

3. **Update package.json**:
- Update versions in your package file.
// turbo
- Run npx npm-check-updates -u

4. **Install New Versions**:
- Install the updated packages.
// turbo
- Run npm install

5. **Test Thoroughly**:
- Run your tests immediately after updating.
// turbo
- Run npm test

6. **Pro Tips**:
- Use -i for interactive mode to selectively update: npx ncu -i.
- Update only minor/patch versions: npx ncu -u --target minor.
- Check for peer dependency conflicts with npm ls.
By Antigravity Team

How to Use This Workflow

Option A: Project-Specific (Recommended)

  1. Click "Download" above
  2. In your project, create the directory: .agent/workflows/
  3. Save the file as update-npm-dependencies-check-updates.md
  4. In Antigravity, type /update_npm_dependencies_check_updates or just describe what you want to do

Learn more about workflows →

Related Workflows

Recommended Rules

View more rules →

Recommended MCP Servers

View more MCP servers →

Take It Further

Maximize your productivity with these powerful resources

📋

Define Your Standards

Set up coding standards to ensure this workflow produces consistent, high-quality results.

Browse Rules Library
📖

Master Workflows

Learn how to create custom workflows, use Turbo Mode, and build your automation library.

Complete Guide