Skip to content

Commit c5f1e01

Browse files
committed
chore: update vue and vite
1 parent c9a48c9 commit c5f1e01

File tree

4 files changed

+39
-28
lines changed

4 files changed

+39
-28
lines changed

bun.lockb

735 Bytes
Binary file not shown.

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,38 @@
1212
"tsc": "bun x vue-tsc"
1313
},
1414
"dependencies": {
15-
"@arco-design/web-vue": "^2.51.2",
16-
"@vueuse/core": "^10.4.1",
17-
"@vueuse/integrations": "^10.4.1",
18-
"axios": "^1.5.0",
19-
"dayjs": "^1.11.9",
15+
"@arco-design/web-vue": "^2.54.1",
16+
"@vueuse/core": "^10.7.1",
17+
"@vueuse/integrations": "^10.7.1",
18+
"axios": "^1.6.4",
19+
"dayjs": "^1.11.10",
2020
"echarts": "^5.4.3",
2121
"less": "^4.2.0",
2222
"markdown-it-shiki": "^0.9.0",
23-
"pinia": "^2.1.6",
24-
"unocss": "^0.55.7",
25-
"vue": "^3.3.4",
26-
"vue-i18n": "^9.4.1",
27-
"vue-router": "^4.2.4"
23+
"pinia": "^2.1.7",
24+
"unocss": "^0.58.3",
25+
"vue": "^3.4.5",
26+
"vue-i18n": "^9.8.0",
27+
"vue-router": "^4.2.5"
2828
},
2929
"devDependencies": {
30-
"@intlify/unplugin-vue-i18n": "^1.2.0",
30+
"@intlify/unplugin-vue-i18n": "^2.0.0",
3131
"@types/bun": "^1.0.0",
32-
"@typescript-eslint/eslint-plugin": "^6.7.0",
33-
"@typescript-eslint/parser": "^6.7.0",
34-
"@vitejs/plugin-vue": "^4.3.4",
35-
"eslint": "^8.49.0",
36-
"eslint-config-prettier": "^9.0.0",
37-
"eslint-plugin-vue": "^9.17.0",
38-
"prettier": "^3.0.3",
39-
"typescript": "^5.2.2",
40-
"unplugin-auto-import": "^0.16.6",
41-
"unplugin-vue-components": "^0.25.2",
42-
"unplugin-vue-router": "^0.6.4",
43-
"vite": "^4.4.9",
44-
"vite-plugin-vue-devtools": "^1.0.0-rc.8",
32+
"@typescript-eslint/eslint-plugin": "^6.17.0",
33+
"@typescript-eslint/parser": "^6.17.0",
34+
"@vitejs/plugin-vue": "^5.0.2",
35+
"eslint": "^8.56.0",
36+
"eslint-config-prettier": "^9.1.0",
37+
"eslint-plugin-vue": "^9.19.2",
38+
"prettier": "^3.1.1",
39+
"typescript": "^5.3.3",
40+
"unplugin-auto-import": "^0.17.3",
41+
"unplugin-vue-components": "^0.26.0",
42+
"unplugin-vue-router": "^0.7.0",
43+
"vite": "^5.0.10",
44+
"vite-plugin-vue-devtools": "^7.0.5",
4545
"vite-plugin-vue-markdown": "^0.23.8",
46-
"vue-eslint-parser": "^9.3.1",
47-
"vue-tsc": "^1.8.11"
46+
"vue-eslint-parser": "^9.3.2",
47+
"vue-tsc": "^1.8.27"
4848
}
4949
}

src/typings/.eslintrc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,13 @@
295295
"watchThrottled": true,
296296
"watchTriggerable": true,
297297
"watchWithFilter": true,
298-
"whenever": true
298+
"whenever": true,
299+
"ExtractDefaultPropTypes": true,
300+
"ExtractPropTypes": true,
301+
"ExtractPublicPropTypes": true,
302+
"WritableComputedRef": true,
303+
"injectLocal": true,
304+
"provideLocal": true,
305+
"useClipboardItems": true
299306
}
300307
}

src/typings/imports.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ declare global {
4343
const h: typeof import('vue')['h']
4444
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
4545
const inject: typeof import('vue')['inject']
46+
const injectLocal: typeof import('@vueuse/core')['injectLocal']
4647
const isDefined: typeof import('@vueuse/core')['isDefined']
4748
const isProxy: typeof import('vue')['isProxy']
4849
const isReactive: typeof import('vue')['isReactive']
@@ -77,6 +78,7 @@ declare global {
7778
const onUpdated: typeof import('vue')['onUpdated']
7879
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
7980
const provide: typeof import('vue')['provide']
81+
const provideLocal: typeof import('@vueuse/core')['provideLocal']
8082
const reactify: typeof import('@vueuse/core')['reactify']
8183
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
8284
const reactive: typeof import('vue')['reactive']
@@ -143,6 +145,7 @@ declare global {
143145
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
144146
const useCached: typeof import('@vueuse/core')['useCached']
145147
const useClipboard: typeof import('@vueuse/core')['useClipboard']
148+
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
146149
const useCloned: typeof import('@vueuse/core')['useCloned']
147150
const useColorMode: typeof import('@vueuse/core')['useColorMode']
148151
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
@@ -298,5 +301,6 @@ declare global {
298301
// for type re-export
299302
declare global {
300303
// @ts-ignore
301-
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
304+
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
305+
import('vue')
302306
}

0 commit comments

Comments
 (0)