Skip to content

Commit f97a578

Browse files
authored
chore: use premove instead of rimraf (#18499)
1 parent f886f75 commit f97a578

File tree

3 files changed

+82
-306
lines changed

3 files changed

+82
-306
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"lint-staged": "^15.2.10",
6868
"picocolors": "^1.1.1",
6969
"playwright-chromium": "^1.48.2",
70+
"premove": "^4.0.0",
7071
"prettier": "3.3.3",
71-
"rimraf": "^5.0.10",
7272
"rollup": "^4.23.0",
7373
"rollup-plugin-esbuild": "^6.1.1",
7474
"simple-git-hooks": "^2.11.1",

packages/vite/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@
7373
"funding": "https://github.com/vitejs/vite?sponsor=1",
7474
"scripts": {
7575
"dev": "tsx scripts/dev.ts",
76-
"build": "rimraf dist && pnpm build-bundle && pnpm build-types",
76+
"build": "premove dist && pnpm build-bundle && pnpm build-types",
7777
"build-bundle": "rollup --config rollup.config.ts --configPlugin esbuild",
7878
"build-types": "pnpm build-types-temp && pnpm build-types-roll && pnpm build-types-check",
7979
"build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node",
80-
"build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin esbuild && rimraf temp",
80+
"build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin esbuild && premove temp",
8181
"build-types-check": "tsc --project tsconfig.check.json",
8282
"typecheck": "tsc --noEmit && tsc --noEmit -p src/node",
8383
"lint": "eslint --cache --ext .ts src/**",

0 commit comments

Comments
 (0)