一键导入
release
Releases a new patch version of vite-plugin-rollbar-sourcemap to npm. Bumps version in package.json, commits, tags, pushes the tag, and publishes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Releases a new patch version of vite-plugin-rollbar-sourcemap to npm. Bumps version in package.json, commits, tags, pushes the tag, and publishes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | release |
| description | Releases a new patch version of vite-plugin-rollbar-sourcemap to npm. Bumps version in package.json, commits, tags, pushes the tag, and publishes. |
| argument-hint | Optionally specify version bump type: patch (default), minor, or major. |
Before starting, verify:
git status
main branch and up to date
git pull origin main
pnpm build && pnpm test && pnpm lint
If any check fails, stop and resolve before proceeding.
Read the current version field in package.json, compute the next version
(default: patch increment), and update the file.
Example: 0.0.11 → 0.0.12
Important: Do NOT run npm version — edit package.json directly to
avoid auto-creating a git tag before the build is verified.
pnpm build
Confirm dist/ is updated before continuing.
Use the commit-message skill to craft the message, or follow this template:
chore(release): v<NEW_VERSION>
Stage only package.json:
git add package.json
git commit -m "chore(release): v<NEW_VERSION>"
git tag v<NEW_VERSION>
git push origin tags/v<NEW_VERSION>
Do not push the branch separately unless the user asks — pushing the tag is sufficient to trigger any CI release workflow.
pnpm publish ./
Confirm the package is live:
npm view vite-plugin-rollbar-sourcemap version
Report the published version to the user.
| Type | Example | When to use |
|---|---|---|
| patch | 0.0.11 → 0.0.12 | Bug fixes, dependency updates |
| minor | 0.0.11 → 0.1.0 | New backwards-compatible features |
| major | 0.0.11 → 1.0.0 | Breaking changes |