diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index cbc10b9e3..44fd02c6a 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -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", diff --git a/packages/vant-use/changelog.md b/packages/vant-use/changelog.md index 0290f68f6..2d6e500b2 100644 --- a/packages/vant-use/changelog.md +++ b/packages/vant-use/changelog.md @@ -1,5 +1,9 @@ # Changelog +## v1.6.0 + +- add new `useRaf` method + ## v1.5.1 - add `vue` as peer dependencies diff --git a/packages/vant/package.json b/packages/vant/package.json index 9de551851..04c22e8ae 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -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": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ddf19201..558e14f62 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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