AIniverse Get the App

Dependency Upgrade One-by-One

Automation by loops! by elorm

Upgrade a single outdated package per iteration, fix breakages, and commit — safer than bulk npm update.

Prompt

Step 1 — Pick one package
Run npm outdated. Pick the highest-impact outdated package (one only). Note its current and target version.

Check: `npm outdated`

Step 2 — Upgrade and fix
Upgrade that single package. Fix type errors, API changes, and test failures caused by the bump.

Check: `npm test && npm run build`

Step 3 — Commit bump
Commit with message like chore(deps): bump <package> to <version>.

Step 4 — Repeat until done
Repeat the steps above until: No outdated production dependencies remain (or user stops)

Stop after 15 iterations and report what is blocking.
Platforms
CLAUDE

Use this prompt in AIniverse

Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.

Open in App

More Automation prompts

Security Audit Weekly

Weekly npm audit scan, triage vulnerabilities by severity, and propose or apply safe patches.

Knip Until Clean

Find and remove dead exports, unused files, and orphan dependencies — loop until knip reports clean.

Ship PR Until Green

Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.

Ralph Story Executor

Fresh-context loop: pick one incomplete story from prd.json, implement it, run backpressure checks, commit, and updat...