mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-02 19:08:40 +08:00
package.json yarn -> pnpm (#1336)
* fix(modal): 取消全屏功能后关闭图标颜色异常 * chore: move to pnpm Co-authored-by: liushiman <smliu@gk-estor.com>
This commit is contained in:
parent
b5364fe546
commit
9999650a9a
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -137,6 +137,7 @@
|
|||||||
"lintstagedrc",
|
"lintstagedrc",
|
||||||
"brotli",
|
"brotli",
|
||||||
"tailwindcss",
|
"tailwindcss",
|
||||||
"sider"
|
"sider",
|
||||||
|
"pnpm"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -70,20 +70,20 @@ git clone https://github.com/anncwb/vue-vben-admin.git
|
|||||||
```bash
|
```bash
|
||||||
cd vue-vben-admin
|
cd vue-vben-admin
|
||||||
|
|
||||||
yarn install
|
pnpm install
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- run
|
- run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn serve
|
pnpm serve
|
||||||
```
|
```
|
||||||
|
|
||||||
- build
|
- build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn build
|
pnpm build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Change Log
|
## Change Log
|
||||||
|
@ -70,20 +70,20 @@ git clone https://github.com/anncwb/vue-vben-admin.git
|
|||||||
```bash
|
```bash
|
||||||
cd vue-vben-admin
|
cd vue-vben-admin
|
||||||
|
|
||||||
yarn install
|
pnpm install
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- 运行
|
- 运行
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn serve
|
pnpm serve
|
||||||
```
|
```
|
||||||
|
|
||||||
- 打包
|
- 打包
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn build
|
pnpm build
|
||||||
```
|
```
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
"url": "https://github.com/anncwb"
|
"url": "https://github.com/anncwb"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "yarn install",
|
"bootstrap": "pnpm install",
|
||||||
"serve": "npm run dev",
|
"serve": "npm run dev",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
|
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
|
||||||
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
|
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
|
||||||
"build:no-cache": "yarn clean:cache && npm run build",
|
"build:no-cache": "pnpm clean:cache && npm run build",
|
||||||
"report": "cross-env REPORT=true npm run build",
|
"report": "cross-env REPORT=true npm run build",
|
||||||
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
||||||
"preview": "npm run build && vite preview",
|
"preview": "npm run build && vite preview",
|
||||||
@ -28,7 +28,7 @@
|
|||||||
"test:unit-coverage": "jest --coverage",
|
"test:unit-coverage": "jest --coverage",
|
||||||
"test:gzip": "npx http-server dist --cors --gzip -c-1",
|
"test:gzip": "npx http-server dist --cors --gzip -c-1",
|
||||||
"test:br": "npx http-server dist --cors --brotli -c-1",
|
"test:br": "npx http-server dist --cors --brotli -c-1",
|
||||||
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"gen:icon": "esno ./build/generate/icon/index.ts"
|
"gen:icon": "esno ./build/generate/icon/index.ts"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user