feat: 配置 changesets 版本管理和自动发布 (#336)

- 安装 @changesets/cli 和 @changesets/changelog-github
- 配置 .changeset/config.json
- 添加 npm scripts
- 创建 release-changesets.yml GitHub Action
This commit is contained in:
YHH
2025-12-25 23:07:44 +08:00
committed by GitHub
parent 5544fca002
commit 54038e3250
5 changed files with 542 additions and 3 deletions

View File

@@ -17,6 +17,9 @@
"egret"
],
"scripts": {
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "pnpm build && changeset publish",
"bootstrap": "lerna bootstrap",
"clean": "turbo run clean",
"build": "turbo run build",
@@ -64,6 +67,8 @@
"author": "yhh",
"license": "MIT",
"devDependencies": {
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@eslint/js": "^9.39.1",
@@ -121,4 +126,3 @@
"ws": "^8.18.2"
}
}