ws-spec-kit 0.1.0-beta.14 → 0.1.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -78,3 +78,13 @@ WSSpecKit, with the package name `ws-spec-kit`, is an Agent Skill-driven, config
78
78
  ## License
79
79
 
80
80
  Licensed under [Apache-2.0](LICENSE).
81
+
82
+ ## 发布 beta 版本
83
+
84
+ 更新版本号和发布说明后,提交并推送 `main`。等待该提交的全部 CI 作业成功,再创建并推送同一提交的 `v<版本号>` 标签,执行:
85
+
86
+ ```sh
87
+ npm publish --tag beta --registry=https://registry.npmjs.org
88
+ ```
89
+
90
+ `prepublishOnly` 通过已登录的 `gh` 核对当前提交的 CI,要求干净的 `main`、本地/远程版本标签和远程 `main` 一致,并重新构建发布包。失败、未完成、缺少必需作业或其他提交的 CI 不能通过门禁。不要用 `--ignore-scripts` 绕过发布检查。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ws-spec-kit",
3
- "version": "0.1.0-beta.14",
3
+ "version": "0.1.0-beta.15",
4
4
  "description": "由 Agent Skill 驱动的可定制软件交付工作流引擎",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -23,7 +23,8 @@
23
23
  "test:contract": "node --import tsx --test tests/contract/**/*.test.ts",
24
24
  "test:e2e": "node --import tsx --test tests/e2e/**/*.test.ts",
25
25
  "typecheck": "tsc -p tsconfig.json --noEmit",
26
- "schemas:generate": "tsx src/schemas/generate.ts schemas"
26
+ "schemas:generate": "tsx src/schemas/generate.ts schemas",
27
+ "prepublishOnly": "node scripts/check-publish-ci.mjs && npm run build"
27
28
  },
28
29
  "dependencies": {
29
30
  "ajv": "^8.20.0",