update-packages

Automate npm package updates across a monorepo with nx migrate.

71|28|Updated Dec 30, 2017
One-click install
npx skills add https://github.com/chrisjwalk/angular-cli-netcore-ngrx-starter --skill update-packages-chrisjwalk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-packages
Source: https://github.com/chrisjwalk/angular-cli-netcore-ngrx-starter/tree/main/.claude/skills/update-packages
Command: npx skills add https://github.com/chrisjwalk/angular-cli-netcore-ngrx-starter --skill update-packages-chrisjwalk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeping npm dependencies fresh is a constant drain for teams, leading to security risks, flaky builds, and manual churn when chasing updates and alignments across a monorepo.

Core Features & Use Cases

  • Consolidated updates: run a single workflow to update all packages to their latest compatible versions and close stale dependabot PRs.
  • Guided workflow: create an issue, branch off main, run the update-packages script, and apply migrations automatically.
  • Risk-aware upgrades: selectively skip packages and perform non-interactive upgrades for CI-friendly rollouts.

Quick Start

Ask me to run the update-packages workflow to upgrade all npm packages to their latest compatible versions.

Frequently Asked Questions about update-packages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update all npm dependencies to the latest compatible versions in a monorepo?

To update npm dependencies in a monorepo, this workflow scans outdated packages and applies migrations via nx migrate, automatically updating migrations.json and reinstalling dependencies across the entire workspace.

What's the best way to consolidate multiple Dependabot PRs into a single update workflow?

Consolidating Dependabot PRs is handled by running a single scripted workflow that updates all packages to their latest compatible versions and closes stale Dependabot PRs in one guided process.

Do I need pnpm, bun, and nx to run the update-packages workflow?

Yes, the update-packages workflow requires a local development setup with pnpm, bun, and nx tooling to detect outdated packages and apply migrations via the nx migrate command.

Can I skip specific npm packages during a monorepo dependency migration?

Yes, the workflow supports risk-aware upgrades by allowing you to selectively skip packages and perform non-interactive upgrades for CI-friendly rollouts across your monorepo.

How does the guided dependency update process work from start to finish?

The guided dependency update process works by creating an issue, branching off main, running the update-packages script to detect outdated packages, and applying migrations automatically before reinstalling dependencies.