diff --git a/packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json b/packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json index f6e870ca9c2..267f889f8a5 100644 --- a/packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json +++ b/packages/babel-plugin-transform-react-jsx-to-rn-stylesheet/package.json @@ -8,7 +8,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "test": "jest", "test:ci": "jest --ci -i --coverage --silent", "dev": "tsc -w", diff --git a/packages/babel-plugin-transform-taroapi/package.json b/packages/babel-plugin-transform-taroapi/package.json index 1d30051980c..3bb4f23e3bd 100644 --- a/packages/babel-plugin-transform-taroapi/package.json +++ b/packages/babel-plugin-transform-taroapi/package.json @@ -7,7 +7,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc", "test": "cross-env NODE_ENV=jest jest", "test:ci": "cross-env NODE_ENV=jest jest --ci -i --coverage --silent", diff --git a/packages/create-app/package.json b/packages/create-app/package.json index df41e4581ac..dba2624c7f0 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -8,7 +8,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "dev": "tsc -w", "build": "tsc" }, diff --git a/packages/css-to-react-native/package.json b/packages/css-to-react-native/package.json index b716d99069d..2610c7b3b2c 100644 --- a/packages/css-to-react-native/package.json +++ b/packages/css-to-react-native/package.json @@ -14,7 +14,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "babel src --ignore *.spec.js --out-dir ./dist", "test": "jest" }, diff --git a/packages/jest-helper/package.json b/packages/jest-helper/package.json index fb10c70253b..270aa37e36d 100644 --- a/packages/jest-helper/package.json +++ b/packages/jest-helper/package.json @@ -12,7 +12,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./lib", + "clean": "rimraf ./lib", "build": "tsc", "dev": "tsc -w" }, diff --git a/packages/postcss-html-transform/package.json b/packages/postcss-html-transform/package.json index 80a1dfdcc86..65dd19db528 100644 --- a/packages/postcss-html-transform/package.json +++ b/packages/postcss-html-transform/package.json @@ -16,7 +16,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc", "dev": "tsc -w" }, diff --git a/packages/rollup-plugin-copy/package.json b/packages/rollup-plugin-copy/package.json index b9d6d77b260..493c056e6d6 100644 --- a/packages/rollup-plugin-copy/package.json +++ b/packages/rollup-plugin-copy/package.json @@ -12,7 +12,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./lib", + "clean": "rimraf ./lib", "build": "tsc", "dev": "tsc -w" }, diff --git a/packages/shared/package.json b/packages/shared/package.json index e42e744defe..e7335558627 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -20,7 +20,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "pnpm run rollup --environment NODE_ENV:production", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.ts --configPlugin typescript", diff --git a/packages/stylelint-taro-rn/package.json b/packages/stylelint-taro-rn/package.json index 42e0345ebc4..cedebc448b6 100644 --- a/packages/stylelint-taro-rn/package.json +++ b/packages/stylelint-taro-rn/package.json @@ -27,7 +27,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "pnpm run rollup --environment NODE_ENV:production", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.ts --configPlugin typescript", diff --git a/packages/stylelint-taro/package.json b/packages/stylelint-taro/package.json index c03e9b83a1a..230e9d7146a 100644 --- a/packages/stylelint-taro/package.json +++ b/packages/stylelint-taro/package.json @@ -16,7 +16,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "pnpm run rollup --environment NODE_ENV:production", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.ts --configPlugin typescript", diff --git a/packages/taro-cli-convertor/package.json b/packages/taro-cli-convertor/package.json index a5c51af4712..78f6f976354 100644 --- a/packages/taro-cli-convertor/package.json +++ b/packages/taro-cli-convertor/package.json @@ -10,7 +10,7 @@ "prebuild": "pnpm run clean", "build": "tsc", "dev": "tsc -w", - "clean": "rimraf --impl=move-remove dist", + "clean": "rimraf dist", "lint": "eslint src --ext .js,.jsx,.ts,.tsx", "format": "prettier --write \"{src, __tests__}/**/*.{ts,tsx,js,jsx}\" && eslint src __tests__ --ext .js --ext .jsx --ext .ts --ext .tsx --fix", "test": "jest", diff --git a/packages/taro-cli/package.json b/packages/taro-cli/package.json index 529d3d522c3..dc31a1329e4 100644 --- a/packages/taro-cli/package.json +++ b/packages/taro-cli/package.json @@ -16,7 +16,7 @@ "prebuild": "pnpm run clean", "build": "tsc", "dev": "tsc -w", - "clean": "rimraf --impl=move-remove dist" + "clean": "rimraf dist" }, "files": [ "bin", diff --git a/packages/taro-components-advanced/package.json b/packages/taro-components-advanced/package.json index e3912f1d32a..7cc15ce907b 100644 --- a/packages/taro-components-advanced/package.json +++ b/packages/taro-components-advanced/package.json @@ -18,7 +18,7 @@ "prod": "pnpm run build", "prebuild": "pnpm run clean", "build": "rollup -c", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "dev": "pnpm run build -w" }, "keywords": [], diff --git a/packages/taro-components-library-react/package.json b/packages/taro-components-library-react/package.json index 24526a0ffff..b04192c9a91 100644 --- a/packages/taro-components-library-react/package.json +++ b/packages/taro-components-library-react/package.json @@ -9,7 +9,7 @@ "scripts": { "prebuild": "pnpm run clean && node ./scripts/fix.js", "build": "rollup -c", - "clean": "rimraf --impl=move-remove ../taro-components/lib/react", + "clean": "rimraf ../taro-components/lib/react", "dev": "pnpm run build -w", "prod": "pnpm run build" }, diff --git a/packages/taro-components-library-solid/package.json b/packages/taro-components-library-solid/package.json index 96bedb188f3..0c4af7af547 100644 --- a/packages/taro-components-library-solid/package.json +++ b/packages/taro-components-library-solid/package.json @@ -7,7 +7,7 @@ "scripts": { "prebuild": "pnpm run clean && node ./scripts/fix.js", "build": "rollup -c", - "clean": "rimraf --impl=move-remove ../taro-components/lib/solid", + "clean": "rimraf ../taro-components/lib/solid", "dev": "pnpm run build -w", "prod": "pnpm run build" }, diff --git a/packages/taro-components-library-vue3/package.json b/packages/taro-components-library-vue3/package.json index 7bc2719dca5..838e0955585 100644 --- a/packages/taro-components-library-vue3/package.json +++ b/packages/taro-components-library-vue3/package.json @@ -10,7 +10,7 @@ "prod": "pnpm run build", "prebuild": "pnpm run clean && node ./scripts/fix.js", "build": "rollup -c", - "clean": "rimraf --impl=move-remove ../taro-components/lib/vue3", + "clean": "rimraf ../taro-components/lib/vue3", "dev": "pnpm run build -w" }, "keywords": [], diff --git a/packages/taro-components-rn/package.json b/packages/taro-components-rn/package.json index 1b2f68196c3..b43483a916b 100644 --- a/packages/taro-components-rn/package.json +++ b/packages/taro-components-rn/package.json @@ -9,7 +9,7 @@ "prod": "pnpm run build", "assets": "cpy 'src/**/*.png' '!src/__tests__/*' dist", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc && pnpm run assets", "dev": "pnpm run assets && tsc --watch", "lint": "eslint src --ext .js,.jsx,.ts,.tsx", diff --git a/packages/taro-framework-react/package.json b/packages/taro-framework-react/package.json index 42cd2f7f61b..e00762f7d48 100644 --- a/packages/taro-framework-react/package.json +++ b/packages/taro-framework-react/package.json @@ -22,7 +22,7 @@ "prod": "pnpm run build", "prebuild": "run-s clean", "build": "pnpm run rollup --environment NODE_ENV:production", - "clean": "rimraf --impl=move-remove dist", + "clean": "rimraf dist", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.ts --configPlugin typescript" }, diff --git a/packages/taro-framework-solid/package.json b/packages/taro-framework-solid/package.json index 1805bde4003..736808bc826 100644 --- a/packages/taro-framework-solid/package.json +++ b/packages/taro-framework-solid/package.json @@ -22,7 +22,7 @@ "prod": "pnpm run build", "prebuild": "run-s clean", "build": "pnpm run rollup --environment NODE_ENV:production", - "clean": "rimraf --impl=move-remove dist", + "clean": "rimraf dist", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.ts --configPlugin typescript" }, diff --git a/packages/taro-h5/package.json b/packages/taro-h5/package.json index bdd359c5408..be8087cc1f1 100644 --- a/packages/taro-h5/package.json +++ b/packages/taro-h5/package.json @@ -20,7 +20,7 @@ ], "scripts": { "prod": "pnpm run build", - "prebuild": "rimraf --impl=move-remove ./dist", + "prebuild": "rimraf ./dist", "build": "pnpm run rollup --environment NODE_ENV:production", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.mts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs", diff --git a/packages/taro-helper/package.json b/packages/taro-helper/package.json index 905fcf3251a..b81555772d9 100644 --- a/packages/taro-helper/package.json +++ b/packages/taro-helper/package.json @@ -8,7 +8,7 @@ "types": "dist/index.d.ts", "scripts": { "prod": "pnpm run build", - "clean": "rimraf --impl=move-remove dist", + "clean": "rimraf dist", "prebuild": "pnpm run clean", "build": "tsc", "postbuild": "pnpm run swc:backup", diff --git a/packages/taro-platform-h5/package.json b/packages/taro-platform-h5/package.json index 17ccfe82919..298e63039e3 100644 --- a/packages/taro-platform-h5/package.json +++ b/packages/taro-platform-h5/package.json @@ -28,7 +28,7 @@ "prod": "pnpm run build", "prebuild": "run-s clean generate:desc", "build": "pnpm run rollup --environment NODE_ENV:production", - "clean": "rimraf --impl=move-remove dist", + "clean": "rimraf dist", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "generate:desc": "pnpm run tsx --files ./build/definition-json", "rollup": "rollup -c", diff --git a/packages/taro-rn-runner/package.json b/packages/taro-rn-runner/package.json index 75676ebc725..c3a3dc776ca 100644 --- a/packages/taro-rn-runner/package.json +++ b/packages/taro-rn-runner/package.json @@ -8,7 +8,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc", "dev": "tsc -w", "lint": "eslint src templates __tests__ --ext .js,.ts", diff --git a/packages/taro-rn-style-transformer/package.json b/packages/taro-rn-style-transformer/package.json index 7100f24461e..739fe822f90 100644 --- a/packages/taro-rn-style-transformer/package.json +++ b/packages/taro-rn-style-transformer/package.json @@ -12,7 +12,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc", "dev": "tsc -w", "lint": "eslint src __tests__ --ext .js,.ts", diff --git a/packages/taro-rn-supporter/package.json b/packages/taro-rn-supporter/package.json index a2ba8f2610c..96e9a82c7d1 100644 --- a/packages/taro-rn-supporter/package.json +++ b/packages/taro-rn-supporter/package.json @@ -13,7 +13,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc", "dev": "tsc -w", "lint": "eslint src --ext .js,.ts" diff --git a/packages/taro-rn-transformer/package.json b/packages/taro-rn-transformer/package.json index e326a52a7b4..ab811931038 100644 --- a/packages/taro-rn-transformer/package.json +++ b/packages/taro-rn-transformer/package.json @@ -13,7 +13,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "build": "tsc", "dev": "tsc -w", "test": "jest", diff --git a/packages/taro-rn/package.json b/packages/taro-rn/package.json index 653344b01ed..3ebb67a477c 100644 --- a/packages/taro-rn/package.json +++ b/packages/taro-rn/package.json @@ -17,7 +17,7 @@ "prod": "pnpm run build", "assets": "cpy 'src/**/*.png' '!src/__tests__/*' dist", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist apiList.js libList.js", + "clean": "rimraf ./dist apiList.js libList.js", "build": "tsc && pnpm run assets && pnpm run script", "dev": "pnpm run assets && tsc --watch", "lint": "eslint src script __tests__ --ext .js,.jsx.ts,.tsx", diff --git a/packages/taro-router-rn/package.json b/packages/taro-router-rn/package.json index 507d48f0c35..f6f1873381b 100644 --- a/packages/taro-router-rn/package.json +++ b/packages/taro-router-rn/package.json @@ -13,7 +13,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "dev": "tsc -w", "build": "tsc", "lint": "eslint src --ext .js,.jsx,.ts,.tsx" diff --git a/packages/taro-router/package.json b/packages/taro-router/package.json index 74636ad432c..6ee28401595 100644 --- a/packages/taro-router/package.json +++ b/packages/taro-router/package.json @@ -19,7 +19,7 @@ "prod": "pnpm run build", "prebuild": "pnpm run clean", "build": "pnpm run rollup --environment NODE_ENV:production", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.mts --configPlugin typescript" }, diff --git a/packages/taro-runtime-rn/package.json b/packages/taro-runtime-rn/package.json index e5fa5972c5b..4f260ae08d6 100644 --- a/packages/taro-runtime-rn/package.json +++ b/packages/taro-runtime-rn/package.json @@ -13,7 +13,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "dev": "tsc -w", "build": "tsc", "lint": "eslint src --ext .js,.jsx,.ts,.tsx" diff --git a/packages/taro-runtime/package.json b/packages/taro-runtime/package.json index 1f959ba4bde..00843e855f6 100644 --- a/packages/taro-runtime/package.json +++ b/packages/taro-runtime/package.json @@ -17,7 +17,7 @@ "prod": "pnpm run build", "prebuild": "pnpm run clean", "build": "pnpm run rollup --environment NODE_ENV:production", - "clean": "rimraf --impl=move-remove ./dist", + "clean": "rimraf ./dist", "dev": "pnpm run rollup --environment NODE_ENV:development -w", "rollup": "rollup --config rollup.config.ts --configPlugin typescript", "test": "jest", diff --git a/packages/taro-service/package.json b/packages/taro-service/package.json index 30b8690f4b2..fcfd6c61d76 100644 --- a/packages/taro-service/package.json +++ b/packages/taro-service/package.json @@ -9,7 +9,7 @@ "scripts": { "prod": "pnpm run build", "prebuild": "pnpm run clean", - "clean": "rimraf --impl=move-remove dist types", + "clean": "rimraf dist types", "dev": "tsc -w", "build": "tsc" }, diff --git a/packages/taro-webpack5-prebundle/package.json b/packages/taro-webpack5-prebundle/package.json index d9450bbe406..a9b5c8ca9d8 100644 --- a/packages/taro-webpack5-prebundle/package.json +++ b/packages/taro-webpack5-prebundle/package.json @@ -10,7 +10,7 @@ "prebuild": "pnpm run clean", "build": "tsc", "dev": "tsc -w", - "clean": "rimraf --impl=move-remove dist", + "clean": "rimraf dist", "test": "cross-env NODE_ENV=jest jest", "test:ci": "cross-env NODE_ENV=jest jest --ci -i --passWithNoTests", "test:coverage": "cross-env NODE_ENV=jest jest --coverage" diff --git a/packages/taro-webpack5-runner/package.json b/packages/taro-webpack5-runner/package.json index b44773e757f..e3875accb2a 100644 --- a/packages/taro-webpack5-runner/package.json +++ b/packages/taro-webpack5-runner/package.json @@ -12,7 +12,7 @@ "postbuild": "pnpm run mv:comp", "dev": "pnpm run mv:comp && tsc -w", "mv:comp": "node ./mv-comp.js", - "clean": "rimraf --impl=move-remove dist" + "clean": "rimraf dist" }, "repository": { "type": "git",