Skip to content

Commit

Permalink
ci: changeset bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlzyx committed Dec 10, 2024
1 parent ae98127 commit 460cc51
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
7 changes: 7 additions & 0 deletions .changeset/strong-oranges-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@typeto/formily-schema": patch
"@typeto/oas": patch
"@typeto/shared": patch
---

TypeScript 如是说 / Thus Spoke TypeScript
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ jobs:
version="${tag_name#v}"
# 检查版本是否为 beta
if [[ "$tag_name" == *"-beta"* ]]; then
if [[ "$tag_name" == *"-alpha"* ]]; then
prerelease=true
tag="alpha"
else if [[ "$tag_name" == *"-beta"* ]]; then
prerelease=true
tag="beta"
else if [[ "$tag_name" == *"-rc"* ]]; then
prerelease=true
tag="rc"
else
prerelease=false
tag="latest"
Expand Down
Binary file modified bun.lockb
Binary file not shown.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@
"packageManager": "[email protected]",
"scripts": {
"build": "npm run clean && turbo run build",
"clean": "rm -rf packages/**/dist"
"clean": "rm -rf packages/**/dist",
"pub:alpha": "npx changeset pre enter alpha",
"pub:beta": "npx changeset pre enter beta",
"pub:rc": "npx changeset pre enter rc",
"pub": "npx changeset"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"dependencies": {
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/bun": "^1.1.14",
"ts-morph": "^24.0.0",
"typescript": "^5.7.2"
Expand Down
5 changes: 4 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"clean": "rm -rf dist",
"dev": "rollup -c -w"
},
"dependencies": {},
"dependencies": {
"ts-morph": "^24.0.0",
"typescript": "^5.7.2"
},
"publishConfig": {
"access": "public"
}
Expand Down

0 comments on commit 460cc51

Please sign in to comment.