Skip to content

Commit

Permalink
Merge pull request #82 from FriedRiceNoodles/fix/scripts
Browse files Browse the repository at this point in the history
fix: updated scripts, now we can run it on Windows
  • Loading branch information
FriedRiceNoodles authored Mar 20, 2024
2 parents 228ee4b + d22a95f commit 3c67e17
Show file tree
Hide file tree
Showing 5 changed files with 3,786 additions and 3,492 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"build": "pnpm build:all",
"build:all": "cd packages/banana && pnpm run build && cd ../banana-react && pnpm run build",
"dev": "pnpm run dev:all",
"dev:all": "cd packages/banana && pnpm run dev & cd packages/banana-react && pnpm run dev & dumi dev",
"dev:all": "concurrently -k \"pnpm dev:banana\" \"pnpm dev:banana-react\" \"pnpm dev:dumi\"",
"dev:banana": "cd packages/banana && pnpm run dev",
"dev:banana-react": "cd packages/banana-react && pnpm run dev",
"dev:dumi": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
Expand Down Expand Up @@ -55,6 +57,7 @@
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/preset-env": "^7.24.1",
"@banana-ui/react": "workspace:*",
"@banana/banana-cli": "workspace:^",
"@changesets/cli": "^2.26.1",
Expand All @@ -69,6 +72,7 @@
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@umijs/lint": "^4.0.0",
"concurrently": "^8.2.2",
"copy-to-clipboard": "^3.3.3",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^2.1.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/banana-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"scripts": {
"build": "rimraf umd && rimraf dist && rimraf node && rollup -c ../../rollup.config.mjs && npm run tsc",
"dev": "rollup -c ../../rollup.config.dev.mjs -p ../../scripts/rollup-plugin-copy-types.js -w --no-watch.clearScreen",
"dev": "rollup -c ../../rollup.config.dev.mjs -w --no-watch.clearScreen",
"tsc": "rimraf types && npx tsc --project ./tsconfig.types.json && node ./copyTypesToDist.cjs"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/banana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scripts": {
"build": "rimraf umd && rimraf dist && rimraf node && rollup -c ../../rollup.config.mjs && pnpm run tsc && pnpm run cem",
"cem": "custom-elements-manifest analyze --config \"custom-elements-manifest.config.js\"",
"dev": "rollup -c ../../rollup.config.dev.mjs -p ../../scripts/rollup-plugin-copy-types.js -w --no-watch.clearScreen",
"dev": "rollup -c ../../rollup.config.dev.mjs -w --no-watch.clearScreen",
"test": "web-test-runner",
"tsc": "rimraf types && npx tsc --project ./tsconfig.types.json && node ./copyTypesToDist.cjs"
},
Expand Down
Loading

0 comments on commit 3c67e17

Please sign in to comment.