Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

chore: 升级 unplugin-svg-component

This commit is contained in:
pany 2024-12-03 16:53:07 +08:00
parent 8d2f240381
commit 5702a2f9e0
2 changed files with 60 additions and 67 deletions

View File

@ -51,11 +51,11 @@
"typescript": "5.6.3",
"unocss": "0.65.0",
"unplugin-auto-import": "0.18.6",
"unplugin-svg-component": "0.10.4",
"unplugin-svg-component": "0.12.0",
"unplugin-vue-components": "0.27.5",
"vite": "6.0.2",
"vite-svg-loader": "5.1.0",
"vitest": "2.1.7",
"vitest": "2.1.8",
"vue-tsc": "2.1.10"
},
"lint-staged": {

123
pnpm-lock.yaml generated
View File

@ -59,7 +59,7 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: 3.11.2
version: 3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(@vue/compiler-sfc@3.5.13)(eslint-plugin-format@0.1.3(eslint@9.16.0(jiti@1.21.6)))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))
version: 3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(@vue/compiler-sfc@3.5.13)(eslint-plugin-format@0.1.3(eslint@9.16.0(jiti@1.21.6)))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))
'@types/js-cookie':
specifier: 3.0.6
version: 3.0.6
@ -112,8 +112,8 @@ importers:
specifier: 0.18.6
version: 0.18.6(@vueuse/core@9.13.0(vue@3.5.13(typescript@5.6.3)))(rollup@4.28.0)
unplugin-svg-component:
specifier: 0.10.4
version: 0.10.4
specifier: 0.12.0
version: 0.12.0
unplugin-vue-components:
specifier: 0.27.5
version: 0.27.5(@babel/parser@7.26.2)(rollup@4.28.0)(vue@3.5.13(typescript@5.6.3))
@ -124,8 +124,8 @@ importers:
specifier: 5.1.0
version: 5.1.0(vue@3.5.13(typescript@5.6.3))
vitest:
specifier: 2.1.7
version: 2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0)
specifier: 2.1.8
version: 2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0)
vue-tsc:
specifier: 2.1.10
version: 2.1.10(typescript@5.6.3)
@ -1320,11 +1320,11 @@ packages:
vitest:
optional: true
'@vitest/expect@2.1.7':
resolution: {integrity: sha512-folWk4qQDEedgUyvaZw94LIJuNLoDtY+rhKhhNy0csdwifn/pQz8EWVRnyrW3j0wMpy+xwJT8WiwiYxk+i+s7w==}
'@vitest/expect@2.1.8':
resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==}
'@vitest/mocker@2.1.7':
resolution: {integrity: sha512-nKMTnuJrarFH+7llWxeLmYRldIwTY3OM1DzdytHj0f2+fah6Cyk4XbswhjOiTCnAvXsZAEoo1OaD6rneSSU+3Q==}
'@vitest/mocker@2.1.8':
resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==}
peerDependencies:
msw: ^2.4.9
vite: ^5.0.0
@ -1334,23 +1334,20 @@ packages:
vite:
optional: true
'@vitest/pretty-format@2.1.7':
resolution: {integrity: sha512-HoqRIyfQlXPrRDB43h0lC8eHPUDPwFweMaD6t+psOvwClCC+oZZim6wPMjuoMnRdiFxXqbybg/QbuewgTwK1vA==}
'@vitest/pretty-format@2.1.8':
resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==}
'@vitest/runner@2.1.7':
resolution: {integrity: sha512-MrDNpXUIXksR57qipYh068SOX4N1hVw6oVILlTlfeTyA1rp0asuljyp15IZwKqhjpWLObFj+tiNrOM4R8UnSqg==}
'@vitest/runner@2.1.8':
resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==}
'@vitest/snapshot@2.1.7':
resolution: {integrity: sha512-OioIxV/xS393DKdlkRNhmtY0K37qVdCv8w1M2SlLTBSX+fNK6zgcd01VlT1nXdbKVDaB8Zb6BOfQYYoGeGTEGg==}
'@vitest/snapshot@2.1.8':
resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==}
'@vitest/spy@2.1.7':
resolution: {integrity: sha512-e5pzIaIC0LBrb/j1FaF7HXlPJLGtltiAkwXTMqNEHALJc7USSLEwziJ+aIWTmjsWNg89zazg37h7oZITnublsQ==}
'@vitest/spy@2.1.8':
resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==}
'@vitest/utils@2.1.7':
resolution: {integrity: sha512-7gUdvIzCCuIrMZu0WHTvDJo8C1NsUtOqmwmcS3bRHUcfHemj29wmkzLVNuWQD7WHoBD/+I7WIgrnzt7kxR54ow==}
'@vitest/utils@2.1.8':
resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==}
'@volar/language-core@2.4.10':
resolution: {integrity: sha512-hG3Z13+nJmGaT+fnQzAkS0hjJRa2FCeqZt6Bd+oGNhUkQ+mTFsDETg5rqUTxyzIh5pSOGY7FHCWUS8G82AzLCA==}
@ -1550,8 +1547,8 @@ packages:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
caniuse-lite@1.0.30001685:
resolution: {integrity: sha512-e/kJN1EMyHQzgcMEEgoo+YTCO1NGCmIYHk5Qk8jT6AazWemS5QFKJ5ShCJlH3GZrNIdZofcNCEwZqbMjjKzmnA==}
caniuse-lite@1.0.30001686:
resolution: {integrity: sha512-Y7deg0Aergpa24M3qLC5xjNklnKnhsmSyR/V89dLZ1n0ucJIFNs7PgR2Yfa/Zf6W79SbBicgtGxZr2juHkEUIA==}
ccount@2.0.1:
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@ -3435,8 +3432,8 @@ packages:
'@vueuse/core':
optional: true
unplugin-svg-component@0.10.4:
resolution: {integrity: sha512-1V0jLkmRrD60LEswOT+ey1lZObZCxEZw/mC1vb1ao54V1B3mYiFK37TAzq4y9tgpg7qP+WKzAnQabOZS6ui1sQ==}
unplugin-svg-component@0.12.0:
resolution: {integrity: sha512-W9OiQi5LUkGsge8P4JaorNHh6/zO4iMvlKmOlk3Wj78HvuUX/9J2xpnMJDRRBttK+IOtDtHy73xS2MSyRb1y7Q==}
unplugin-vue-components@0.27.5:
resolution: {integrity: sha512-m9j4goBeNwXyNN8oZHHxvIIYiG8FQ9UfmKWeNllpDvhU7btKNNELGPt+o3mckQKuPwrE7e0PvCsx+IWuDSD9Vg==}
@ -3478,9 +3475,9 @@ packages:
resolution: {integrity: sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==}
engines: {node: '>= 0.10'}
vite-node@2.1.7:
resolution: {integrity: sha512-b/5MxSWd0ftWt1B1LHfzCw0ASzaxHztUwP0rcsBhkDSGy9ZDEDieSIjFG3I78nI9dUN0eSeD6LtuKPZGjwwpZQ==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
vite-node@2.1.8:
resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
vite-svg-loader@5.1.0:
@ -3559,15 +3556,15 @@ packages:
yaml:
optional: true
vitest@2.1.7:
resolution: {integrity: sha512-wzJ7Wri44ufkzTZbI1lHsdHfiGdFRmnJ9qIudDQ6tknjJeHhF5QgNSSjk7KRZUU535qEiEXFJ7tSHqyzyIv0jQ==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
vitest@2.1.8:
resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
'@vitest/browser': 2.1.7
'@vitest/ui': 2.1.7
'@types/node': ^18.0.0 || >=20.0.0
'@vitest/browser': 2.1.8
'@vitest/ui': 2.1.8
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
@ -3769,7 +3766,7 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
'@antfu/eslint-config@3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(@vue/compiler-sfc@3.5.13)(eslint-plugin-format@0.1.3(eslint@9.16.0(jiti@1.21.6)))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))':
'@antfu/eslint-config@3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(@vue/compiler-sfc@3.5.13)(eslint-plugin-format@0.1.3(eslint@9.16.0(jiti@1.21.6)))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))':
dependencies:
'@antfu/install-pkg': 0.5.0
'@clack/prompts': 0.8.2
@ -3778,7 +3775,7 @@ snapshots:
'@stylistic/eslint-plugin': 2.11.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)
'@typescript-eslint/eslint-plugin': 8.17.0(@typescript-eslint/parser@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)
'@typescript-eslint/parser': 8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)
'@vitest/eslint-plugin': 1.1.14(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))
'@vitest/eslint-plugin': 1.1.14(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))
eslint: 9.16.0(jiti@1.21.6)
eslint-config-flat-gitignore: 0.3.0(eslint@9.16.0(jiti@1.21.6))
eslint-flat-config-utils: 0.4.0
@ -4808,55 +4805,51 @@ snapshots:
vite: 6.0.2(@types/node@22.10.1)(jiti@1.21.6)(sass@1.78.0)(tsx@4.19.2)(yaml@2.6.1)
vue: 3.5.13(typescript@5.6.3)
'@vitest/eslint-plugin@1.1.14(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))':
'@vitest/eslint-plugin@1.1.14(@typescript-eslint/utils@8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0))':
dependencies:
'@typescript-eslint/utils': 8.17.0(eslint@9.16.0(jiti@1.21.6))(typescript@5.6.3)
eslint: 9.16.0(jiti@1.21.6)
optionalDependencies:
typescript: 5.6.3
vitest: 2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0)
vitest: 2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0)
'@vitest/expect@2.1.7':
'@vitest/expect@2.1.8':
dependencies:
'@vitest/spy': 2.1.7
'@vitest/utils': 2.1.7
'@vitest/spy': 2.1.8
'@vitest/utils': 2.1.8
chai: 5.1.2
tinyrainbow: 1.2.0
'@vitest/mocker@2.1.7(vite@5.4.11(@types/node@22.10.1)(sass@1.78.0))':
'@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.1)(sass@1.78.0))':
dependencies:
'@vitest/spy': 2.1.7
'@vitest/spy': 2.1.8
estree-walker: 3.0.3
magic-string: 0.30.14
optionalDependencies:
vite: 5.4.11(@types/node@22.10.1)(sass@1.78.0)
'@vitest/pretty-format@2.1.7':
dependencies:
tinyrainbow: 1.2.0
'@vitest/pretty-format@2.1.8':
dependencies:
tinyrainbow: 1.2.0
'@vitest/runner@2.1.7':
'@vitest/runner@2.1.8':
dependencies:
'@vitest/utils': 2.1.7
'@vitest/utils': 2.1.8
pathe: 1.1.2
'@vitest/snapshot@2.1.7':
'@vitest/snapshot@2.1.8':
dependencies:
'@vitest/pretty-format': 2.1.7
'@vitest/pretty-format': 2.1.8
magic-string: 0.30.14
pathe: 1.1.2
'@vitest/spy@2.1.7':
'@vitest/spy@2.1.8':
dependencies:
tinyspy: 3.0.2
'@vitest/utils@2.1.7':
'@vitest/utils@2.1.8':
dependencies:
'@vitest/pretty-format': 2.1.7
'@vitest/pretty-format': 2.1.8
loupe: 3.1.2
tinyrainbow: 1.2.0
@ -5085,7 +5078,7 @@ snapshots:
browserslist@4.24.2:
dependencies:
caniuse-lite: 1.0.30001685
caniuse-lite: 1.0.30001686
electron-to-chromium: 1.5.68
node-releases: 2.0.18
update-browserslist-db: 1.1.1(browserslist@4.24.2)
@ -5101,7 +5094,7 @@ snapshots:
callsites@3.1.0: {}
caniuse-lite@1.0.30001685: {}
caniuse-lite@1.0.30001686: {}
ccount@2.0.1: {}
@ -7302,7 +7295,7 @@ snapshots:
transitivePeerDependencies:
- rollup
unplugin-svg-component@0.10.4:
unplugin-svg-component@0.12.0:
dependencies:
cors: 2.8.5
etag: 1.8.1
@ -7365,7 +7358,7 @@ snapshots:
remove-trailing-separator: 1.1.0
replace-ext: 1.0.1
vite-node@2.1.7(@types/node@22.10.1)(sass@1.78.0):
vite-node@2.1.8(@types/node@22.10.1)(sass@1.78.0):
dependencies:
cac: 6.7.14
debug: 4.3.7
@ -7411,15 +7404,15 @@ snapshots:
tsx: 4.19.2
yaml: 2.6.1
vitest@2.1.7(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0):
vitest@2.1.8(@types/node@22.10.1)(jsdom@25.0.1)(sass@1.78.0):
dependencies:
'@vitest/expect': 2.1.7
'@vitest/mocker': 2.1.7(vite@5.4.11(@types/node@22.10.1)(sass@1.78.0))
'@vitest/expect': 2.1.8
'@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.1)(sass@1.78.0))
'@vitest/pretty-format': 2.1.8
'@vitest/runner': 2.1.7
'@vitest/snapshot': 2.1.7
'@vitest/spy': 2.1.7
'@vitest/utils': 2.1.7
'@vitest/runner': 2.1.8
'@vitest/snapshot': 2.1.8
'@vitest/spy': 2.1.8
'@vitest/utils': 2.1.8
chai: 5.1.2
debug: 4.3.7
expect-type: 1.1.0
@ -7431,7 +7424,7 @@ snapshots:
tinypool: 1.0.2
tinyrainbow: 1.2.0
vite: 5.4.11(@types/node@22.10.1)(sass@1.78.0)
vite-node: 2.1.7(@types/node@22.10.1)(sass@1.78.0)
vite-node: 2.1.8(@types/node@22.10.1)(sass@1.78.0)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 22.10.1