pnpm-upgrade-package
БесплатноЗапускает вложенные скриптыНе проверенUpgrade Langfuse workspace dependencies or pnpm itself. Use for release-age and trust checks, dependency ranges, scoped overrides, and package manager pins.
от langfuse★ 38 069 звёзд на GitHubОб этом скилле
Upgrade a pnpm package
Ask for the package or target when missing. An explicit request for latest
selects the registry's latest dist-tag. From the repo root, run the helper
once to inspect the target, workspace references, overrides, patches, release
times, and highest stable version that clears the age policy.
node .agents/skills/pnpm-upgrade-package/scripts/check-release-age-window.mjs <package> [targetVersion]
Choose the update
- For a human choosing upgrades in a terminal, use
pnpm update --interactive --latest --long. The Trust column reflectstrustPolicy: no-downgrade; the URL column links the package's homepage or repository. For an already selected target, use the explicit version. - For transitive updates or overrides, start with
pnpm why -r --ranges <package>to see each direct parent's declared range. Usepnpm why -r <package>to trace the full dependency tree when needed. - When the parent already allows the target, refresh the lockfile. Otherwise
check
pnpm view <parent>@latest dependencies peerDependencies optionalDependencies --json. Prefer upgrading the parent when its range admits a fixed version. If the latest parent still pins an affected range, use a parent-scoped override only for a fix within the parent's declared major. Explain the upstream constraint. Ask before taking on a major migration. - Limit an override to its intended dependency group when appropriate, e.g.
"@prisma/client>prisma:peer": "-". For catalog dependencies, keepcatalog:in the package manifests and inspect the catalog entry's diff. - If a temporary override is needed to resolve an already-compatible version, remove it and reinstall. Retain it only if the requested version drifts.
Apply and verify a dependency update
- Run
pnpm install --dry-run --ignore-scriptsto see baseline resolver drift. The helper checks publish times. pnpm verifies the trust policy and the full dependency graph. - To replay a past release-age or trust decision, set
PNPM_CONFIG_REFERENCE_TIMEto the original RFC 3339 timestamp for the helper and the pnpm command in that shell. It anchors bothminimumReleaseAgeandtrustPolicyIgnoreAfter. Use the current clock for ordinary updates. - For an audit fix, run
pnpm audit --fix --no-add-release-age-exclusions. Ask before adding exceptions unless the task already authorizes them. Include the exact target, required exact companions, and any exact peers installed in the workspace when they need an exception. - Use
pnpm -w up <package>@<version>,pnpm --filter <project> up <package>@<version>, orpnpm -r up <package>@<version>according to the intended scope.--latestcan update the override governing a selected dependency. Review the override diff and any warning naming an override pnpm could not update. On a full resolution, investigate unused-override warnings. - Let pnpm generate the lockfile and
autoDedupehandle compatible versions. Check the diff for unrelated churn and adjust the command if needed. Runpnpm why -r <package>to verify the versions actually installed.
Upgrade pnpm itself
Run PNPM_CONFIG_PM_ON_FAIL=warn pnpm outdated pnpm for the project pin.
The workspace's pmOnFail: ignore omits pnpm from the ordinary report.
An outdated package gives exit code 1 and a version table. Resolve the target
with the helper and run pnpm self-update <version> at the workspace root.
Current pnpm under Corepack updates the project's engines.pnpm and
devEngines.packageManager.version and leaves the global launcher alone.
Verify both root pins. If an older runner rejects self-update, edit both exact
pins in package.json using the existing format.
Update the explicit pnpm@<version> pins in web/Dockerfile,
worker/Dockerfile, .devcontainer/Dockerfile, and .cursor/Dockerfile.
Check pnpm --version and run pnpm install --frozen-lockfile with the new
toolchain. Investigate frozen-install errors before regenerating any lockfile.
Handoff
Report the target, applicable exceptions or retained overrides, and verification. Include a human commit command with the resolved package and version. Use a branch-safe slug for scoped packages and the exact name in the commit message.
git switch -c deps/bump-<package-slug>-to-<version> && git commit -m "chore(deps): bump <package> to <version>" --no-verify
Установить pnpm-upgrade-package в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pnpm-upgrade-package?
Upgrade Langfuse workspace dependencies or pnpm itself. Use for release-age and trust checks, dependency ranges, scoped overrides, and package manager pins.
Как установить скилл pnpm-upgrade-package?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pnpm-upgrade-package запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic