Skip to content

Commit

Permalink
feat: rimraf
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Oct 31, 2024
1 parent 1e18238 commit 90492cb
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-taroapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/css-to-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-html-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup-plugin-copy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-taro-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-taro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-cli-convertor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prebuild": "pnpm run clean",
"build": "tsc",
"dev": "tsc -w",
"clean": "rimraf --impl=move-remove dist"
"clean": "rimraf dist"
},
"files": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-library-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-library-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-library-vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-components-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-framework-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-framework-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-h5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-platform-h5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-style-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-supporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-router-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-runtime-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-webpack5-prebundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-webpack5-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 90492cb

Please sign in to comment.