File tree Expand file tree Collapse file tree 8 files changed +79
-17
lines changed Expand file tree Collapse file tree 8 files changed +79
-17
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11{
22 "name" : " typeto" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "private" : " true" ,
55 "description" : " Thus Spoke TypeScript" ,
66 "keywords" : [],
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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" ,
11111717 ],
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:*"
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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" ,
11111717 ],
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:*"
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 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" ,
11111717 ],
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" ,
You can’t perform that action at this time.
0 commit comments