Skip to content

Commit

Permalink
chore(repo) remove del-cli dependency and use cross-platform rm -rf
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbayley committed Jun 30, 2024
1 parent 36ead54 commit 2f47dfd
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 180 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"chalk": "^4.1.0",
"codecov-lite": "2.0.0",
"conventional-commits-parser": "^3.2.1",
"del-cli": "^5.0.0",
"eslint-config-rollup": "^3.0.1",
"esm": "^3.2.25",
"execa": "^5.1.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -64,7 +64,6 @@
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^9.0.1",
"del-cli": "^5.0.0",
"rollup": "^4.0.0-24",
"typescript": "^4.8.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/auto-install/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
3 changes: 1 addition & 2 deletions packages/buble/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -67,7 +67,6 @@
},
"devDependencies": {
"@rollup/plugin-typescript": "^9.0.1",
"del-cli": "^5.0.0",
"rollup": "^4.0.0-24",
"source-map": "^0.7.4",
"typescript": "^4.8.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/commonjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prepublishOnly": "pnpm build",
"prerelease": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-uri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build --sourcemap",
Expand Down
3 changes: 1 addition & 2 deletions packages/dsv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -55,7 +55,6 @@
"tosource": "^2.0.0-alpha.3"
},
"devDependencies": {
"del-cli": "^5.0.0",
"rollup": "^4.0.0-24"
},
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/dynamic-import-vars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build --sourcemap",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"lint:graphql": "prettier --write \"test/fixtures/**/*.graphql\"",
"prebuild": "del-cli dist && pnpm lint:graphql",
"prebuild": "rm -rf dist && pnpm lint:graphql",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
3 changes: 1 addition & 2 deletions packages/inject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -67,7 +67,6 @@
},
"devDependencies": {
"@rollup/plugin-buble": "^1.0.0",
"del-cli": "^5.0.0",
"locate-character": "^2.0.5",
"rollup": "^4.0.0-24",
"source-map": "^0.7.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
3 changes: 1 addition & 2 deletions packages/legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -60,7 +60,6 @@
},
"devDependencies": {
"@rollup/plugin-buble": "^1.0.0",
"del-cli": "^5.0.0",
"rollup": "^4.0.0-24"
},
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/multi-entry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prepublishOnly": "pnpm build",
"prerelease": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/pluginutils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build --sourcemap",
Expand Down
3 changes: 1 addition & 2 deletions packages/replace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -66,7 +66,6 @@
},
"devDependencies": {
"@rollup/plugin-buble": "^1.0.0",
"del-cli": "^5.0.0",
"locate-character": "^2.0.5",
"rollup": "^4.0.0-24",
"source-map": "^0.7.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/sucrase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/terser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose --serial",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
2 changes: 1 addition & 1 deletion packages/virtual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down
3 changes: 1 addition & 2 deletions packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -67,7 +67,6 @@
},
"devDependencies": {
"@rollup/plugin-typescript": "^9.0.1",
"del-cli": "^5.0.0",
"rollup": "^4.0.0-24",
"source-map": "^0.7.4",
"typescript": "^4.8.3"
Expand Down
3 changes: 1 addition & 2 deletions packages/yaml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci:lint": "pnpm build && pnpm lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm test -- --verbose",
"prebuild": "del-cli dist",
"prebuild": "rm -rf dist",
"prepare": "[ ! -d 'dist' ] && pnpm build || true",
"prerelease": "pnpm build",
"pretest": "pnpm build",
Expand Down Expand Up @@ -63,7 +63,6 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.0",
"del-cli": "^5.0.0",
"rollup": "^4.0.0-24",
"source-map-support": "^0.5.21"
},
Expand Down
Loading

0 comments on commit 2f47dfd

Please sign in to comment.