chore: bump pnpm version to 7.11 (#11021)

This commit is contained in:
neverland 2022-09-10 12:46:55 +08:00 committed by GitHub
parent 6f910c9913
commit 69d3ba000c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 30 deletions

2
.npmrc
View File

@ -1 +1,3 @@
registry=https://registry.npmmirror.com/ registry=https://registry.npmmirror.com/
strict-peer-dependencies=false

View File

@ -14,7 +14,7 @@
"*.{ts,tsx,js,vue,less}": "prettier --write", "*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix" "*.{ts,tsx,js,vue}": "eslint --fix"
}, },
"packageManager": "pnpm@7.1.6", "packageManager": "pnpm@7.11.0",
"devDependencies": { "devDependencies": {
"@vant/cli": "workspace:*", "@vant/cli": "workspace:*",
"@vant/eslint-config": "workspace:*", "@vant/eslint-config": "workspace:*",

View File

@ -4,7 +4,7 @@
感谢你使用 Vant。 感谢你使用 Vant。
以下是关于向 Vant 提交反馈或代码的指南。在向 Vant 提交 issue 或者 PR 之前,请先花几分钟时间阅读以下文字 以下是关于向 Vant 提交反馈或代码的指南。在向 Vant 提交 issue 或者 PR 之前,请先花几分钟时间阅读以下内容
### Issue 规范 ### Issue 规范
@ -15,7 +15,7 @@
### 本地开发 ### 本地开发
在进行本地开发前,请先确保你的开发环境中安装了 [Node.js >= 14](https://nodejs.org) 和 [pnpm](https://pnpm.io). 在进行本地开发前,请先确保你的开发环境中安装了 [Node.js >= 14.19.0](https://nodejs.org)。
按照下面的步骤操作,即可在本地开发 Vant 组件。 按照下面的步骤操作,即可在本地开发 Vant 组件。
@ -23,6 +23,12 @@
# 克隆仓库 # 克隆仓库
git clone git@github.com:vant-ui/vant.git git clone git@github.com:vant-ui/vant.git
# 启用 pnpm 包管理器
corepack enable
# 如果无法使用 corepack你也可以手动安装 pnpm
npm install -g pnpm@7
# 安装依赖 # 安装依赖
pnpm i pnpm i

54
pnpm-lock.yaml generated
View File

@ -1,4 +1,4 @@
lockfileVersion: 5.3 lockfileVersion: 5.4
importers: importers:
@ -136,7 +136,7 @@ importers:
'@babel/core': 7.18.13 '@babel/core': 7.18.13
'@babel/preset-typescript': 7.18.6_@babel+core@7.18.13 '@babel/preset-typescript': 7.18.6_@babel+core@7.18.13
'@docsearch/css': 3.2.1 '@docsearch/css': 3.2.1
'@docsearch/js': 3.2.1_react-dom@18.2.0+react@18.2.0 '@docsearch/js': 3.2.1_biqbaboplfbrettd7655fr4n2y
'@types/jest': 27.5.2 '@types/jest': 27.5.2
'@vant/eslint-config': link:../vant-eslint-config '@vant/eslint-config': link:../vant-eslint-config
'@vant/touch-emulator': link:../vant-touch-emulator '@vant/touch-emulator': link:../vant-touch-emulator
@ -160,7 +160,7 @@ importers:
jest-serializer-html: 7.1.0 jest-serializer-html: 7.1.0
less: 4.1.3 less: 4.1.3
markdown-it: 12.3.2 markdown-it: 12.3.2
markdown-it-anchor: 8.6.4_d643ca6eb40ae68ab966a77bead78073 markdown-it-anchor: 8.6.4_2zb4u3vubltivolgu556vv4aom
nano-staged: 0.8.0 nano-staged: 0.8.0
nanospinner: 1.1.0 nanospinner: 1.1.0
picocolors: 1.0.0 picocolors: 1.0.0
@ -195,11 +195,11 @@ importers:
eslint-plugin-vue: ^9.4.0 eslint-plugin-vue: ^9.4.0
typescript: ^4.8.2 typescript: ^4.8.2
dependencies: dependencies:
'@typescript-eslint/eslint-plugin': 5.36.1_586c56b3bc76dec8ef0f241fb0cda488 '@typescript-eslint/eslint-plugin': 5.36.1_lbwfnm54o3pmr3ypeqp3btnera
'@typescript-eslint/parser': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
eslint-config-airbnb-base: 15.0.0_281cc4e22b3419695ab0c330ccaae282 eslint-config-airbnb-base: 15.0.0_faomjyrlgqmwswvqymymzkxcqi
eslint-config-prettier: 8.5.0_eslint@8.23.0 eslint-config-prettier: 8.5.0_eslint@8.23.0
eslint-plugin-import: 2.26.0_b62f4c66ab291fb5cb0e4045c2ba4587 eslint-plugin-import: 2.26.0_wyxuyzvlfep3lsyoibc4fosfq4
eslint-plugin-vue: 9.4.0_eslint@8.23.0 eslint-plugin-vue: 9.4.0_eslint@8.23.0
devDependencies: devDependencies:
enhanced-resolve: 5.10.0 enhanced-resolve: 5.10.0
@ -898,10 +898,10 @@ packages:
resolution: {integrity: sha512-gaP6TxxwQC+K8D6TRx5WULUWKrcbzECOPA2KCVMuI+6C7dNiGUk5yXXzVhc5sld79XKYLnO9DRTI4mjXDYkh+g==} resolution: {integrity: sha512-gaP6TxxwQC+K8D6TRx5WULUWKrcbzECOPA2KCVMuI+6C7dNiGUk5yXXzVhc5sld79XKYLnO9DRTI4mjXDYkh+g==}
dev: false dev: false
/@docsearch/js/3.2.1_react-dom@18.2.0+react@18.2.0: /@docsearch/js/3.2.1_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-H1PekEtSeS0msetR2YGGey2w7jQ2wAKfGODJvQTygSwMgUZ+2DHpzUgeDyEBIXRIfaBcoQneqrzsljM62pm6Xg==} resolution: {integrity: sha512-H1PekEtSeS0msetR2YGGey2w7jQ2wAKfGODJvQTygSwMgUZ+2DHpzUgeDyEBIXRIfaBcoQneqrzsljM62pm6Xg==}
dependencies: dependencies:
'@docsearch/react': 3.2.1_react-dom@18.2.0+react@18.2.0 '@docsearch/react': 3.2.1_biqbaboplfbrettd7655fr4n2y
preact: 10.8.2 preact: 10.8.2
transitivePeerDependencies: transitivePeerDependencies:
- '@algolia/client-search' - '@algolia/client-search'
@ -910,7 +910,7 @@ packages:
- react-dom - react-dom
dev: false dev: false
/@docsearch/react/3.2.1_react-dom@18.2.0+react@18.2.0: /@docsearch/react/3.2.1_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-EzTQ/y82s14IQC5XVestiK/kFFMe2aagoYFuTAIfIb/e+4FU7kSMKonRtLwsCiLQHmjvNQq+HO+33giJ5YVtaQ==} resolution: {integrity: sha512-EzTQ/y82s14IQC5XVestiK/kFFMe2aagoYFuTAIfIb/e+4FU7kSMKonRtLwsCiLQHmjvNQq+HO+33giJ5YVtaQ==}
peerDependencies: peerDependencies:
'@types/react': '>= 16.8.0 < 19.0.0' '@types/react': '>= 16.8.0 < 19.0.0'
@ -1565,7 +1565,7 @@ packages:
dependencies: dependencies:
'@types/yargs-parser': 21.0.0 '@types/yargs-parser': 21.0.0
/@typescript-eslint/eslint-plugin/5.36.1_586c56b3bc76dec8ef0f241fb0cda488: /@typescript-eslint/eslint-plugin/5.36.1_lbwfnm54o3pmr3ypeqp3btnera:
resolution: {integrity: sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA==} resolution: {integrity: sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -1576,10 +1576,10 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/scope-manager': 5.36.1 '@typescript-eslint/scope-manager': 5.36.1
'@typescript-eslint/type-utils': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/type-utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
'@typescript-eslint/utils': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
debug: 4.3.4 debug: 4.3.4
eslint: 8.23.0 eslint: 8.23.0
functional-red-black-tree: 1.0.1 functional-red-black-tree: 1.0.1
@ -1592,7 +1592,7 @@ packages:
- supports-color - supports-color
dev: false dev: false
/@typescript-eslint/parser/5.36.1_eslint@8.23.0+typescript@4.8.2: /@typescript-eslint/parser/5.36.1_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A==} resolution: {integrity: sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -1620,7 +1620,7 @@ packages:
'@typescript-eslint/visitor-keys': 5.36.1 '@typescript-eslint/visitor-keys': 5.36.1
dev: false dev: false
/@typescript-eslint/type-utils/5.36.1_eslint@8.23.0+typescript@4.8.2: /@typescript-eslint/type-utils/5.36.1_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q==} resolution: {integrity: sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -1631,7 +1631,7 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2 '@typescript-eslint/typescript-estree': 5.36.1_typescript@4.8.2
'@typescript-eslint/utils': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/utils': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
debug: 4.3.4 debug: 4.3.4
eslint: 8.23.0 eslint: 8.23.0
tsutils: 3.21.0_typescript@4.8.2 tsutils: 3.21.0_typescript@4.8.2
@ -1666,7 +1666,7 @@ packages:
- supports-color - supports-color
dev: false dev: false
/@typescript-eslint/utils/5.36.1_eslint@8.23.0+typescript@4.8.2: /@typescript-eslint/utils/5.36.1_yqf6kl63nyoq5megxukfnom5rm:
resolution: {integrity: sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg==} resolution: {integrity: sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -2599,8 +2599,8 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
hasBin: true hasBin: true
dependencies: dependencies:
is-text-path: 1.0.1
JSONStream: 1.3.5 JSONStream: 1.3.5
is-text-path: 1.0.1
lodash: 4.17.21 lodash: 4.17.21
meow: 8.1.2 meow: 8.1.2
split2: 3.2.2 split2: 3.2.2
@ -3272,7 +3272,7 @@ packages:
source-map: 0.6.1 source-map: 0.6.1
dev: false dev: false
/eslint-config-airbnb-base/15.0.0_281cc4e22b3419695ab0c330ccaae282: /eslint-config-airbnb-base/15.0.0_faomjyrlgqmwswvqymymzkxcqi:
resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==} resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==}
engines: {node: ^10.12.0 || >=12.0.0} engines: {node: ^10.12.0 || >=12.0.0}
peerDependencies: peerDependencies:
@ -3281,7 +3281,7 @@ packages:
dependencies: dependencies:
confusing-browser-globals: 1.0.11 confusing-browser-globals: 1.0.11
eslint: 8.23.0 eslint: 8.23.0
eslint-plugin-import: 2.26.0_b62f4c66ab291fb5cb0e4045c2ba4587 eslint-plugin-import: 2.26.0_wyxuyzvlfep3lsyoibc4fosfq4
object.assign: 4.1.2 object.assign: 4.1.2
object.entries: 1.1.5 object.entries: 1.1.5
semver: 6.3.0 semver: 6.3.0
@ -3305,7 +3305,7 @@ packages:
- supports-color - supports-color
dev: false dev: false
/eslint-module-utils/2.7.3_f6f598d58d3bd4640126d6600a4285f5: /eslint-module-utils/2.7.3_632zrvmnhpkgiajg2zqauquf6u:
resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -3323,7 +3323,7 @@ packages:
eslint-import-resolver-webpack: eslint-import-resolver-webpack:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
debug: 3.2.7 debug: 3.2.7
eslint-import-resolver-node: 0.3.6 eslint-import-resolver-node: 0.3.6
find-up: 2.1.0 find-up: 2.1.0
@ -3331,7 +3331,7 @@ packages:
- supports-color - supports-color
dev: false dev: false
/eslint-plugin-import/2.26.0_b62f4c66ab291fb5cb0e4045c2ba4587: /eslint-plugin-import/2.26.0_wyxuyzvlfep3lsyoibc4fosfq4:
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -3341,14 +3341,14 @@ packages:
'@typescript-eslint/parser': '@typescript-eslint/parser':
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 5.36.1_eslint@8.23.0+typescript@4.8.2 '@typescript-eslint/parser': 5.36.1_yqf6kl63nyoq5megxukfnom5rm
array-includes: 3.1.5 array-includes: 3.1.5
array.prototype.flat: 1.3.0 array.prototype.flat: 1.3.0
debug: 2.6.9 debug: 2.6.9
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.23.0 eslint: 8.23.0
eslint-import-resolver-node: 0.3.6 eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.3_f6f598d58d3bd4640126d6600a4285f5 eslint-module-utils: 2.7.3_632zrvmnhpkgiajg2zqauquf6u
has: 1.0.3 has: 1.0.3
is-core-module: 2.9.0 is-core-module: 2.9.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -5337,7 +5337,7 @@ packages:
engines: {node: '>=8'} engines: {node: '>=8'}
dev: false dev: false
/markdown-it-anchor/8.6.4_d643ca6eb40ae68ab966a77bead78073: /markdown-it-anchor/8.6.4_2zb4u3vubltivolgu556vv4aom:
resolution: {integrity: sha512-Ul4YVYZNxMJYALpKtu+ZRdrryYt/GlQ5CK+4l1bp/gWXOG2QWElt6AqF3Mih/wfUKdZbNAZVXGR73/n6U/8img==} resolution: {integrity: sha512-Ul4YVYZNxMJYALpKtu+ZRdrryYt/GlQ5CK+4l1bp/gWXOG2QWElt6AqF3Mih/wfUKdZbNAZVXGR73/n6U/8img==}
peerDependencies: peerDependencies:
'@types/markdown-it': '*' '@types/markdown-it': '*'