File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @tanstack/config ' : patch
3+ ---
4+
5+ demo changesets
Original file line number Diff line number Diff line change 22 "$schema" : " https://unpkg.com/@changesets/config@3.1.1/schema.json" ,
33 "changelog" : [" @changesets/changelog-github" , { "repo" : " TanStack/config" }],
44 "commit" : false ,
5- "fixed" : [],
6- "linked" : [],
7- "ignore" : [],
85 "access" : " public" ,
96 "baseBranch" : " main" ,
10- "updateInternalDependencies" : " patch"
7+ "updateInternalDependencies" : " patch" ,
8+ "fixed" : [],
9+ "linked" : [],
10+ "ignore" : []
1111}
Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ jobs:
3434 uses : ./.github/setup
3535 - name : Run Tests
3636 run : pnpm run test:ci
37- - name : Publish
38- run : |
39- git config --global user.name 'Tanner Linsley'
40- git config --global user.email 'tannerlinsley@users.noreply.github.com'
41- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
42- pnpm run cipublish
37+ - name : Run Changesets (version or publish)
38+ uses : changesets/action@v1.4.9
39+ with :
40+ version : pnpm run changeset:version
41+ publish : pnpm run changeset:publish
42+ commit : ' ci: Version Packages'
43+ title : ' ci: Version Packages'
4344 env :
44- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4546 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
46- TAG : ${{ inputs.tag }}
Original file line number Diff line number Diff line change 1919 "test:format" : " pnpm run prettier --check" ,
2020 "prettier" : " prettier --ignore-unknown ." ,
2121 "prettier:write" : " pnpm run prettier --write" ,
22- "cipublish" : " node ./packages/config/bin/config.js publish --cwd ." ,
23- "cipublishforce" : " CI=true pnpm cipublish"
22+ "changeset" : " changeset" ,
23+ "changeset:version" : " changeset version && pnpm install && pnpm prettier:write" ,
24+ "changeset:publish" : " changeset publish"
2425 },
2526 "devDependencies" : {
2627 "@changesets/changelog-github" : " catalog:" ,
You can’t perform that action at this time.
0 commit comments