mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
chore: bump pnpm to v8 (#11726)
This commit is contained in:
parent
53260297bd
commit
15a41302b3
2
.github/workflows/deploy-v4-site.yml
vendored
2
.github/workflows/deploy-v4-site.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
ref: 'main'
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@7 -g
|
||||
run: corepack enable
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@7 -g
|
||||
run: corepack enable
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
@ -37,7 +37,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@7 -g
|
||||
run: corepack enable
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm i pnpm@7 -g
|
||||
run: corepack enable
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
|
@ -16,9 +16,9 @@
|
||||
"*.{ts,tsx,js,vue}": "eslint --fix"
|
||||
},
|
||||
"engines": {
|
||||
"pnpm": ">= 7.0.0"
|
||||
"pnpm": ">= 8.0.0"
|
||||
},
|
||||
"packageManager": "pnpm@7.20.0",
|
||||
"packageManager": "pnpm@8.1.0",
|
||||
"devDependencies": {
|
||||
"@vant/cli": "workspace:*",
|
||||
"@vant/eslint-config": "workspace:*",
|
||||
|
@ -26,9 +26,6 @@ git clone git@github.com:vant-ui/vant.git
|
||||
# Enable pnpm package manager
|
||||
corepack enable
|
||||
|
||||
# If you can't use corepack, you can also install pnpm manually
|
||||
npm install -g pnpm@7
|
||||
|
||||
# Install dependencies
|
||||
pnpm i
|
||||
|
||||
|
@ -26,9 +26,6 @@ git clone git@github.com:vant-ui/vant.git
|
||||
# 启用 pnpm 包管理器
|
||||
corepack enable
|
||||
|
||||
# 如果无法使用 corepack,你也可以手动安装 pnpm
|
||||
npm install -g pnpm@7
|
||||
|
||||
# 安装依赖
|
||||
pnpm i
|
||||
|
||||
|
2592
pnpm-lock.yaml
generated
2592
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user