File tree Expand file tree Collapse file tree 5 files changed +850
-24
lines changed Expand file tree Collapse file tree 5 files changed +850
-24
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
+ "linked" : [],
6
+ "access" : " restricted" ,
7
+ "baseBranch" : " master" ,
8
+ "updateInternalDependencies" : " patch" ,
9
+ "ignore" : []
10
+ }
Original file line number Diff line number Diff line change 11
11
- main
12
12
13
13
jobs :
14
- test :
14
+ test-and-release :
15
15
runs-on : ubuntu-latest
16
16
17
17
steps :
26
26
27
27
- name : Run Tests
28
28
run : yarn test
29
+
30
+ - name : Create Release Pull Request or Publish to npm
31
+ # Prevents changesets action from creating a PR on forks
32
+ if : github.repository == 'open-wc/custom-elements-manifest'
33
+ id : changesets
34
+ uses : changesets/action@master
35
+ with :
36
+ publish : yarn release
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
40
+ NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
41
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 12
12
},
13
13
"scripts" : {
14
14
"docs" : " rocket build" ,
15
+ "release" : " changeset publish" ,
15
16
"start" : " rocket start" ,
16
17
"test" : " yarn workspaces run test"
17
18
},
18
19
"dependencies" : {},
19
20
"devDependencies" : {
21
+ "@changesets/cli" : " ^2.16.0" ,
20
22
"@rocket/blog" : " ^0.3.0" ,
21
23
"@rocket/cli" : " ^0.9.6" ,
22
24
"@rocket/launch" : " ^0.5.3" ,
You can’t perform that action at this time.
0 commit comments