File tree Expand file tree Collapse file tree 5 files changed +597
-1
lines changed Expand file tree Collapse file tree 5 files changed +597
-1
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/config@3.0.4/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" : []
11
+ }
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ jobs :
11
+ release :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - name : Use Node.js 20
16
+ uses : actions/setup-node@v4
17
+ with :
18
+ node-version : 20.x
19
+ - name : Install dependencies
20
+ run : pnpm install
21
+ - name : Create release pull request or publish to npm
22
+ id : changesets
23
+ uses : changesets/action@v1
24
+ with :
25
+ publish : pnpm release
26
+ title : ' chore: release'
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 43
43
"lint" : " eslint ." ,
44
44
"lint:fix" : " eslint . --fix" ,
45
45
"format" : " prettier . --check" ,
46
- "format:fix" : " prettier . --write"
46
+ "format:fix" : " prettier . --write" ,
47
+ "changeset" : " changeset" ,
48
+ "release" : " pnpm build && changeset publish"
47
49
},
48
50
"dependencies" : {
49
51
"esm-env" : " ^1.1.4"
50
52
},
51
53
"devDependencies" : {
54
+ "@changesets/cli" : " ^2.27.10" ,
52
55
"@eslint/js" : " ^9.15.0" ,
53
56
"@sveltejs/package" : " ^2.3.7" ,
54
57
"@types/node" : " ^22.10.1" ,
You can’t perform that action at this time.
0 commit comments