Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: scripts clean 指令缩写 (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsypower authored Feb 28, 2024
1 parent edda36b commit 4bae58d
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"scripts": {
"build": "pnpm cross-env NODE_ENV=production vite build",
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo",
"clean": "pnpm rimraf node_modules dist .turbo",
"dev": "vite",
"preview": "npm run build && vite preview",
"preview:dist": "vite preview",
Expand Down
2 changes: 1 addition & 1 deletion apps/gf-vben/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"scripts": {
"build": "pnpm cross-env NODE_ENV=production vite build",
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo",
"clean": "pnpm rimraf node_modules dist .turbo",
"dev": "vite",
"preview": "npm run build && vite preview",
"preview:dist": "vite preview",
Expand Down
2 changes: 1 addition & 1 deletion configs/css-preprocess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"uno.config.ts"
],
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"dependencies": {
"postcss": "^8.4.33",
Expand Down
2 changes: 1 addition & 1 deletion configs/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"stylelint.js"
],
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"dependencies": {
"@commitlint/cli": "^17.8.1",
Expand Down
2 changes: 1 addition & 1 deletion configs/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo",
"clean": "pnpm rimraf node_modules dist .turbo",
"prepack": "pnpm unbuild --stub"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lint:eslint": "eslint . --cache --max-warnings 0 --fix",
"lint:prettier": "prettier --write \"{packages,apps,configs,scripts}/**/*.{js,json,ts,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --fix ",
"reinstall": "pnpm turbo run clean && rimraf pnpm-lock.yaml && rimraf node_modules && npm run bootstrap",
"reinstall": "pnpm turbo run clean && rimraf pnpm-lock.yaml node_modules && pnpm run bootstrap",
"stub": "pnpm --filter @config/** prepack",
"test": "vitest",
"turbo:build": "turbo run build --parallel",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/directives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"jsdelivr": "index.js",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/grid-layouts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"dependencies": {
"@vben/constants": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/layouts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/locale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/stores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.1",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "index.ts",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"type": "module",
"license": "MIT",
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo"
"clean": "pnpm rimraf node_modules dist .turbo"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"dependencies": {
"@ant-design/colors": "^7.0.2",
"@formkit/auto-animate": "^0.8.1",
"@vue/runtime-core": "3.3.6",
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"bin": {},
"scripts": {
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo",
"clean": "pnpm rimraf node_modules dist .turbo",
"build": "pnpm esno ./src/build.ts",
"dev": "pnpm esno ./src/dev.ts",
"preview": "esno src/preview.ts"
Expand Down

0 comments on commit 4bae58d

Please sign in to comment.