File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 cache : ' pnpm'
1616 - run : pnpm install
1717 - name : Publish package on NPM 📦
18- run : pnpm run build-lib && npm publish
18+ run : pnpm --filter=daxus publish && pnpm --filter=daxus-next publish
1919 env :
2020 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " daxus-next" ,
3- "version" : " 0.6.0-beta.3 " ,
3+ "version" : " 0.6.0" ,
44 "type" : " module" ,
55 "files" : [
66 " dist"
2424 "url" : " https://github.com/jason89521/daxus"
2525 },
2626 "scripts" : {
27- "build" : " tsc" ,
28- "prepublishOnly" : " pnpm run build-lib "
27+ "build" : " rimraf dist && tsc" ,
28+ "prepublishOnly" : " pnpm run build"
2929 },
3030 "devDependencies" : {
3131 "@types/react" : " ^18.2.15" ,
3232 "@types/react-dom" : " ^18.2.7" ,
3333 "react" : " ^18.2.0" ,
34+ "rimraf" : " ^5.0.1" ,
3435 "react-dom" : " ^18.2.0" ,
3536 "typescript" : " ^5.1.6" ,
3637 "daxus" : " workspace:*" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " daxus" ,
3- "version" : " 0.6.0-beta.3 " ,
3+ "version" : " 0.6.0" ,
44 "type" : " module" ,
55 "files" : [
66 " dist"
2525 },
2626 "scripts" : {
2727 "dev" : " vite" ,
28- "build" : " tsc && vite build" ,
29- "build-lib" : " rimraf dist && tsc --project tsconfig.lib.json" ,
28+ "build" : " rimraf dist && tsc --project tsconfig.lib.json" ,
3029 "lint" : " eslint src" ,
3130 "preview" : " vite preview" ,
3231 "gen-api" : " typedoc --options ./typedoc.json" ,
3332 "test" : " vitest run" ,
3433 "test-watch" : " vitest watch" ,
35- "prepublishOnly" : " pnpm run build-lib "
34+ "prepublishOnly" : " pnpm run build"
3635 },
3736 "dependencies" : {
3837 "immer" : " ^10.0.2"
You can’t perform that action at this time.
0 commit comments