deps: upgrade vite & remove i18n for now
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
"theme:dark": "esno _scripts/change-theme-dark.ts"
|
"theme:dark": "esno _scripts/change-theme-dark.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@intlify/unplugin-vue-i18n": "^1.6.0",
|
"@intlify/unplugin-vue-i18n": "^6.0.8",
|
||||||
"@octokit/core": "^7.0.3",
|
"@octokit/core": "^7.0.3",
|
||||||
"@octokit/rest": "^22.0.0",
|
"@octokit/rest": "^22.0.0",
|
||||||
"@tailwindcss/postcss": "^4.1.11",
|
"@tailwindcss/postcss": "^4.1.11",
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
"sass": "^1.89.2",
|
"sass": "^1.89.2",
|
||||||
"tailwindcss": "^4.1.11",
|
"tailwindcss": "^4.1.11",
|
||||||
"typescript": "~5.9.2",
|
"typescript": "~5.9.2",
|
||||||
"vite": "^6.3.5",
|
"vite": "^7.0.6",
|
||||||
"vite-plugin-pwa": "^1.0.2",
|
"vite-plugin-pwa": "^1.0.2",
|
||||||
"vitest": "^3.2.4"
|
"vitest": "^3.2.4"
|
||||||
}
|
}
|
||||||
|
|||||||
215
pnpm-lock.yaml
generated
215
pnpm-lock.yaml
generated
@@ -9,8 +9,8 @@ importers:
|
|||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/unplugin-vue-i18n':
|
'@intlify/unplugin-vue-i18n':
|
||||||
specifier: ^1.6.0
|
specifier: ^6.0.8
|
||||||
version: 1.6.0(rollup@2.79.1)(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))
|
version: 6.0.8(@vue/compiler-dom@3.5.18)(eslint@8.57.1)(rollup@2.79.1)(typescript@5.9.2)(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))(vue@3.5.18(typescript@5.9.2))
|
||||||
'@octokit/core':
|
'@octokit/core':
|
||||||
specifier: ^7.0.3
|
specifier: ^7.0.3
|
||||||
version: 7.0.3
|
version: 7.0.3
|
||||||
@@ -137,7 +137,7 @@ importers:
|
|||||||
version: 8.38.0(eslint@8.57.1)(typescript@5.9.2)
|
version: 8.38.0(eslint@8.57.1)(typescript@5.9.2)
|
||||||
'@vitejs/plugin-vue':
|
'@vitejs/plugin-vue':
|
||||||
specifier: ^5.2.4
|
specifier: ^5.2.4
|
||||||
version: 5.2.4(vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(vue@3.5.18(typescript@5.9.2))
|
version: 5.2.4(vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(vue@3.5.18(typescript@5.9.2))
|
||||||
'@vue/compiler-sfc':
|
'@vue/compiler-sfc':
|
||||||
specifier: ^3.5.18
|
specifier: ^3.5.18
|
||||||
version: 3.5.18
|
version: 3.5.18
|
||||||
@@ -193,11 +193,11 @@ importers:
|
|||||||
specifier: ~5.9.2
|
specifier: ~5.9.2
|
||||||
version: 5.9.2
|
version: 5.9.2
|
||||||
vite:
|
vite:
|
||||||
specifier: ^6.3.5
|
specifier: ^7.0.6
|
||||||
version: 6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
version: 7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
vite-plugin-pwa:
|
vite-plugin-pwa:
|
||||||
specifier: ^1.0.2
|
specifier: ^1.0.2
|
||||||
version: 1.0.2(vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(workbox-build@7.0.0)(workbox-window@7.0.0)
|
version: 1.0.2(vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(workbox-build@7.0.0)(workbox-window@7.0.0)
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^3.2.4
|
specifier: ^3.2.4
|
||||||
version: 3.2.4(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
version: 3.2.4(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
@@ -240,10 +240,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==}
|
resolution: {integrity: sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
'@babel/generator@7.27.3':
|
|
||||||
resolution: {integrity: sha512-xnlJYj5zepml8NXtjkG0WquFUv8RskFqyFcVgTBp5k+NaA/8uw/K+OSVf8AMGw5e9HKP2ETd5xpK5MLZQD6b4Q==}
|
|
||||||
engines: {node: '>=6.9.0'}
|
|
||||||
|
|
||||||
'@babel/generator@7.28.0':
|
'@babel/generator@7.28.0':
|
||||||
resolution: {integrity: sha512-lJjzvrbEeWrhB4P3QBsH7tey117PjLZnDbLiQEKjQ/fNJTjuq4HSqgFA+UNSwZT8D7dxxbnuSBMsa1lrWzKlQg==}
|
resolution: {integrity: sha512-lJjzvrbEeWrhB4P3QBsH7tey117PjLZnDbLiQEKjQ/fNJTjuq4HSqgFA+UNSwZT8D7dxxbnuSBMsa1lrWzKlQg==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
@@ -793,10 +789,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
|
resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
'@babel/traverse@7.27.3':
|
|
||||||
resolution: {integrity: sha512-lId/IfN/Ye1CIu8xG7oKBHXd2iNb2aW1ilPszzGcJug6M8RCKfVNcYhpI5+bMvFYjK7lXIM0R+a+6r8xhHp2FQ==}
|
|
||||||
engines: {node: '>=6.9.0'}
|
|
||||||
|
|
||||||
'@babel/traverse@7.28.0':
|
'@babel/traverse@7.28.0':
|
||||||
resolution: {integrity: sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==}
|
resolution: {integrity: sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==}
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
@@ -1020,9 +1012,9 @@ packages:
|
|||||||
'@iconify/utils@2.3.0':
|
'@iconify/utils@2.3.0':
|
||||||
resolution: {integrity: sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==}
|
resolution: {integrity: sha512-GmQ78prtwYW6EtzXRU1rY+KwOKfz32PD7iJh6Iyqw68GiKuoZ2A6pRtzWONz5VQJbp50mEjXh/7NkumtrAgRKA==}
|
||||||
|
|
||||||
'@intlify/bundle-utils@7.5.1':
|
'@intlify/bundle-utils@10.0.1':
|
||||||
resolution: {integrity: sha512-UovJl10oBIlmYEcWw+VIHdKY5Uv5sdPG0b/b6bOYxGLln3UwB75+2dlc0F3Fsa0RhoznQ5Rp589/BZpABpE4Xw==}
|
resolution: {integrity: sha512-WkaXfSevtpgtUR4t8K2M6lbR7g03mtOxFeh+vXp5KExvPqS12ppaRj1QxzwRuRI5VUto54A22BjKoBMLyHILWQ==}
|
||||||
engines: {node: '>= 14.16'}
|
engines: {node: '>= 18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
petite-vue-i18n: '*'
|
petite-vue-i18n: '*'
|
||||||
vue-i18n: '*'
|
vue-i18n: '*'
|
||||||
@@ -1040,31 +1032,39 @@ packages:
|
|||||||
resolution: {integrity: sha512-7PC6neomoc/z7a8JRjPBbu0T2TzR2MQuY5kn2e049MP7+o32Ve7O8husylkA7K9fQRe4iNXZWTPnDJ6vZdtS1Q==}
|
resolution: {integrity: sha512-7PC6neomoc/z7a8JRjPBbu0T2TzR2MQuY5kn2e049MP7+o32Ve7O8husylkA7K9fQRe4iNXZWTPnDJ6vZdtS1Q==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
|
|
||||||
'@intlify/message-compiler@9.14.4':
|
|
||||||
resolution: {integrity: sha512-vcyCLiVRN628U38c3PbahrhbbXrckrM9zpy0KZVlDk2Z0OnGwv8uQNNXP3twwGtfLsCf4gu3ci6FMIZnPaqZsw==}
|
|
||||||
engines: {node: '>= 16'}
|
|
||||||
|
|
||||||
'@intlify/shared@11.1.11':
|
'@intlify/shared@11.1.11':
|
||||||
resolution: {integrity: sha512-RIBFTIqxZSsxUqlcyoR7iiC632bq7kkOwYvZlvcVObHfrF4NhuKc4FKvu8iPCrEO+e3XsY7/UVpfgzg+M7ETzA==}
|
resolution: {integrity: sha512-RIBFTIqxZSsxUqlcyoR7iiC632bq7kkOwYvZlvcVObHfrF4NhuKc4FKvu8iPCrEO+e3XsY7/UVpfgzg+M7ETzA==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
|
|
||||||
'@intlify/shared@9.14.4':
|
'@intlify/unplugin-vue-i18n@6.0.8':
|
||||||
resolution: {integrity: sha512-P9zv6i1WvMc9qDBWvIgKkymjY2ptIiQ065PjDv7z7fDqH3J/HBRBN5IoiR46r/ujRcU7hCuSIZWvCAFCyuOYZA==}
|
resolution: {integrity: sha512-Vvm3KhjE6TIBVUQAk37rBiaYy2M5OcWH0ZcI1XKEsOTeN1o0bErk+zeuXmcrcMc/73YggfI8RoxOUz9EB/69JQ==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 18'}
|
||||||
|
|
||||||
'@intlify/unplugin-vue-i18n@1.6.0':
|
|
||||||
resolution: {integrity: sha512-IGeFNWxdEvB12E/3Y/+nmIsGeTg5okPsK1XEtUUD/DdkHbVqUbJucMpHKeHF8Px55Qca551pQCs/g+VjNUt6KA==}
|
|
||||||
engines: {node: '>= 14.16'}
|
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
petite-vue-i18n: '*'
|
petite-vue-i18n: '*'
|
||||||
|
vue: ^3.2.25
|
||||||
vue-i18n: '*'
|
vue-i18n: '*'
|
||||||
vue-i18n-bridge: '*'
|
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
petite-vue-i18n:
|
petite-vue-i18n:
|
||||||
optional: true
|
optional: true
|
||||||
vue-i18n:
|
vue-i18n:
|
||||||
optional: true
|
optional: true
|
||||||
vue-i18n-bridge:
|
|
||||||
|
'@intlify/vue-i18n-extensions@8.0.0':
|
||||||
|
resolution: {integrity: sha512-w0+70CvTmuqbskWfzeYhn0IXxllr6mU+IeM2MU0M+j9OW64jkrvqY+pYFWrUnIIC9bEdij3NICruicwd5EgUuQ==}
|
||||||
|
engines: {node: '>= 18'}
|
||||||
|
peerDependencies:
|
||||||
|
'@intlify/shared': ^9.0.0 || ^10.0.0 || ^11.0.0
|
||||||
|
'@vue/compiler-dom': ^3.0.0
|
||||||
|
vue: ^3.0.0
|
||||||
|
vue-i18n: ^9.0.0 || ^10.0.0 || ^11.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@intlify/shared':
|
||||||
|
optional: true
|
||||||
|
'@vue/compiler-dom':
|
||||||
|
optional: true
|
||||||
|
vue:
|
||||||
|
optional: true
|
||||||
|
vue-i18n:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@isaacs/fs-minipass@4.0.1':
|
'@isaacs/fs-minipass@4.0.1':
|
||||||
@@ -2538,6 +2538,14 @@ packages:
|
|||||||
picomatch:
|
picomatch:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
fdir@6.4.6:
|
||||||
|
resolution: {integrity: sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==}
|
||||||
|
peerDependencies:
|
||||||
|
picomatch: ^3 || ^4
|
||||||
|
peerDependenciesMeta:
|
||||||
|
picomatch:
|
||||||
|
optional: true
|
||||||
|
|
||||||
file-entry-cache@6.0.1:
|
file-entry-cache@6.0.1:
|
||||||
resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
|
resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
|
||||||
engines: {node: ^10.12.0 || >=12.0.0}
|
engines: {node: ^10.12.0 || >=12.0.0}
|
||||||
@@ -2926,9 +2934,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==}
|
resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
|
|
||||||
jsonc-parser@3.2.0:
|
|
||||||
resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}
|
|
||||||
|
|
||||||
jsonfile@6.1.0:
|
jsonfile@6.1.0:
|
||||||
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
|
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
|
||||||
|
|
||||||
@@ -3159,9 +3164,6 @@ packages:
|
|||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
mlly@1.4.2:
|
|
||||||
resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==}
|
|
||||||
|
|
||||||
mlly@1.7.4:
|
mlly@1.7.4:
|
||||||
resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==}
|
resolution: {integrity: sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==}
|
||||||
|
|
||||||
@@ -3318,6 +3320,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
|
resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
|
picomatch@4.0.3:
|
||||||
|
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
pinia@2.3.1:
|
pinia@2.3.1:
|
||||||
resolution: {integrity: sha512-khUlZSwt9xXCaTbbxFYBKDc/bWAGWJjOgvxETwkTN7KRm66EeT1ZdZj6i2ceh9sP2Pzqsbc704r2yngBrxBVug==}
|
resolution: {integrity: sha512-khUlZSwt9xXCaTbbxFYBKDc/bWAGWJjOgvxETwkTN7KRm66EeT1ZdZj6i2ceh9sP2Pzqsbc704r2yngBrxBVug==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -3327,9 +3333,6 @@ packages:
|
|||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
pkg-types@1.0.3:
|
|
||||||
resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==}
|
|
||||||
|
|
||||||
pkg-types@1.3.1:
|
pkg-types@1.3.1:
|
||||||
resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
|
resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
|
||||||
|
|
||||||
@@ -3774,9 +3777,6 @@ packages:
|
|||||||
uc.micro@2.1.0:
|
uc.micro@2.1.0:
|
||||||
resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==}
|
resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==}
|
||||||
|
|
||||||
ufo@1.3.2:
|
|
||||||
resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==}
|
|
||||||
|
|
||||||
ufo@1.6.1:
|
ufo@1.6.1:
|
||||||
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
|
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
|
||||||
|
|
||||||
@@ -3864,19 +3864,19 @@ packages:
|
|||||||
'@vite-pwa/assets-generator':
|
'@vite-pwa/assets-generator':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
vite@6.3.5:
|
vite@7.0.6:
|
||||||
resolution: {integrity: sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==}
|
resolution: {integrity: sha512-MHFiOENNBd+Bd9uvc8GEsIzdkn1JxMmEeYX35tI3fv0sJBUTfW5tQsoaOwuY4KhBI09A3dUJ/DXf2yxPVPUceg==}
|
||||||
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
|
'@types/node': ^20.19.0 || >=22.12.0
|
||||||
jiti: '>=1.21.0'
|
jiti: '>=1.21.0'
|
||||||
less: '*'
|
less: ^4.0.0
|
||||||
lightningcss: ^1.21.0
|
lightningcss: ^1.21.0
|
||||||
sass: '*'
|
sass: ^1.70.0
|
||||||
sass-embedded: '*'
|
sass-embedded: ^1.70.0
|
||||||
stylus: '*'
|
stylus: '>=0.54.8'
|
||||||
sugarss: '*'
|
sugarss: ^5.0.0
|
||||||
terser: ^5.16.0
|
terser: ^5.16.0
|
||||||
tsx: ^4.8.1
|
tsx: ^4.8.1
|
||||||
yaml: ^2.4.2
|
yaml: ^2.4.2
|
||||||
@@ -4165,14 +4165,6 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@babel/generator@7.27.3':
|
|
||||||
dependencies:
|
|
||||||
'@babel/parser': 7.28.0
|
|
||||||
'@babel/types': 7.28.2
|
|
||||||
'@jridgewell/gen-mapping': 0.3.5
|
|
||||||
'@jridgewell/trace-mapping': 0.3.25
|
|
||||||
jsesc: 3.0.2
|
|
||||||
|
|
||||||
'@babel/generator@7.28.0':
|
'@babel/generator@7.28.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/parser': 7.28.0
|
'@babel/parser': 7.28.0
|
||||||
@@ -4286,7 +4278,7 @@ snapshots:
|
|||||||
'@babel/helper-member-expression-to-functions': 7.22.5
|
'@babel/helper-member-expression-to-functions': 7.22.5
|
||||||
'@babel/helper-optimise-call-expression': 7.22.5
|
'@babel/helper-optimise-call-expression': 7.22.5
|
||||||
'@babel/template': 7.27.2
|
'@babel/template': 7.27.2
|
||||||
'@babel/traverse': 7.27.3
|
'@babel/traverse': 7.28.0
|
||||||
'@babel/types': 7.28.2
|
'@babel/types': 7.28.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@@ -4313,7 +4305,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@babel/helper-function-name': 7.23.0
|
'@babel/helper-function-name': 7.23.0
|
||||||
'@babel/template': 7.27.2
|
'@babel/template': 7.27.2
|
||||||
'@babel/traverse': 7.27.3
|
'@babel/traverse': 7.28.0
|
||||||
'@babel/types': 7.28.2
|
'@babel/types': 7.28.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@@ -4863,18 +4855,6 @@ snapshots:
|
|||||||
'@babel/parser': 7.28.0
|
'@babel/parser': 7.28.0
|
||||||
'@babel/types': 7.28.2
|
'@babel/types': 7.28.2
|
||||||
|
|
||||||
'@babel/traverse@7.27.3':
|
|
||||||
dependencies:
|
|
||||||
'@babel/code-frame': 7.27.1
|
|
||||||
'@babel/generator': 7.27.3
|
|
||||||
'@babel/parser': 7.28.0
|
|
||||||
'@babel/template': 7.27.2
|
|
||||||
'@babel/types': 7.28.2
|
|
||||||
debug: 4.4.1
|
|
||||||
globals: 11.12.0
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
|
|
||||||
'@babel/traverse@7.28.0':
|
'@babel/traverse@7.28.0':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/code-frame': 7.27.1
|
'@babel/code-frame': 7.27.1
|
||||||
@@ -5043,16 +5023,15 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@intlify/bundle-utils@7.5.1(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))':
|
'@intlify/bundle-utils@10.0.1(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/message-compiler': 9.14.4
|
'@intlify/message-compiler': 11.1.11
|
||||||
'@intlify/shared': 9.14.4
|
'@intlify/shared': 11.1.11
|
||||||
acorn: 8.14.0
|
acorn: 8.14.0
|
||||||
escodegen: 2.1.0
|
escodegen: 2.1.0
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
jsonc-eslint-parser: 2.4.0
|
jsonc-eslint-parser: 2.4.0
|
||||||
magic-string: 0.30.17
|
mlly: 1.7.4
|
||||||
mlly: 1.4.2
|
|
||||||
source-map-js: 1.2.1
|
source-map-js: 1.2.1
|
||||||
yaml-eslint-parser: 1.2.2
|
yaml-eslint-parser: 1.2.2
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
@@ -5068,21 +5047,17 @@ snapshots:
|
|||||||
'@intlify/shared': 11.1.11
|
'@intlify/shared': 11.1.11
|
||||||
source-map-js: 1.2.1
|
source-map-js: 1.2.1
|
||||||
|
|
||||||
'@intlify/message-compiler@9.14.4':
|
|
||||||
dependencies:
|
|
||||||
'@intlify/shared': 9.14.4
|
|
||||||
source-map-js: 1.2.1
|
|
||||||
|
|
||||||
'@intlify/shared@11.1.11': {}
|
'@intlify/shared@11.1.11': {}
|
||||||
|
|
||||||
'@intlify/shared@9.14.4': {}
|
'@intlify/unplugin-vue-i18n@6.0.8(@vue/compiler-dom@3.5.18)(eslint@8.57.1)(rollup@2.79.1)(typescript@5.9.2)(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))(vue@3.5.18(typescript@5.9.2))':
|
||||||
|
|
||||||
'@intlify/unplugin-vue-i18n@1.6.0(rollup@2.79.1)(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))':
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/bundle-utils': 7.5.1(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))
|
'@eslint-community/eslint-utils': 4.7.0(eslint@8.57.1)
|
||||||
'@intlify/shared': 9.14.4
|
'@intlify/bundle-utils': 10.0.1(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))
|
||||||
|
'@intlify/shared': 11.1.11
|
||||||
|
'@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.1.11)(@vue/compiler-dom@3.5.18)(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))(vue@3.5.18(typescript@5.9.2))
|
||||||
'@rollup/pluginutils': 5.1.4(rollup@2.79.1)
|
'@rollup/pluginutils': 5.1.4(rollup@2.79.1)
|
||||||
'@vue/compiler-sfc': 3.5.18
|
'@typescript-eslint/scope-manager': 8.38.0
|
||||||
|
'@typescript-eslint/typescript-estree': 8.38.0(typescript@5.9.2)
|
||||||
debug: 4.4.1
|
debug: 4.4.1
|
||||||
fast-glob: 3.3.3
|
fast-glob: 3.3.3
|
||||||
js-yaml: 4.1.0
|
js-yaml: 4.1.0
|
||||||
@@ -5091,11 +5066,24 @@ snapshots:
|
|||||||
picocolors: 1.1.1
|
picocolors: 1.1.1
|
||||||
source-map-js: 1.2.1
|
source-map-js: 1.2.1
|
||||||
unplugin: 1.3.1
|
unplugin: 1.3.1
|
||||||
|
vue: 3.5.18(typescript@5.9.2)
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vue-i18n: 11.1.11(vue@3.5.18(typescript@5.9.2))
|
vue-i18n: 11.1.11(vue@3.5.18(typescript@5.9.2))
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
- '@vue/compiler-dom'
|
||||||
|
- eslint
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
|
- typescript
|
||||||
|
|
||||||
|
'@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.1.11)(@vue/compiler-dom@3.5.18)(vue-i18n@11.1.11(vue@3.5.18(typescript@5.9.2)))(vue@3.5.18(typescript@5.9.2))':
|
||||||
|
dependencies:
|
||||||
|
'@babel/parser': 7.28.0
|
||||||
|
optionalDependencies:
|
||||||
|
'@intlify/shared': 11.1.11
|
||||||
|
'@vue/compiler-dom': 3.5.18
|
||||||
|
vue: 3.5.18(typescript@5.9.2)
|
||||||
|
vue-i18n: 11.1.11(vue@3.5.18(typescript@5.9.2))
|
||||||
|
|
||||||
'@isaacs/fs-minipass@4.0.1':
|
'@isaacs/fs-minipass@4.0.1':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -5316,7 +5304,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@types/estree': 1.0.7
|
'@types/estree': 1.0.7
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
picomatch: 4.0.2
|
picomatch: 4.0.3
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
rollup: 2.79.1
|
rollup: 2.79.1
|
||||||
|
|
||||||
@@ -5776,9 +5764,9 @@ snapshots:
|
|||||||
|
|
||||||
'@ungap/structured-clone@1.2.0': {}
|
'@ungap/structured-clone@1.2.0': {}
|
||||||
|
|
||||||
'@vitejs/plugin-vue@5.2.4(vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(vue@3.5.18(typescript@5.9.2))':
|
'@vitejs/plugin-vue@5.2.4(vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(vue@3.5.18(typescript@5.9.2))':
|
||||||
dependencies:
|
dependencies:
|
||||||
vite: 6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
vite: 7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
vue: 3.5.18(typescript@5.9.2)
|
vue: 3.5.18(typescript@5.9.2)
|
||||||
|
|
||||||
'@vitest/expect@3.2.4':
|
'@vitest/expect@3.2.4':
|
||||||
@@ -5789,13 +5777,13 @@ snapshots:
|
|||||||
chai: 5.2.0
|
chai: 5.2.0
|
||||||
tinyrainbow: 2.0.0
|
tinyrainbow: 2.0.0
|
||||||
|
|
||||||
'@vitest/mocker@3.2.4(vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))':
|
'@vitest/mocker@3.2.4(vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vitest/spy': 3.2.4
|
'@vitest/spy': 3.2.4
|
||||||
estree-walker: 3.0.3
|
estree-walker: 3.0.3
|
||||||
magic-string: 0.30.17
|
magic-string: 0.30.17
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
vite: 6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
vite: 7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
|
|
||||||
'@vitest/pretty-format@3.2.4':
|
'@vitest/pretty-format@3.2.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -6740,6 +6728,10 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
picomatch: 4.0.2
|
picomatch: 4.0.2
|
||||||
|
|
||||||
|
fdir@6.4.6(picomatch@4.0.3):
|
||||||
|
optionalDependencies:
|
||||||
|
picomatch: 4.0.3
|
||||||
|
|
||||||
file-entry-cache@6.0.1:
|
file-entry-cache@6.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
flat-cache: 3.0.4
|
flat-cache: 3.0.4
|
||||||
@@ -7090,8 +7082,6 @@ snapshots:
|
|||||||
espree: 9.6.1
|
espree: 9.6.1
|
||||||
semver: 7.6.3
|
semver: 7.6.3
|
||||||
|
|
||||||
jsonc-parser@3.2.0: {}
|
|
||||||
|
|
||||||
jsonfile@6.1.0:
|
jsonfile@6.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
universalify: 2.0.0
|
universalify: 2.0.0
|
||||||
@@ -7314,13 +7304,6 @@ snapshots:
|
|||||||
|
|
||||||
mkdirp@3.0.1: {}
|
mkdirp@3.0.1: {}
|
||||||
|
|
||||||
mlly@1.4.2:
|
|
||||||
dependencies:
|
|
||||||
acorn: 8.14.0
|
|
||||||
pathe: 1.1.1
|
|
||||||
pkg-types: 1.0.3
|
|
||||||
ufo: 1.3.2
|
|
||||||
|
|
||||||
mlly@1.7.4:
|
mlly@1.7.4:
|
||||||
dependencies:
|
dependencies:
|
||||||
acorn: 8.14.0
|
acorn: 8.14.0
|
||||||
@@ -7448,6 +7431,8 @@ snapshots:
|
|||||||
|
|
||||||
picomatch@4.0.2: {}
|
picomatch@4.0.2: {}
|
||||||
|
|
||||||
|
picomatch@4.0.3: {}
|
||||||
|
|
||||||
pinia@2.3.1(typescript@5.9.2)(vue@3.5.18(typescript@5.9.2)):
|
pinia@2.3.1(typescript@5.9.2)(vue@3.5.18(typescript@5.9.2)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/devtools-api': 6.6.4
|
'@vue/devtools-api': 6.6.4
|
||||||
@@ -7458,12 +7443,6 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- '@vue/composition-api'
|
||||||
|
|
||||||
pkg-types@1.0.3:
|
|
||||||
dependencies:
|
|
||||||
jsonc-parser: 3.2.0
|
|
||||||
mlly: 1.4.2
|
|
||||||
pathe: 1.1.1
|
|
||||||
|
|
||||||
pkg-types@1.3.1:
|
pkg-types@1.3.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
confbox: 0.1.8
|
confbox: 0.1.8
|
||||||
@@ -7937,8 +7916,6 @@ snapshots:
|
|||||||
|
|
||||||
uc.micro@2.1.0: {}
|
uc.micro@2.1.0: {}
|
||||||
|
|
||||||
ufo@1.3.2: {}
|
|
||||||
|
|
||||||
ufo@1.6.1: {}
|
ufo@1.6.1: {}
|
||||||
|
|
||||||
unbox-primitive@1.0.2:
|
unbox-primitive@1.0.2:
|
||||||
@@ -8004,7 +7981,7 @@ snapshots:
|
|||||||
debug: 4.4.1
|
debug: 4.4.1
|
||||||
es-module-lexer: 1.7.0
|
es-module-lexer: 1.7.0
|
||||||
pathe: 2.0.3
|
pathe: 2.0.3
|
||||||
vite: 6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
vite: 7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@types/node'
|
- '@types/node'
|
||||||
- jiti
|
- jiti
|
||||||
@@ -8019,22 +7996,22 @@ snapshots:
|
|||||||
- tsx
|
- tsx
|
||||||
- yaml
|
- yaml
|
||||||
|
|
||||||
vite-plugin-pwa@1.0.2(vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(workbox-build@7.0.0)(workbox-window@7.0.0):
|
vite-plugin-pwa@1.0.2(vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))(workbox-build@7.0.0)(workbox-window@7.0.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
debug: 4.4.1
|
debug: 4.4.1
|
||||||
pretty-bytes: 6.1.1
|
pretty-bytes: 6.1.1
|
||||||
tinyglobby: 0.2.14
|
tinyglobby: 0.2.14
|
||||||
vite: 6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
vite: 7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
workbox-build: 7.0.0
|
workbox-build: 7.0.0
|
||||||
workbox-window: 7.0.0
|
workbox-window: 7.0.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3):
|
vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
esbuild: 0.25.5
|
esbuild: 0.25.5
|
||||||
fdir: 6.4.5(picomatch@4.0.2)
|
fdir: 6.4.6(picomatch@4.0.3)
|
||||||
picomatch: 4.0.2
|
picomatch: 4.0.3
|
||||||
postcss: 8.5.6
|
postcss: 8.5.6
|
||||||
rollup: 4.41.1
|
rollup: 4.41.1
|
||||||
tinyglobby: 0.2.14
|
tinyglobby: 0.2.14
|
||||||
@@ -8051,7 +8028,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@types/chai': 5.2.2
|
'@types/chai': 5.2.2
|
||||||
'@vitest/expect': 3.2.4
|
'@vitest/expect': 3.2.4
|
||||||
'@vitest/mocker': 3.2.4(vite@6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))
|
'@vitest/mocker': 3.2.4(vite@7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3))
|
||||||
'@vitest/pretty-format': 3.2.4
|
'@vitest/pretty-format': 3.2.4
|
||||||
'@vitest/runner': 3.2.4
|
'@vitest/runner': 3.2.4
|
||||||
'@vitest/snapshot': 3.2.4
|
'@vitest/snapshot': 3.2.4
|
||||||
@@ -8069,7 +8046,7 @@ snapshots:
|
|||||||
tinyglobby: 0.2.14
|
tinyglobby: 0.2.14
|
||||||
tinypool: 1.1.1
|
tinypool: 1.1.1
|
||||||
tinyrainbow: 2.0.0
|
tinyrainbow: 2.0.0
|
||||||
vite: 6.3.5(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
vite: 7.0.6(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
vite-node: 3.2.4(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
vite-node: 3.2.4(@types/node@22.15.24)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.36.0)(tsx@4.20.3)
|
||||||
why-is-node-running: 2.3.0
|
why-is-node-running: 2.3.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<footer class="footer-translation">
|
<footer class="footer-translation">
|
||||||
<button class="button" @click="toggleLanguage">
|
<button class="button" @click="toggleLanguage">
|
||||||
{{ t('toggle-lang') }}
|
{{ t("toggle-lang") }}
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue'
|
import { defineComponent } from "vue"
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from "vue-i18n"
|
||||||
|
|
||||||
import { locales } from '@/locales/message'
|
import { locales } from "@/locales/message"
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'FooterTranslation',
|
name: "FooterTranslation",
|
||||||
setup() {
|
setup() {
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
@@ -23,13 +23,8 @@ export default defineComponent({
|
|||||||
t,
|
t,
|
||||||
toggleLanguage: () =>
|
toggleLanguage: () =>
|
||||||
(i18n.locale.value =
|
(i18n.locale.value =
|
||||||
locales[(locales.indexOf(i18n.locale.value) + 1) % locales.length])
|
locales[(locales.indexOf(i18n.locale.value) + 1) % locales.length]),
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.footer-translation {
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -1,62 +1,60 @@
|
|||||||
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
|
import vue from "@vitejs/plugin-vue"
|
||||||
import vue from '@vitejs/plugin-vue'
|
import path from "path"
|
||||||
import path from 'path'
|
import { defineConfig, type UserConfigExport } from "vite"
|
||||||
import { defineConfig, type UserConfigExport } from 'vite'
|
import { VitePWA } from "vite-plugin-pwa"
|
||||||
import { VitePWA } from 'vite-plugin-pwa'
|
|
||||||
|
|
||||||
const mainColor = '#ffffff'
|
const mainColor = "#ffffff"
|
||||||
|
|
||||||
export default defineConfig(({ command }) => {
|
export default defineConfig(({ command }) => {
|
||||||
const config: UserConfigExport = {
|
const config: UserConfigExport = {
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
VueI18nPlugin({}),
|
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: 'prompt',
|
registerType: "prompt",
|
||||||
includeAssets: [
|
includeAssets: [
|
||||||
'favicon.ico',
|
"favicon.ico",
|
||||||
'apple-touch-icon.png',
|
"apple-touch-icon.png",
|
||||||
'masked-icon.svg',
|
"masked-icon.svg",
|
||||||
'assets/*.svg'
|
"assets/*.svg",
|
||||||
],
|
],
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Lite Note',
|
name: "Lite Note",
|
||||||
short_name: 'LiteNote',
|
short_name: "LiteNote",
|
||||||
description: 'Lite note taking',
|
description: "Lite note taking",
|
||||||
background_color: mainColor,
|
background_color: mainColor,
|
||||||
theme_color: mainColor,
|
theme_color: mainColor,
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: 'pwa-192x192.png',
|
src: "pwa-192x192.png",
|
||||||
sizes: '192x192',
|
sizes: "192x192",
|
||||||
type: 'image/png'
|
type: "image/png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'pwa-512x512.png',
|
src: "pwa-512x512.png",
|
||||||
sizes: '512x512',
|
sizes: "512x512",
|
||||||
type: 'image/png'
|
type: "image/png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'masked-icon.png',
|
src: "masked-icon.png",
|
||||||
sizes: '512x512',
|
sizes: "512x512",
|
||||||
type: 'image/png',
|
type: "image/png",
|
||||||
purpose: 'maskable'
|
purpose: "maskable",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
})
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.resolve(__dirname, './src'),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
'node-fetch': 'isomorphic-fetch'
|
"node-fetch": "isomorphic-fetch",
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if (command === 'serve') {
|
if (command === "serve") {
|
||||||
config.define = {
|
config.define = {
|
||||||
global: {}
|
global: {},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user