with one click
release-canary
發佈 @asgard-js/core 和 @asgard-js/react 的 canary 版本到 npm
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
發佈 @asgard-js/core 和 @asgard-js/react 的 canary 版本到 npm
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Per-issue SDD cycle: resolve a PM issue to its TASK spec, plan a BUILD/REVIEW pair, build per FRONTEND_RULE_COMMON, review via the review skill.
Per-BUILD-task reviewer: runs §1 static + §3 functional against REVIEW_RULE, writes the paired REVIEW-NNN.md.
Use when medium-to-large work needs requirements, design, task planning, readiness checks, and implementation governance before coding. Language-neutral.
| name | release-canary |
| description | 發佈 @asgard-js/core 和 @asgard-js/react 的 canary 版本到 npm |
npm whoami
如果未登入,提示使用者執行 ! npm login。
讀取 packages/core/package.json 的當前版本(例如 0.2.33)。
查詢 npm 上已存在的 canary 版本:
npm view @asgard-js/core versions --json 2>/dev/null | grep canary
根據規則決定版號:
0.2.33 → 0.2.34){基礎版號}-canary.1canary.3 → 使用 canary.4)X.Y.Z-canary.N告知使用者即將發佈的版號,確認後才繼續。
同時更新兩個 package.json 的 version 欄位:
packages/core/package.jsonpackages/react/package.jsonnpm run build:core && npm run build:react
build 失敗則停止,不要發佈。
依序發佈,使用 --tag canary:
cd packages/core && npm publish --tag canary
cd packages/react && npm publish --tag canary
發佈完成後,將兩個 package.json 的 version 還原回原本的版號。 canary 版號只存在於 npm,不留在 git 歷史中。
npm view @asgard-js/core@canary version
npm view @asgard-js/react@canary version
列出:
npm install @asgard-js/core@canary @asgard-js/react@canary