Files
superpowers-zh/package.json
AI不止语 bb9dc4950e 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
2026-05-05 19:32:20 +08:00

69 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "superpowers-zh",
"version": "1.2.1",
"engines": {
"node": ">=20.0.0"
},
"description": "AI 编程超能力中文增强版 — superpowers99k+ ⭐)完整汉化 + 6 个中国原创 skills支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI 等 17 款工具",
"type": "module",
"main": ".opencode/plugins/superpowers.js",
"bin": {
"superpowers-zh": "bin/superpowers-zh.js"
},
"scripts": {
"version": "node scripts/sync-plugin-version.js && git add .claude-plugin/plugin.json .cursor-plugin/plugin.json"
},
"files": [
"bin/",
"skills/",
"agents/",
"commands/",
"hooks/",
".claude-plugin/",
".cursor-plugin/",
".codex/INSTALL.md",
".opencode/INSTALL.md",
".opencode/plugins/",
"GEMINI.md",
"gemini-extension.json",
"docs/",
"README.md",
"LICENSE"
],
"keywords": [
"superpowers",
"claude-code",
"cursor",
"codex",
"gemini",
"kiro",
"deerflow",
"trae",
"antigravity",
"openclaw",
"windsurf",
"aider",
"opencode",
"qwen",
"vscode",
"copilot",
"hermes",
"hermes-agent",
"claw-code",
"ai-coding",
"skills",
"chinese",
"中文",
"tdd",
"debugging",
"code-review"
],
"repository": {
"type": "git",
"url": "https://github.com/jnMetaCode/superpowers-zh.git"
},
"homepage": "https://github.com/jnMetaCode/superpowers-zh",
"author": "jnMetaCode",
"license": "MIT"
}