File tree Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " mobx-tanstack-query " : patch
3+ ---
4+
5+ ci/cd: github workflows
Original file line number Diff line number Diff line change 1- name : Deploy typedoc to Pages
1+ name : Deploy docs to Pages
22
33on :
44 push :
Original file line number Diff line number Diff line change 3535 uses : changesets/action@v1
3636 with :
3737 version : pnpm changeset version
38- publish : pnpm pub
38+ publish : pnpm pub-ci
3939 env :
4040 GITHUB_TOKEN : ${{ github.token }}
41+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
4142 NPM_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11# mobx-tanstack-query
22
3- ## 6.0.1
4-
5- ### Patch Changes
6-
7- - [ ` beddc88 ` ] ( https://github.com/js2me/mobx-tanstack-query/commit/beddc886e4822af7671fc2a0838d5087edf87821 ) Thanks [ @js2me ] ( https://github.com/js2me ) ! - ci: better github workflows for npm publish
8-
93## 6.0.0
104
115### Major Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " mobx-tanstack-query" ,
3- "version" : " 6.0.1 " ,
3+ "version" : " 6.0.0 " ,
44 "scripts" : {
55 "prepare" : " pnpm dev:install-hooks" ,
66 "clean" : " rimraf dist" ,
99 "build:watch" : " pnpm build && nodemon --watch src --ext ts --exec \" tsc && node ./post-build.mjs\" " ,
1010 "build" : " tsc && node ./post-build.mjs" ,
1111 "pub" : " PUBLISH=true pnpm run build" ,
12+ "pub-ci" : " PUBLISH=true CI=true pnpm run build" ,
1213 "pub:patch" : " PUBLISH=true PUBLISH_VERSION=patch pnpm run build" ,
1314 "pub:minor" : " PUBLISH=true PUBLISH_VERSION=minor pnpm run build" ,
1415 "pub:major" : " PUBLISH=true PUBLISH_VERSION=major pnpm run build" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ postBuildScript({
1010 if ( process . env . PUBLISH ) {
1111 $ ( 'pnpm test' ) ;
1212
13+ if ( ! process . env . CI ) {
14+ $ ( 'pnpm changeset version' ) ;
15+ }
16+
1317 publishScript ( {
1418 nextVersion : versionsDiff ?. next ?? packageJson . version ,
1519 currVersion : versionsDiff ?. current ,
You can’t perform that action at this time.
0 commit comments