File tree Expand file tree Collapse file tree 6 files changed +846
-7
lines changed
Expand file tree Collapse file tree 6 files changed +846
-7
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.1.2/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+ ---
2+ " dep-tracer " : patch
3+ ---
4+
5+ resolve dep even missing in dependencies for initial lookup
Original file line number Diff line number Diff line change 11name : Publish
22
3- on :
4- workflow_dispatch :
3+ permissions :
4+ contents : write
55
66jobs :
77 publish :
1717 registry-url : ' https://registry.npmjs.org'
1818 cache : ' pnpm'
1919 - run : pnpm install
20- - run : pnpm run build
21- - run : pnpm publish --no-git-checks
20+
21+ - name : Git config
22+ run : |
23+ git config --global user.name "github-actions[bot]"
24+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
25+
26+ - name : Version
27+ run : pnpm exec changeset version
28+
29+ - name : Build
30+ run : pnpm run build
31+
32+ - name : Publish
33+ run : pnpm exec changeset publish
2234 env :
2335 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
36+
37+ - name : Push changes
38+ run : |
39+ git push origin main --follow-tags
Original file line number Diff line number Diff line change 1313 "scripts" : {
1414 "build" : " tsc" ,
1515 "prepublishOnly" : " npm run build" ,
16- "test" : " rstest"
16+ "test" : " rstest" ,
17+ "changeset" : " changeset" ,
18+ "version" : " changeset version" ,
19+ "release" : " npm run build && changeset publish"
1720 },
1821 "keywords" : [],
1922 "author" : " jserfeng" ,
2225 "enhanced-resolve" : " ^5.12.0"
2326 },
2427 "devDependencies" : {
25- "@types/node" : " ^18.13.0" ,
26- "@rstest/core" : " latest"
28+ "@changesets/cli" : " ^2.29.8" ,
29+ "@rstest/core" : " latest" ,
30+ "@types/node" : " ^18.13.0"
2731 }
2832}
You can’t perform that action at this time.
0 commit comments