Skip to content

Commit

Permalink
rimraf to support in windows (#2443)
Browse files Browse the repository at this point in the history
replace `rm` with rimraf while deleting node_modules during `pnpm clean` to support in both Windows and Linux.
  • Loading branch information
alphaxek authored Mar 5, 2024
1 parent 0a9982d commit 1d32bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"turbo:clean": "turbo clean && rimraf ./node_modules/.cache/turbo",
"turbo:graph": "pnpm build --graph=dependency-graph.png",
"clean": "pnpm turbo:clean && pnpm clean:jest && pnpm clean:node-modules && pnpm clean:lock && pnpm install --hoist",
"clean:node-modules": "rimraf ./apps/**/node_modules && rimraf ./packages/**/**/node_modules && rm -rf ./node_modules",
"clean:node-modules": "rimraf ./apps/**/node_modules && rimraf ./packages/**/**/node_modules && rimraf ./node_modules",
"clean:changelogs": "rimraf ./packages/**/**/CHANGELOG.md",
"clean:lock": "rm ./pnpm-lock.yaml",
"clean:jest": "jest --clearCache",
Expand Down

0 comments on commit 1d32bf8

Please sign in to comment.