mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-03 07:23:56 +08:00
chore: plugin manifest 版本号自动跟 package.json 同步
之前 .claude-plugin/plugin.json 和 .cursor-plugin/plugin.json 的 version 字段一直停在 1.1.8,落后于 npm 1.1.9 / 1.2.0 / 1.2.1——每次发版都要手改。 - 新增 scripts/sync-plugin-version.js:用正则替换 version 字段一行, 保留两个 manifest 的原排版(数组单行/多行、缩进等),无 diff 噪音 - 在 package.json 挂 npm version 钩子:bump 后自动同步并 git add 到 version commit 里,从此不会再漏 - 把当前两个 manifest 从 1.1.8 一次性修到 1.2.1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "superpowers-zh",
|
||||
"displayName": "Superpowers 中文版",
|
||||
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 6 中国原创),支持 Cursor / Claude Code / Hermes Agent / Claw Code 等 17 款工具",
|
||||
"version": "1.1.8",
|
||||
"version": "1.2.1",
|
||||
"author": {
|
||||
"name": "jnMetaCode",
|
||||
"url": "https://github.com/jnMetaCode"
|
||||
|
||||
Reference in New Issue
Block a user