chore: use workspace protocol for internal deps (#12225)

This commit is contained in:
neverland 2023-08-27 16:07:22 +08:00 committed by GitHub
parent d5781f3c2c
commit 57dc768a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 8 deletions

View File

@ -48,8 +48,8 @@
"dependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-typescript": "^7.18.6",
"@vant/eslint-config": "^4.0.0",
"@vant/touch-emulator": "^1.4.0",
"@vant/eslint-config": "workspace:^",
"@vant/touch-emulator": "workspace:^",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/babel-plugin-jsx": "^1.1.1",

View File

@ -1,5 +1,9 @@
# Changelog
## v1.6.0
- add new `useRaf` method
## v1.5.1
- add `vue` as peer dependencies

View File

@ -46,8 +46,8 @@
"components"
],
"dependencies": {
"@vant/popperjs": "^1.3.0",
"@vant/use": "^1.5.1",
"@vant/popperjs": "workspace:^",
"@vant/use": "workspace:^",
"@vue/shared": "^3.0.0"
},
"peerDependencies": {

8
pnpm-lock.yaml generated
View File

@ -58,10 +58,10 @@ importers:
packages/vant:
dependencies:
'@vant/popperjs':
specifier: ^1.3.0
specifier: workspace:^
version: link:../vant-popperjs
'@vant/use':
specifier: ^1.5.1
specifier: workspace:^
version: link:../vant-use
'@vue/shared':
specifier: ^3.0.0
@ -143,10 +143,10 @@ importers:
specifier: ^7.18.6
version: 7.22.5(@babel/core@7.22.10)
'@vant/eslint-config':
specifier: ^4.0.0
specifier: workspace:^
version: link:../vant-eslint-config
'@vant/touch-emulator':
specifier: ^1.4.0
specifier: workspace:^
version: link:../vant-touch-emulator
'@vitejs/plugin-vue':
specifier: ^4.0.0