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": { "dependencies": {
"@babel/core": "^7.18.13", "@babel/core": "^7.18.13",
"@babel/preset-typescript": "^7.18.6", "@babel/preset-typescript": "^7.18.6",
"@vant/eslint-config": "^4.0.0", "@vant/eslint-config": "workspace:^",
"@vant/touch-emulator": "^1.4.0", "@vant/touch-emulator": "workspace:^",
"@vitejs/plugin-vue": "^4.0.0", "@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0", "@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/babel-plugin-jsx": "^1.1.1", "@vue/babel-plugin-jsx": "^1.1.1",

View File

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

View File

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

8
pnpm-lock.yaml generated
View File

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