File tree Expand file tree Collapse file tree 5 files changed +850
-0
lines changed Expand file tree Collapse file tree 5 files changed +850
-0
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" : " restricted" ,
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
+ permissions : {}
9
+ jobs :
10
+ release :
11
+ # prevents this action from running on forks
12
+ if : github.repository == 'sveltejs/esrap'
13
+ permissions :
14
+ contents : write # to create release (changesets/action)
15
+ id-token : write # OpenID Connect token needed for provenance
16
+ pull-requests : write # to create pull request (changesets/action)
17
+ name : Release
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Checkout Repo
21
+ uses : actions/checkout@v4
22
+ with :
23
+ # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
24
+ fetch-depth : 0
25
+ - uses : pnpm/action-setup@v4
26
+ - name : Setup Node.js
27
+ uses : actions/setup-node@v4
28
+ with :
29
+ node-version : 18.x
30
+ cache : pnpm
31
+
32
+ - name : Install
33
+ run : pnpm install --frozen-lockfile
34
+
35
+ - name : Build
36
+ run : pnpm build
37
+
38
+ - name : Create Release Pull Request or Publish to npm
39
+ id : changesets
40
+ uses : changesets/action@v1
41
+ env :
42
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
+ NPM_CONFIG_PROVENANCE : true
44
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 38
38
},
39
39
"license" : " MIT" ,
40
40
"dependencies" : {
41
+ "@changesets/cli" : " ^2.27.11" ,
41
42
"@jridgewell/sourcemap-codec" : " ^1.4.15"
42
43
},
43
44
"packageManager" :
" [email protected] "
You can’t perform that action at this time.
0 commit comments