File tree Expand file tree Collapse file tree 5 files changed +74
-3
lines changed Expand file tree Collapse file tree 5 files changed +74
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by ` @changesets/cli ` , a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [ in our repository] ( https://github.com/changesets/changesets )
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [ our documentation] ( https://github.com/changesets/changesets/blob/main/docs/common-questions.md )
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" :
" https://unpkg.com/@changesets/[email protected] /schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : false ,
5
+ "fixed" : [],
6
+ "linked" : [],
7
+ "access" : " public" ,
8
+ "baseBranch" : " main" ,
9
+ "updateInternalDependencies" : " patch" ,
10
+ "ignore" : [" web" ]
11
+ }
Original file line number Diff line number Diff line change
1
+ ---
2
+ " @ncdai/react-wheel-picker " : patch
3
+ ---
4
+
5
+ test changesets
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ release :
10
+ name : Release
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout repo
14
+ uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - name : Setup pnpm
19
+ uses : pnpm/action-setup@v4
20
+ with :
21
+ version : 10
22
+ run_install : false
23
+
24
+ - name : Setup Node.js 20.16.0
25
+ uses : actions/setup-node@v4
26
+ with :
27
+ node-version : 20.16.0
28
+ cache : " pnpm"
29
+
30
+ - name : Install dependencies
31
+ run : pnpm install
32
+
33
+ - name : Build package
34
+ run : pnpm build:react-wheel-picker
35
+
36
+ - name : Create pelease pull request or publish to npm
37
+ id : changesets
38
+ uses : changesets/action@v1
39
+ with :
40
+ publish : changeset publish
41
+ commit : " chore: version packages"
42
+ title : " chore: version packages"
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 5
5
"packageManager" :
" [email protected] " ,
6
6
"scripts" : {
7
7
"dev" : " turbo run dev" ,
8
- "dev:web" : " turbo dev --filter=web..." ,
8
+ "dev:web" : " turbo run dev --filter=web..." ,
9
9
"build" : " turbo run build" ,
10
- "build:web" : " turbo build --filter=web..." ,
10
+ "build:web" : " turbo run build --filter=web..." ,
11
+ "build:react-wheel-picker" : " turbo run build --filter=react-wheel-picker..." ,
11
12
"lint" : " turbo run lint" ,
12
13
"lint:fix" : " turbo run lint:fix" ,
13
14
"check-types" : " turbo run check-types" ,
14
15
"format:check" : " turbo run format:check" ,
15
16
"format:write" : " turbo run format:write" ,
16
- "publish:release" : " cd packages/react-wheel-picker && pnpm publish:release"
17
+ "publish:release" : " cd packages/react-wheel-picker && pnpm publish:release" ,
18
+ "release" : " pnpm build:react-wheel-picker && changeset publish"
17
19
},
18
20
"keywords" : [
19
21
" react" ,
You can’t perform that action at this time.
0 commit comments