Skip to content

Commit 701b099

Browse files
feat: replace rm with rimraf for cross-platform compatibility in clean script
1 parent 19f7e03 commit 701b099

File tree

2 files changed

+129
-1
lines changed

2 files changed

+129
-1
lines changed

package-lock.json

Lines changed: 127 additions & 0 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
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"build": "tsc --project tsconfig.json",
1212
"bundle": "ncc build src/index.ts -o dist",
13-
"clean": "rm -rf dist",
13+
"clean": "rimraf dist",
1414
"lint": "eslint \"{src,tests}/**/*.ts\"",
1515
"lint:fix": "npm run lint -- --fix",
1616
"format": "prettier --check .",
@@ -51,6 +51,7 @@
5151
"eslint-config-prettier": "^10.1.8",
5252
"eslint-plugin-prettier": "^5.5.4",
5353
"prettier": "^3.6.2",
54+
"rimraf": "^6.0.1",
5455
"tsx": "^4.20.6",
5556
"typescript": "^5.4.5",
5657
"vitest": "^3.2.4"

0 commit comments

Comments
 (0)