Skip to content

Commit

Permalink
chore: use premove instead of rimraf (#18499)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Oct 28, 2024
1 parent f886f75 commit f97a578
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 306 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"lint-staged": "^15.2.10",
"picocolors": "^1.1.1",
"playwright-chromium": "^1.48.2",
"premove": "^4.0.0",
"prettier": "3.3.3",
"rimraf": "^5.0.10",
"rollup": "^4.23.0",
"rollup-plugin-esbuild": "^6.1.1",
"simple-git-hooks": "^2.11.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
"funding": "https://github.com/vitejs/vite?sponsor=1",
"scripts": {
"dev": "tsx scripts/dev.ts",
"build": "rimraf dist && pnpm build-bundle && pnpm build-types",
"build": "premove dist && pnpm build-bundle && pnpm build-types",
"build-bundle": "rollup --config rollup.config.ts --configPlugin esbuild",
"build-types": "pnpm build-types-temp && pnpm build-types-roll && pnpm build-types-check",
"build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node",
"build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin esbuild && rimraf temp",
"build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin esbuild && premove temp",
"build-types-check": "tsc --project tsconfig.check.json",
"typecheck": "tsc --noEmit && tsc --noEmit -p src/node",
"lint": "eslint --cache --ext .ts src/**",
Expand Down
Loading

0 comments on commit f97a578

Please sign in to comment.