| name | ujl-deps-update |
| description | Updates UJL workspace dependencies to latest versions in one run by starting with pnpm outdated -r, applying pnpm up -r --latest, and running verification checks with a report in .support/deps. Also checks for pnpm version updates. |
UJL Dependency Update
Purpose
Update dependencies across the pnpm workspace with a pragmatic, reproducible flow:
- Check pnpm version (
npm view pnpm version vs packageManager in package.json)
- Inspect outdated dependencies (
pnpm outdated -r)
- Update to latest (
pnpm up -r --latest)
- Verify project health (
check, optional lint and test:unit)
- Save a compact run report to
.support/deps
One-Call Usage
From repo root:
node .agents/skills/ujl-deps-update/scripts/update_deps.mjs
Common Options
node .agents/skills/ujl-deps-update/scripts/update_deps.mjs --report-only
node .agents/skills/ujl-deps-update/scripts/update_deps.mjs --scope prod
node .agents/skills/ujl-deps-update/scripts/update_deps.mjs --verify quick
node .agents/skills/ujl-deps-update/scripts/update_deps.mjs --verify none
node .agents/skills/ujl-deps-update/scripts/update_deps.mjs --filter @ujl-framework/crafter
Defaults
- Scope:
all
- Verification:
full (pnpm run lint, pnpm run check, pnpm run test:unit)
- Report path:
.support/deps/<timestamp>-deps-update.md
Report Output
The report includes:
- pnpm Version: Current vs latest pnpm version with update instructions
- Outdated Summary: Total, major, minor, patch updates
- Steps: Commands executed and their status
- Git Status: Changed files after update
Notes
- This workflow intentionally uses non-interactive commands for repeatable agent runs.
- Network access may require elevated permissions in restricted environments.
- If verification fails, keep dependency updates and report findings instead of reverting automatically.
- pnpm version check requires network access to query npm registry.