mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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'
|
ref: 'main'
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
run: npm i pnpm@7 -g
|
run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
run: npm i pnpm@7 -g
|
run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
run: npm i pnpm@7 -g
|
run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
run: npm i pnpm@7 -g
|
run: corepack enable
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
"*.{ts,tsx,js,vue}": "eslint --fix"
|
"*.{ts,tsx,js,vue}": "eslint --fix"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"pnpm": ">= 7.0.0"
|
"pnpm": ">= 8.0.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@7.20.0",
|
"packageManager": "pnpm@8.1.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vant/cli": "workspace:*",
|
"@vant/cli": "workspace:*",
|
||||||
"@vant/eslint-config": "workspace:*",
|
"@vant/eslint-config": "workspace:*",
|
||||||
|
@ -26,9 +26,6 @@ git clone git@github.com:vant-ui/vant.git
|
|||||||
# Enable pnpm package manager
|
# Enable pnpm package manager
|
||||||
corepack enable
|
corepack enable
|
||||||
|
|
||||||
# If you can't use corepack, you can also install pnpm manually
|
|
||||||
npm install -g pnpm@7
|
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
pnpm i
|
pnpm i
|
||||||
|
|
||||||
|
@ -26,9 +26,6 @@ git clone git@github.com:vant-ui/vant.git
|
|||||||
# 启用 pnpm 包管理器
|
# 启用 pnpm 包管理器
|
||||||
corepack enable
|
corepack enable
|
||||||
|
|
||||||
# 如果无法使用 corepack,你也可以手动安装 pnpm
|
|
||||||
npm install -g pnpm@7
|
|
||||||
|
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
pnpm i
|
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