release-npm-trustme
npm-trustme的发布自动化。当被要求裁剪新的npm-trustme版本、运行发布脚本或标记/发布新版本时使用。
📖 中文导读:npm-trustme的发布自动化。当被要求裁剪新的npm-trustme版本、运行发布脚本或标记/发布新版本时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: release-npm-trustme description: Release automation for npm-trustme. Use when asked to cut a new npm-trustme version, run the release script, or tag/publish a new release.
release-npm-trustme
Overview
Run scripts/release.ts to bump the version, build, tag, and push a release for npm-trustme.
Workflow
- Open the repo:
cd ~/projects/npm-trustme - Ensure the working tree is clean (the script will refuse to run otherwise).
- Pick the version bump:
patch|minor|majoror a specific semver. - Run:
pnpm tsx scripts/release.ts <bump> - The script builds, commits, tags, pushes, and (if
ghis installed) creates/updates a GitHub Release.
Examples
pnpm tsx scripts/release.ts patch
pnpm tsx scripts/release.ts minor
pnpm tsx scripts/release.ts 0.2.0
Notes
- The script pushes to the current branch and tags; confirm the branch before running.
- Release notes use
CHANGELOG.mdif present. SetGH_NOTES_REFto override the changelog section.