Skip to content

Commit

Permalink
[chore] replace rimraf dev dep with del-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dangmai committed Oct 30, 2024
1 parent 40385b8 commit 46ff057
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 21 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build:native": "nx run apex-ast-serializer:build:native",
"install:native:dev": "tsx scripts/install-dev-executable.zx.mts",
"install:native:ci": "tsx scripts/install-ci-executables.zx.mts",
"clean": "rimraf node_modules",
"clean": "del-cli node_modules",
"all:clean": "pnpm run -r clean && pnpm run clean",
"release": "npm version --force",
"version": "tsx scripts/release.zx.mts"
Expand All @@ -24,6 +24,7 @@
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"cross-env": "7.0.3",
"del-cli": "6.0.0",
"eslint": "8.57.1",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "18.0.0",
Expand All @@ -35,7 +36,6 @@
"prettier": "3.3.3",
"prettier-plugin-java": "2.6.5",
"prettier-plugin-organize-imports": "4.1.0",
"rimraf": "5.0.10",
"semver": "7.6.3",
"tsx": "4.19.2",
"typescript": "5.6.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "Prettier Apex Playground Website",
"main": "index.js",
"scripts": {
"build": "rimraf dist && vite build",
"build": "del-cli dist && vite build",
"build:watch": "vite build --watch",
"clean": "rimraf node_modules dist",
"clean": "del-cli node_modules dist",
"lint": "eslint \"src/*.{ts,tsx}\" \"*.ts\"",
"dev": "vite --open http://localhost:5173/",
"prettier": "prettier --write \"src/**/*.{ts,tsx,css,html}\" \"./*.{md,ts}\"",
Expand Down
5 changes: 2 additions & 3 deletions packages/prettier-plugin-apex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"/vendor"
],
"scripts": {
"build": "rimraf dist && tsc --project tsconfig.prod.json && pnpm run build:standalone",
"build": "del-cli dist && tsc --project tsconfig.prod.json && pnpm run build:standalone",
"build:dev": "tsc",
"build:standalone": "vite build",
"clean": "rimraf node_modules dist",
"clean": "del-cli node_modules dist",
"pretest": "pnpm run lint",
"test": "vitest run",
"test:parser:built-in": "cross-env APEX_PARSER=built-in pnpm test",
Expand All @@ -46,7 +46,6 @@
"devDependencies": {
"@types/wait-on": "5.3.4",
"@vitest/coverage-v8": "2.1.4",
"rimraf": "5.0.10",
"vite": "5.4.10",
"vitest": "2.1.4"
},
Expand Down
101 changes: 87 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46ff057

Please sign in to comment.