Skip to content

Commit 3bc08d1

Browse files
committed
build: update dependencies
1 parent bce1a54 commit 3bc08d1

File tree

12 files changed

+5304
-9779
lines changed

12 files changed

+5304
-9779
lines changed

.eslintignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ dist-ssr
77
node_modules
88
.idea/
99
*.log
10-
storybook-static

.storybook/main.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

.storybook/preview.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"prettier.enable": false,
2424
"editor.codeActionsOnSave": {
25-
"source.fixAll.eslint": true
25+
"source.fixAll.eslint": "explicit"
2626
},
2727
"files.associations": {
2828
"*.css": "postcss"

auto-imports.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ declare global {
3737
const h: typeof import('vue')['h']
3838
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
3939
const inject: typeof import('vue')['inject']
40+
const injectLocal: typeof import('@vueuse/core')['injectLocal']
4041
const isDark: typeof import('./src/composables/dark')['isDark']
4142
const isDefined: typeof import('@vueuse/core')['isDefined']
4243
const isProxy: typeof import('vue')['isProxy']
@@ -67,6 +68,7 @@ declare global {
6768
const onUpdated: typeof import('vue')['onUpdated']
6869
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
6970
const provide: typeof import('vue')['provide']
71+
const provideLocal: typeof import('@vueuse/core')['provideLocal']
7072
const reactify: typeof import('@vueuse/core')['reactify']
7173
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
7274
const reactive: typeof import('vue')['reactive']
@@ -131,6 +133,7 @@ declare global {
131133
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
132134
const useCached: typeof import('@vueuse/core')['useCached']
133135
const useClipboard: typeof import('@vueuse/core')['useClipboard']
136+
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
134137
const useCloned: typeof import('@vueuse/core')['useCloned']
135138
const useColorMode: typeof import('@vueuse/core')['useColorMode']
136139
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
@@ -288,11 +291,13 @@ declare global {
288291
// for type re-export
289292
declare global {
290293
// @ts-ignore
291-
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
294+
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
295+
import('vue')
292296
}
293297
// for vue template auto import
294298
import { UnwrapRef } from 'vue'
295299
declare module 'vue' {
300+
interface GlobalComponents {}
296301
interface ComponentCustomProperties {
297302
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
298303
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
@@ -326,6 +331,7 @@ declare module 'vue' {
326331
readonly h: UnwrapRef<typeof import('vue')['h']>
327332
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
328333
readonly inject: UnwrapRef<typeof import('vue')['inject']>
334+
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
329335
readonly isDark: UnwrapRef<typeof import('./src/composables/dark')['isDark']>
330336
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
331337
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
@@ -356,6 +362,7 @@ declare module 'vue' {
356362
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
357363
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
358364
readonly provide: UnwrapRef<typeof import('vue')['provide']>
365+
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
359366
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
360367
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
361368
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -420,6 +427,7 @@ declare module 'vue' {
420427
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
421428
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
422429
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
430+
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
423431
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
424432
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
425433
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
@@ -575,6 +583,7 @@ declare module 'vue' {
575583
}
576584
}
577585
declare module '@vue/runtime-core' {
586+
interface GlobalComponents {}
578587
interface ComponentCustomProperties {
579588
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
580589
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
@@ -608,6 +617,7 @@ declare module '@vue/runtime-core' {
608617
readonly h: UnwrapRef<typeof import('vue')['h']>
609618
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
610619
readonly inject: UnwrapRef<typeof import('vue')['inject']>
620+
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
611621
readonly isDark: UnwrapRef<typeof import('./src/composables/dark')['isDark']>
612622
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
613623
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
@@ -638,6 +648,7 @@ declare module '@vue/runtime-core' {
638648
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
639649
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
640650
readonly provide: UnwrapRef<typeof import('vue')['provide']>
651+
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
641652
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
642653
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
643654
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -702,6 +713,7 @@ declare module '@vue/runtime-core' {
702713
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
703714
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
704715
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
716+
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
705717
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
706718
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
707719
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>

eslint.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import antfu from '@antfu/eslint-config'
2+
3+
export default antfu(
4+
{
5+
vue: true,
6+
typescript: true,
7+
ignores: ['src/**/*.json', 'shims.d.ts', 'onelabeler.d.ts'],
8+
},
9+
{
10+
files: ['src/**/*.vue', 'src/**/*.ts'],
11+
rules: {
12+
'arrow-parens': ['error', 'always'],
13+
'style/arrow-parens': ['error', 'always'],
14+
'curly': ['error', 'multi-line'],
15+
'antfu/if-newline': ['off'],
16+
'antfu/top-level-function': ['off'],
17+
},
18+
},
19+
)

package.json

Lines changed: 38 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,62 @@
11
{
2+
"type": "module",
23
"private": true,
3-
"packageManager": "pnpm@8.6.12",
4+
"packageManager": "pnpm@9.0.6",
45
"scripts": {
56
"build": "vite build",
67
"dev": "vite --port 3333 --open",
78
"lint": "eslint .",
89
"typecheck": "vue-tsc --noEmit",
910
"preview": "vite preview",
1011
"test": "vitest",
11-
"up": "taze major -I",
12-
"storybook": "storybook dev -p 6006",
13-
"build-storybook": "storybook build"
12+
"up": "taze major -I"
1413
},
1514
"dependencies": {
16-
"@vueuse/core": "^10.3.0",
15+
"@vueuse/core": "^10.9.0",
1716
"file-saver": "^2.0.5",
18-
"fuse.js": "^6.6.2",
17+
"fuse.js": "^7.0.0",
1918
"iso-639-3": "^3.0.1",
2019
"lodash": "^4.17.21",
21-
"pinia": "^2.1.6",
22-
"pinia-plugin-persistedstate": "^3.2.0",
23-
"uuid": "^9.0.0",
20+
"pinia": "^2.1.7",
21+
"pinia-plugin-persistedstate": "^3.2.1",
22+
"uuid": "^9.0.1",
2423
"v-object-inspector": "^0.1.3",
25-
"vue": "^3.3.4",
26-
"vue-router": "^4.2.4"
24+
"vue": "^3.4.25",
25+
"vue-router": "^4.3.2"
2726
},
2827
"devDependencies": {
29-
"@antfu/eslint-config": "^0.40.2",
30-
"@iconify-json/fa6-brands": "^1.1.13",
31-
"@iconify-json/fa6-regular": "^1.1.13",
32-
"@iconify-json/fa6-solid": "^1.1.15",
33-
"@storybook/addon-essentials": "7.2.3",
34-
"@storybook/addon-interactions": "7.2.3",
35-
"@storybook/addon-links": "7.2.3",
36-
"@storybook/blocks": "7.2.3",
37-
"@storybook/testing-library": "0.2.0",
38-
"@storybook/vue3": "7.2.3",
39-
"@storybook/vue3-vite": "7.2.3",
40-
"@types/file-saver": "^2.0.5",
41-
"@types/lodash": "^4.14.197",
42-
"@types/node": "^20.5.0",
43-
"@types/uuid": "^9.0.2",
44-
"@unocss/eslint-config": "^0.55.0",
45-
"@unocss/reset": "^0.55.0",
46-
"@vitejs/plugin-vue": "^4.2.3",
47-
"@vue-macros/volar": "^0.13.3",
48-
"@vue/test-utils": "^2.4.1",
49-
"eslint": "^8.47.0",
50-
"eslint-plugin-storybook": "^0.6.13",
51-
"jsdom": "^22.1.0",
52-
"pnpm": "^8.6.12",
53-
"react": "18.2.0",
54-
"react-dom": "18.2.0",
55-
"sass": "^1.65.1",
56-
"storybook": "7.2.3",
57-
"taze": "^0.11.2",
58-
"typescript": "^5.1.6",
59-
"unocss": "^0.55.0",
60-
"unplugin-auto-import": "^0.16.6",
61-
"unplugin-vue-components": "^0.25.1",
62-
"unplugin-vue-macros": "^2.4.6",
63-
"vite": "^4.4.9",
64-
"vite-plugin-pages": "^0.31.0",
65-
"vitest": "^0.34.1",
66-
"vue-tsc": "^1.8.8"
28+
"@antfu/eslint-config": "^2.16.0",
29+
"@iconify-json/fa6-brands": "^1.1.19",
30+
"@iconify-json/fa6-regular": "^1.1.19",
31+
"@iconify-json/fa6-solid": "^1.1.21",
32+
"@types/file-saver": "^2.0.7",
33+
"@types/lodash": "^4.17.0",
34+
"@types/node": "^20.12.7",
35+
"@types/uuid": "^9.0.8",
36+
"@unocss/eslint-config": "^0.59.4",
37+
"@unocss/reset": "^0.59.4",
38+
"@vitejs/plugin-vue": "^5.0.4",
39+
"@vue-macros/volar": "^0.18.18",
40+
"@vue/test-utils": "^2.4.5",
41+
"eslint": "^9.1.1",
42+
"jsdom": "^24.0.0",
43+
"pnpm": "^9.0.6",
44+
"sass": "^1.75.0",
45+
"taze": "^0.13.7",
46+
"typescript": "^5.4.5",
47+
"unocss": "^0.59.4",
48+
"unplugin-auto-import": "^0.17.5",
49+
"unplugin-vue-components": "^0.26.0",
50+
"unplugin-vue-macros": "^2.9.1",
51+
"vite": "^5.2.10",
52+
"vite-plugin-pages": "^0.32.1",
53+
"vitest": "^1.5.2",
54+
"vue-tsc": "^2.0.14"
6755
},
6856
"eslintConfig": {
6957
"extends": [
7058
"@antfu",
71-
"@unocss",
72-
"plugin:storybook/recommended"
59+
"@unocss"
7360
]
7461
}
7562
}

0 commit comments

Comments
 (0)