chore: 统一版本管理并添加自动发布工作流

- 将子项目版本号重置为 0.0.0,移除 private 标志
- 在根目录添加主 package.json 用于统一版本控制
- 更新 cwd-api 的包引用路径以使用根目录 package.json
- 添加 GitHub Actions 工作流,当根版本号变更时自动创建发布
This commit is contained in:
anghunk
2026-01-27 16:22:54 +08:00
parent b599965cb3
commit b559d0da4c
6 changed files with 75 additions and 7 deletions

16
package.json Normal file
View File

@@ -0,0 +1,16 @@
{
"name": "cwd",
"version": "0.0.1",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/anghunk/cwd"
},
"homepage": "https://cwd.js.org",
"author": {
"name": "anghunk<anghunk@gmail.com>"
},
"bugs": {
"url": "https://github.com/anghunk/cwd/issues"
}
}