Skip to content

Commit

Permalink
chore: 🤖 prepare for v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
charlzyx committed Dec 12, 2024
1 parent 968031c commit 9c0d007
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 17 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,15 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Publish to npm
run: |
npx changeset publish
# 遍历 packages 目录下的每个子目录
for dir in packages/*; do
# 确保该项是一个目录
if [ -d "$dir" ]; then
echo "Publishing package in $dir"
# 切换到该目录并执行 npm publish
(cd "$dir" && npm publish)
fi
done
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typeto",
"version": "1.0.1",
"version": "1.0.2",
"private": "true",
"description": "Thus Spoke TypeScript",
"keywords": [],
Expand Down
20 changes: 20 additions & 0 deletions packages/formily-schema/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## v1.0.2

[compare changes](https://github.com/charlzyx/typeto/compare/v1.0.0-alpha.0...v1.0.2)

### 🩹 Fixes

- 🐛 (scripts) 修复打包脚本 ([7a797c3](https://github.com/charlzyx/typeto/commit/7a797c3))

### 📖 Documentation

- Update README. ([bd64a2e](https://github.com/charlzyx/typeto/commit/bd64a2e))

### 🤖 CI

- Changet set version by local. ([6a9eda4](https://github.com/charlzyx/typeto/commit/6a9eda4))
- 🎡 添加发布脚本; 使用 changelogen 代替 changeset ([3276da0](https://github.com/charlzyx/typeto/commit/3276da0))

### ❤️ Contributors

- Charlzyx <[email protected]>
8 changes: 3 additions & 5 deletions packages/formily-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": [],
"repository": {
"type": "git",
"url": "https://github.com/charlzyx/typeto"
"url": "git+https://github.com/charlzyx/typeto.git"
},
"license": "ISC",
"author": "[email protected]",
Expand All @@ -17,10 +17,8 @@
],
"scripts": {
"build": "rollup -c",
"changelog": "npm run logen",
"logen": "changelogen",
"clean": "rm -rf dist",
"dev": "rollup -c -w"
"changelog": "npm run turbo:logen",
"turbo:logen": "changelogen"
},
"dependencies": {
"@typeto/shared": "workspace:*"
Expand Down
20 changes: 20 additions & 0 deletions packages/oas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## v1.0.2

[compare changes](https://github.com/charlzyx/typeto/compare/v1.0.0-alpha.0...v1.0.2)

### 🩹 Fixes

- 🐛 (scripts) 修复打包脚本 ([7a797c3](https://github.com/charlzyx/typeto/commit/7a797c3))

### 📖 Documentation

- Update README. ([bd64a2e](https://github.com/charlzyx/typeto/commit/bd64a2e))

### 🤖 CI

- Changet set version by local. ([6a9eda4](https://github.com/charlzyx/typeto/commit/6a9eda4))
- 🎡 添加发布脚本; 使用 changelogen 代替 changeset ([3276da0](https://github.com/charlzyx/typeto/commit/3276da0))

### ❤️ Contributors

- Charlzyx <[email protected]>
8 changes: 3 additions & 5 deletions packages/oas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": [],
"repository": {
"type": "git",
"url": "https://github.com/charlzyx/typeto"
"url": "git+https://github.com/charlzyx/typeto.git"
},
"license": "ISC",
"author": "[email protected]",
Expand All @@ -17,10 +17,8 @@
],
"scripts": {
"build": "rollup -c",
"changelog": "npm run logen",
"logen": "changelogen",
"clean": "rm -rf dist",
"dev": "rollup -c -w"
"changelog": "npm run turbo:logen",
"turbo:logen": "changelogen"
},
"dependencies": {
"@typeto/shared": "workspace:*"
Expand Down
20 changes: 20 additions & 0 deletions packages/shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## v1.0.2

[compare changes](https://github.com/charlzyx/typeto/compare/v1.0.0-alpha.0...v1.0.2)

### 🩹 Fixes

- 🐛 (scripts) 修复打包脚本 ([7a797c3](https://github.com/charlzyx/typeto/commit/7a797c3))

### 📖 Documentation

- Update README. ([bd64a2e](https://github.com/charlzyx/typeto/commit/bd64a2e))

### 🤖 CI

- Changet set version by local. ([6a9eda4](https://github.com/charlzyx/typeto/commit/6a9eda4))
- 🎡 添加发布脚本; 使用 changelogen 代替 changeset ([3276da0](https://github.com/charlzyx/typeto/commit/3276da0))

### ❤️ Contributors

- Charlzyx <[email protected]>
8 changes: 3 additions & 5 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": [],
"repository": {
"type": "git",
"url": "https://github.com/charlzyx/typeto"
"url": "git+https://github.com/charlzyx/typeto.git"
},
"license": "ISC",
"author": "[email protected]",
Expand All @@ -17,10 +17,8 @@
],
"scripts": {
"build": "rollup -c",
"changelog": "npm run logen",
"logen": "changelogen",
"clean": "rm -rf dist",
"dev": "rollup -c -w"
"changelog": "npm run turbo:logen",
"turbo:logen": "changelogen"
},
"dependencies": {
"ts-morph": "^24.0.0",
Expand Down

0 comments on commit 9c0d007

Please sign in to comment.