Skip to content

Commit d53c632

Browse files
committed
fix: replace rm -rf with rimraf in clean script for cross-platform compatibility
1 parent 9a52e6a commit d53c632

File tree

2 files changed

+86
-26
lines changed

2 files changed

+86
-26
lines changed

package-lock.json

Lines changed: 84 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"scripts": {
3434
"lint": "eslint .",
35-
"clean": "rm -rf build",
35+
"clean": "rimraf build",
3636
"pretest": "npm run lint",
3737
"test": "vitest run",
3838
"test:node": "vitest run --project node-esm",
@@ -73,6 +73,7 @@
7373
"eslint": "^10.1.0",
7474
"globals": "^17.4.0",
7575
"playwright": "^1.58.2",
76+
"rimraf": "^6.1.3",
7677
"vite": "^8.0.2",
7778
"vitest": "^4.1.1"
7879
}

0 commit comments

Comments
 (0)