File tree 7 files changed +1687
-63
lines changed
7 files changed +1687
-63
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 @@ -482,20 +482,12 @@ jobs:
482
482
- name : List packages
483
483
run : ls -R ./npm
484
484
shell : bash
485
- - name : Publish
486
- run : |
487
- npm config set provenance true
488
- if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
489
- then
490
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
491
- npm publish --access public
492
- elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
493
- then
494
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
495
- npm publish --tag next --access public
496
- else
497
- echo "Not a release, skipping publish"
498
- fi
485
+ - name : Create Release Pull Request or Publish to npm
486
+ id : changesets
487
+ uses : changesets/action@v1
488
+ with :
489
+ version : pnpm run bump
490
+ publish : npm run release
499
491
env :
500
492
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
501
493
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 42
42
"test" : " ava" ,
43
43
"universal" : " napi universal" ,
44
44
"version" : " napi version"
45
+ },
46
+ "dependencies" : {
47
+ "@changesets/cli" : " ^2.27.1"
45
48
}
46
49
}
You can’t perform that action at this time.
0 commit comments