File tree Expand file tree Collapse file tree 7 files changed +54
-11
lines changed Expand file tree Collapse file tree 7 files changed +54
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
33
"publish:win32" : " npm run build && electron-forge publish --arch=x64 --platform=win32" ,
34
34
"publish:win32-arm64" : " npm run build && electron-forge publish --arch=arm64 --platform=win32" ,
35
35
"publish" : " npm run build && electron-forge publish" ,
36
- "publish:packages" : " pnpm changeset:version && pnpm install && changeset tag && pnpm publish -r --no-git-checks --access public " ,
36
+ "publish:packages" : " bash scripts/release-pkgs.sh " ,
37
37
"prepare" : " husky"
38
38
},
39
39
"dependencies" : {
Original file line number Diff line number Diff line change
1
+ # @ui-tars/action-parser
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - dcabd45: feat: initial publish ui-tars action-parser and shared pkgs
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [ dcabd45]
12
+ - @ui-tars/shared @1.0.0
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ui-tars/action-parser" ,
3
- "version" : " 0 .0.1 " ,
3
+ "version" : " 1 .0.0 " ,
4
4
"description" : " Action parser SDK for UI-TARS" ,
5
5
"keywords" : [
6
6
" AI" ,
13
13
"types" : " ./dist/index.d.ts" ,
14
14
"scripts" : {
15
15
"dev" : " tsup --watch" ,
16
- "prepublishOnly" : " npm run build" ,
17
16
"prepare" : " npm run build" ,
18
17
"build" : " tsup" ,
19
18
"test" : " vitest" ,
Original file line number Diff line number Diff line change
1
+ # @ui-tars/shared
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - dcabd45: feat: initial publish ui-tars action-parser and shared pkgs
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ui-tars/shared" ,
3
- "version" : " 0 .0.1 " ,
3
+ "version" : " 1 .0.0 " ,
4
4
"description" : " Shared types for UI-TARS" ,
5
5
"exports" : {
6
6
"./types" : {
25
25
}
26
26
},
27
27
"scripts" : {
28
- "prepublishOnly" : " npm run build" ,
29
28
"prepare" : " npm run build" ,
30
29
"dev" : " tsup --watch" ,
31
30
"build" : " tsup" ,
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ echo " === start release ==="
6
+
7
+ echo " 1. update version and generate CHANGELOG..."
8
+ pnpm changeset version
9
+
10
+ echo " 2. update dependencies..."
11
+ pnpm install
12
+
13
+ echo " 3. commit version update..."
14
+ git add .
15
+ git commit -m " release: publish packages"
16
+
17
+ echo " 4. create release tag..."
18
+ pnpm changeset tag
19
+
20
+ echo " 5. publish to npm..."
21
+ pnpm publish -r --no-git-checks --access public
22
+
23
+ echo " 6. prepare to push to remote git repository..."
24
+ read -p " confirm push to remote git repository? (y/N) " confirm
25
+ if [[ $confirm == [yY] ]]; then
26
+ echo " pushing code and tag to remote git repository..."
27
+ git push --follow-tags
28
+ echo " === release completed ==="
29
+ else
30
+ echo " cancel pushing to remote git repository"
31
+ echo " === release completed (not pushed to remote) ==="
32
+ fi
You can’t perform that action at this time.
0 commit comments