Skip to content

Commit ba307e6

Browse files
committed
#0trivial: Use rimraf replace rm -rf.
1 parent 6cbcc10 commit ba307e6

File tree

2 files changed

+67
-1
lines changed

2 files changed

+67
-1
lines changed

package-lock.json

+65
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/happy-dom/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"access": "public"
6666
},
6767
"scripts": {
68-
"compile": "tsc && rm -rf ./cjs && tsc --moduleResolution Node --module CommonJS --outDir cjs && npm run change-cjs-file-extension && npm run build-version-file",
68+
"compile": "tsc && rimraf ./cjs && tsc --moduleResolution Node --module CommonJS --outDir cjs && npm run change-cjs-file-extension && npm run build-version-file",
6969
"change-cjs-file-extension": "node ./bin/change-file-extension.cjs --dir=./cjs --fromExt=.js --toExt=.cjs",
7070
"build-version-file": "node ./bin/build-version-file.cjs",
7171
"watch": "tsc -w --preserveWatchOutput",
@@ -84,6 +84,7 @@
8484
"@vitest/ui": "^0.33.0",
8585
"@webref/css": "6.6.2",
8686
"prettier": "^2.6.0",
87+
"rimraf": "^5.0.5",
8788
"typescript": "^5.0.4",
8889
"vitest": "^0.32.4"
8990
},

0 commit comments

Comments
 (0)