Skip to content

Commit 6ee72cf

Browse files
committed
chore(deps): ⬆️ upgrade unplugin
1 parent 3ec94e9 commit 6ee72cf

File tree

5 files changed

+120
-116
lines changed

5 files changed

+120
-116
lines changed

.eslintrc-auto-import.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"nextTick": true,
2929
"onActivated": true,
3030
"onBeforeMount": true,
31+
"onBeforeRouteLeave": true,
32+
"onBeforeRouteUpdate": true,
3133
"onBeforeUnmount": true,
3234
"onBeforeUpdate": true,
3335
"onDeactivated": true,
@@ -57,6 +59,7 @@
5759
"useAttrs": true,
5860
"useCssModule": true,
5961
"useCssVars": true,
62+
"useLink": true,
6063
"useRoute": true,
6164
"useRouter": true,
6265
"useSlots": true,

auto-imports.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ declare global {
2929
const nextTick: typeof import('vue')['nextTick']
3030
const onActivated: typeof import('vue')['onActivated']
3131
const onBeforeMount: typeof import('vue')['onBeforeMount']
32+
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
33+
const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
3234
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
3335
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
3436
const onDeactivated: typeof import('vue')['onDeactivated']
@@ -58,6 +60,7 @@ declare global {
5860
const useAttrs: typeof import('vue')['useAttrs']
5961
const useCssModule: typeof import('vue')['useCssModule']
6062
const useCssVars: typeof import('vue')['useCssVars']
63+
const useLink: typeof import('vue-router')['useLink']
6164
const useRoute: typeof import('vue-router')['useRoute']
6265
const useRouter: typeof import('vue-router')['useRouter']
6366
const useSlots: typeof import('vue')['useSlots']

components.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// generated by unplugin-vue-components
22
// We suggest you to commit this file into source control
3-
// Read more: https://github.com/vuejs/vue-next/pull/3399
3+
// Read more: https://github.com/vuejs/core/pull/3399
44
import '@vue/runtime-core'
55

6+
export {}
7+
68
declare module '@vue/runtime-core' {
79
export interface GlobalComponents {
810
Chart: typeof import('./src/components/chart/index.vue')['default']
@@ -16,5 +18,3 @@ declare module '@vue/runtime-core' {
1618
VanTag: typeof import('vant/es')['Tag']
1719
}
1820
}
19-
20-
export {}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"slash2": "^2.0.0",
6464
"terser": "^5.14.2",
6565
"typescript": "^4.7.4",
66-
"unplugin-auto-import": "^0.9.2",
67-
"unplugin-vue-components": "^0.19.6",
66+
"unplugin-auto-import": "^0.11.3",
67+
"unplugin-vue-components": "^0.22.9",
6868
"vite": "^3.0.0",
6969
"vite-plugin-vconsole": "^1.2.2",
7070
"vitest": "^0.22.0",

0 commit comments

Comments
 (0)