Commit 9999650a9a345f66299002d7507e4dab784cfd2f
Committed by
GitHub
1 parent
b5364fe5
package.json yarn -> pnpm (#1336)
* fix(modal): 取消全屏功能后关闭图标颜色异常 * chore: move to pnpm Co-authored-by: liushiman <smliu@gk-estor.com>
Showing
4 changed files
with
11 additions
and
10 deletions
.vscode/settings.json
README.md
@@ -70,20 +70,20 @@ git clone https://github.com/anncwb/vue-vben-admin.git | @@ -70,20 +70,20 @@ git clone https://github.com/anncwb/vue-vben-admin.git | ||
70 | ```bash | 70 | ```bash |
71 | cd vue-vben-admin | 71 | cd vue-vben-admin |
72 | 72 | ||
73 | -yarn install | 73 | +pnpm install |
74 | 74 | ||
75 | ``` | 75 | ``` |
76 | 76 | ||
77 | - run | 77 | - run |
78 | 78 | ||
79 | ```bash | 79 | ```bash |
80 | -yarn serve | 80 | +pnpm serve |
81 | ``` | 81 | ``` |
82 | 82 | ||
83 | - build | 83 | - build |
84 | 84 | ||
85 | ```bash | 85 | ```bash |
86 | -yarn build | 86 | +pnpm build |
87 | ``` | 87 | ``` |
88 | 88 | ||
89 | ## Change Log | 89 | ## Change Log |
README.zh-CN.md
@@ -70,20 +70,20 @@ git clone https://github.com/anncwb/vue-vben-admin.git | @@ -70,20 +70,20 @@ git clone https://github.com/anncwb/vue-vben-admin.git | ||
70 | ```bash | 70 | ```bash |
71 | cd vue-vben-admin | 71 | cd vue-vben-admin |
72 | 72 | ||
73 | -yarn install | 73 | +pnpm install |
74 | 74 | ||
75 | ``` | 75 | ``` |
76 | 76 | ||
77 | - 运行 | 77 | - 运行 |
78 | 78 | ||
79 | ```bash | 79 | ```bash |
80 | -yarn serve | 80 | +pnpm serve |
81 | ``` | 81 | ``` |
82 | 82 | ||
83 | - 打包 | 83 | - 打包 |
84 | 84 | ||
85 | ```bash | 85 | ```bash |
86 | -yarn build | 86 | +pnpm build |
87 | ``` | 87 | ``` |
88 | 88 | ||
89 | ## 更新日志 | 89 | ## 更新日志 |
package.json
@@ -7,12 +7,12 @@ | @@ -7,12 +7,12 @@ | ||
7 | "url": "https://github.com/anncwb" | 7 | "url": "https://github.com/anncwb" |
8 | }, | 8 | }, |
9 | "scripts": { | 9 | "scripts": { |
10 | - "bootstrap": "yarn install", | 10 | + "bootstrap": "pnpm install", |
11 | "serve": "npm run dev", | 11 | "serve": "npm run dev", |
12 | "dev": "vite", | 12 | "dev": "vite", |
13 | "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", | 13 | "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", |
14 | "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", | 14 | "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", |
15 | - "build:no-cache": "yarn clean:cache && npm run build", | 15 | + "build:no-cache": "pnpm clean:cache && npm run build", |
16 | "report": "cross-env REPORT=true npm run build", | 16 | "report": "cross-env REPORT=true npm run build", |
17 | "type:check": "vue-tsc --noEmit --skipLibCheck", | 17 | "type:check": "vue-tsc --noEmit --skipLibCheck", |
18 | "preview": "npm run build && vite preview", | 18 | "preview": "npm run build && vite preview", |
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | "test:unit-coverage": "jest --coverage", | 28 | "test:unit-coverage": "jest --coverage", |
29 | "test:gzip": "npx http-server dist --cors --gzip -c-1", | 29 | "test:gzip": "npx http-server dist --cors --gzip -c-1", |
30 | "test:br": "npx http-server dist --cors --brotli -c-1", | 30 | "test:br": "npx http-server dist --cors --brotli -c-1", |
31 | - "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", | 31 | + "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", |
32 | "prepare": "husky install", | 32 | "prepare": "husky install", |
33 | "gen:icon": "esno ./build/generate/icon/index.ts" | 33 | "gen:icon": "esno ./build/generate/icon/index.ts" |
34 | }, | 34 | }, |