npm-updater
Installation
SKILL.md
NPM Updater
Structured workflow for updating all dependencies in a single package.json.
Step 0: Detect Package Manager
Determine package manager from lockfiles and package.json config:
| Lockfile | package.json field | Manager |
|---|---|---|
yarn.lock |
packageManager: "yarn@" |
yarn |
pnpm-lock.yaml |
packageManager: "pnpm@" |
pnpm |
bun.lockb or bun.lock |
— | bun |
package-lock.json |
— | npm |
Use Glob to check for lockfiles in the project root. If ambiguous, ask the user.
Install commands: npm=npm install, yarn=yarn install, pnpm=pnpm install, bun=bun install