File tree Expand file tree Collapse file tree 4 files changed +1874
-1757
lines changed Expand file tree Collapse file tree 4 files changed +1874
-1757
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ jobs:
1515 with :
1616 node-version : 14.x
1717 registry-url : https://registry.npmjs.org/
18+ - uses : pnpm/action-setup@v2.1.0
19+ with :
20+ version : 6.32.9
21+ run_install : |
22+ - args: [--frozen-lockfile]
1823
1924 - name : Publish
20- run : |
21- yarn install --ignore-scripts
22- yarn publish
25+ run : pnpm publish
2326 env :
2427 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change 2323 " types"
2424 ],
2525 "scripts" : {
26- "prepublishOnly" : " yarn build" ,
27- "prebuild " : " rm -rf esm/ && rm -rf cjs/ && rm -rf types/ && rm -rf dist/" ,
28- "build" : " yarn build:esm && yarn build:cjs && yarn build:types" ,
29- "build:watch" : " tsc-watch -p ./tsconfig.json --onSuccess 'yarn build'" ,
26+ "prepublishOnly" : " pnpm build" ,
27+ "clean " : " rm -rf esm/ && rm -rf cjs/ && rm -rf types/ && rm -rf dist/" ,
28+ "build" : " pnpm build:esm && pnpm build:cjs && pnpm build:types" ,
29+ "build:watch" : " tsc-watch -p ./tsconfig.json --onSuccess 'pnpm build'" ,
3030 "build:cjs" : " ncc build src/index.ts -o cjs -m -e react" ,
3131 "build:esm" : " tsc --target ESNext --module ES6 --outDir esm" ,
3232 "build:types" : " tsc --d --declarationMap --declarationDir types" ,
3838 "@types/node" : " ^17.0.23" ,
3939 "@vercel/ncc" : " ^0.33.4" ,
4040 "next" : " ^12.1.4" ,
41+ "react" : " ^18.0.0" ,
42+ "react-dom" : " ^18.0.0" ,
4143 "typescript" : " ^4.6.3"
4244 }
4345}
You can’t perform that action at this time.
0 commit comments