Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c0d007

Browse files
committed
chore: 🤖 prepare for v1.0.2
1 parent 968031c commit 9c0d007

File tree

8 files changed

+79
-17
lines changed

8 files changed

+79
-17
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,15 @@ jobs:
5959
registry-url: https://registry.npmjs.org/
6060
- name: Publish to npm
6161
run: |
62-
npx changeset publish
62+
# 遍历 packages 目录下的每个子目录
63+
for dir in packages/*; do
64+
# 确保该项是一个目录
65+
if [ -d "$dir" ]; then
66+
echo "Publishing package in $dir"
67+
# 切换到该目录并执行 npm publish
68+
(cd "$dir" && npm publish)
69+
fi
70+
done
6371
env:
6472
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
6573

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typeto",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"private": "true",
55
"description": "Thus Spoke TypeScript",
66
"keywords": [],
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## v1.0.2
2+
3+
[compare changes](https://github.com/charlzyx/typeto/compare/v1.0.0-alpha.0...v1.0.2)
4+
5+
### 🩹 Fixes
6+
7+
- 🐛 (scripts) 修复打包脚本 ([7a797c3](https://github.com/charlzyx/typeto/commit/7a797c3))
8+
9+
### 📖 Documentation
10+
11+
- Update README. ([bd64a2e](https://github.com/charlzyx/typeto/commit/bd64a2e))
12+
13+
### 🤖 CI
14+
15+
- Changet set version by local. ([6a9eda4](https://github.com/charlzyx/typeto/commit/6a9eda4))
16+
- 🎡 添加发布脚本; 使用 changelogen 代替 changeset ([3276da0](https://github.com/charlzyx/typeto/commit/3276da0))
17+
18+
### ❤️ Contributors
19+
20+
- Charlzyx <[email protected]>

packages/formily-schema/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": [],
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/charlzyx/typeto"
8+
"url": "git+https://github.com/charlzyx/typeto.git"
99
},
1010
"license": "ISC",
1111
"author": "[email protected]",
@@ -17,10 +17,8 @@
1717
],
1818
"scripts": {
1919
"build": "rollup -c",
20-
"changelog": "npm run logen",
21-
"logen": "changelogen",
22-
"clean": "rm -rf dist",
23-
"dev": "rollup -c -w"
20+
"changelog": "npm run turbo:logen",
21+
"turbo:logen": "changelogen"
2422
},
2523
"dependencies": {
2624
"@typeto/shared": "workspace:*"

packages/oas/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## v1.0.2
2+
3+
[compare changes](https://github.com/charlzyx/typeto/compare/v1.0.0-alpha.0...v1.0.2)
4+
5+
### 🩹 Fixes
6+
7+
- 🐛 (scripts) 修复打包脚本 ([7a797c3](https://github.com/charlzyx/typeto/commit/7a797c3))
8+
9+
### 📖 Documentation
10+
11+
- Update README. ([bd64a2e](https://github.com/charlzyx/typeto/commit/bd64a2e))
12+
13+
### 🤖 CI
14+
15+
- Changet set version by local. ([6a9eda4](https://github.com/charlzyx/typeto/commit/6a9eda4))
16+
- 🎡 添加发布脚本; 使用 changelogen 代替 changeset ([3276da0](https://github.com/charlzyx/typeto/commit/3276da0))
17+
18+
### ❤️ Contributors
19+
20+
- Charlzyx <[email protected]>

packages/oas/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": [],
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/charlzyx/typeto"
8+
"url": "git+https://github.com/charlzyx/typeto.git"
99
},
1010
"license": "ISC",
1111
"author": "[email protected]",
@@ -17,10 +17,8 @@
1717
],
1818
"scripts": {
1919
"build": "rollup -c",
20-
"changelog": "npm run logen",
21-
"logen": "changelogen",
22-
"clean": "rm -rf dist",
23-
"dev": "rollup -c -w"
20+
"changelog": "npm run turbo:logen",
21+
"turbo:logen": "changelogen"
2422
},
2523
"dependencies": {
2624
"@typeto/shared": "workspace:*"

packages/shared/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## v1.0.2
2+
3+
[compare changes](https://github.com/charlzyx/typeto/compare/v1.0.0-alpha.0...v1.0.2)
4+
5+
### 🩹 Fixes
6+
7+
- 🐛 (scripts) 修复打包脚本 ([7a797c3](https://github.com/charlzyx/typeto/commit/7a797c3))
8+
9+
### 📖 Documentation
10+
11+
- Update README. ([bd64a2e](https://github.com/charlzyx/typeto/commit/bd64a2e))
12+
13+
### 🤖 CI
14+
15+
- Changet set version by local. ([6a9eda4](https://github.com/charlzyx/typeto/commit/6a9eda4))
16+
- 🎡 添加发布脚本; 使用 changelogen 代替 changeset ([3276da0](https://github.com/charlzyx/typeto/commit/3276da0))
17+
18+
### ❤️ Contributors
19+
20+
- Charlzyx <[email protected]>

packages/shared/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": [],
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/charlzyx/typeto"
8+
"url": "git+https://github.com/charlzyx/typeto.git"
99
},
1010
"license": "ISC",
1111
"author": "[email protected]",
@@ -17,10 +17,8 @@
1717
],
1818
"scripts": {
1919
"build": "rollup -c",
20-
"changelog": "npm run logen",
21-
"logen": "changelogen",
22-
"clean": "rm -rf dist",
23-
"dev": "rollup -c -w"
20+
"changelog": "npm run turbo:logen",
21+
"turbo:logen": "changelogen"
2422
},
2523
"dependencies": {
2624
"ts-morph": "^24.0.0",

0 commit comments

Comments
 (0)