From 0a76549c0cf9aae39bdcf582d71049926977a3b8 Mon Sep 17 00:00:00 2001 From: Marek Goc Date: Thu, 29 May 2025 10:53:49 +0200 Subject: [PATCH] add i18n --- i18n/locales/en.json | 3 + i18n/locales/pl.json | 3 + nuxt.config.ts | 27 ++- package.json | 5 +- pnpm-lock.yaml | 404 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 426 insertions(+), 16 deletions(-) create mode 100644 i18n/locales/en.json create mode 100644 i18n/locales/pl.json diff --git a/i18n/locales/en.json b/i18n/locales/en.json new file mode 100644 index 0000000..9910dc5 --- /dev/null +++ b/i18n/locales/en.json @@ -0,0 +1,3 @@ +{ + "welcome": "Welcome to Nuxt 3" +} \ No newline at end of file diff --git a/i18n/locales/pl.json b/i18n/locales/pl.json new file mode 100644 index 0000000..e169f2c --- /dev/null +++ b/i18n/locales/pl.json @@ -0,0 +1,3 @@ +{ + "welcome": "witaj w nuxt 3" +} \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index a567a03..ad37d14 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -16,21 +16,20 @@ export default defineNuxtConfig({ // }, // }, - modules: ["@pinia/nuxt", "@nuxt/eslint", "@nuxt/ui"], + modules: ["@pinia/nuxt", "@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n"], - // @nuxtjs/i18n" - // i18n: { - // locales: [ - // { code: "pl", name: "Polski", icon: "emojione:flag-for-poland" }, - // { code: "en", name: "English", icon: "emojione:flag-for-united-kingdom" }, - // ], - // lazy: true, - // defaultLocale: "en", - // strategy: "prefix", - // bundle: { - // optimizeTranslationDirective: false, - // }, - // }, + i18n: { + locales: [ + { code: "pl", file: "pl.json", name: "Polski", icon: "emojione:flag-for-poland" }, + { code: "en", file: "en.json", name: "English", icon: "emojione:flag-for-united-kingdom" }, + ], + lazy: true, + defaultLocale: "en", + strategy: "prefix", + bundle: { + optimizeTranslationDirective: false, + }, + }, css: ["@/assets/fonts.css", "@/assets/main.css"], vite: { plugins: [tailwindcss()], diff --git a/package.json b/package.json index 3297d19..231bae7 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,15 @@ "type": "module", "scripts": { "build": "nuxt build", - "dev": "nuxt dev", + "dev": "nuxt dev --host 0.0.0.0", "generate": "nuxt generate", - "preview": "nuxt preview", + "preview": "nuxt preview --host 0.0.0.0", "postinstall": "nuxt prepare" }, "dependencies": { "@nuxt/eslint": "^1.4.1", "@nuxt/ui": "^3.1.2", + "@nuxtjs/i18n": "^9.5.4", "@pinia/nuxt": "^0.11.0", "@tailwindcss/vite": "^4.1.7", "nuxt": "^3.17.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a2ff266..eb096e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@nuxt/ui': specifier: ^3.1.2 version: 3.1.2(@babel/parser@7.27.2)(db0@0.3.2)(embla-carousel@8.6.0)(ioredis@5.6.1)(jwt-decode@4.0.0)(magicast@0.3.5)(typescript@5.8.3)(vite@6.3.5(@types/node@22.15.21)(jiti@2.4.2)(lightningcss@1.30.1)(terser@5.39.2)(yaml@2.8.0))(vue-router@4.5.1(vue@3.5.14(typescript@5.8.3)))(vue@3.5.14(typescript@5.8.3))(zod@3.25.20) + '@nuxtjs/i18n': + specifier: ^9.5.4 + version: 9.5.4(@vue/compiler-dom@3.5.14)(eslint@9.27.0(jiti@2.4.2))(magicast@0.3.5)(rollup@4.41.0)(vue@3.5.14(typescript@5.8.3)) '@pinia/nuxt': specifier: ^0.11.0 version: 0.11.0(magicast@0.3.5)(pinia@3.0.2(typescript@5.8.3)(vue@3.5.14(typescript@5.8.3))) @@ -493,6 +496,81 @@ packages: '@internationalized/number@3.6.2': resolution: {integrity: sha512-E5QTOlMg9wo5OrKdHD6edo1JJlIoOsylh0+mbf0evi1tHJwMZfJSaBpGtnJV9N7w3jeiioox9EG/EWRWPh82vg==} + '@intlify/bundle-utils@10.0.1': + resolution: {integrity: sha512-WkaXfSevtpgtUR4t8K2M6lbR7g03mtOxFeh+vXp5KExvPqS12ppaRj1QxzwRuRI5VUto54A22BjKoBMLyHILWQ==} + engines: {node: '>= 18'} + peerDependencies: + petite-vue-i18n: '*' + vue-i18n: '*' + peerDependenciesMeta: + petite-vue-i18n: + optional: true + vue-i18n: + optional: true + + '@intlify/core-base@10.0.7': + resolution: {integrity: sha512-mE71aUH5baH0me8duB4FY5qevUJizypHsYw3eCvmOx07QvmKppgOONx3dYINxuA89Z2qkAGb/K6Nrpi7aAMwew==} + engines: {node: '>= 16'} + + '@intlify/core@10.0.7': + resolution: {integrity: sha512-4n9tKt0/HcPrXfm0ceQlNC/wsgrrfXyHwRHSSiekMAy5vkOBc4PJXB5aUHGGkkH0dDdlkYyxUWqhZ3V64+gcKw==} + engines: {node: '>= 16'} + + '@intlify/h3@0.6.1': + resolution: {integrity: sha512-hFMcqWXCoFNZkraa+JF7wzByGdE0vGi8rUs7CTFrE4hE3X2u9QcelH8VRO8mPgJDH+TgatzvrVp6iZsWVluk2A==} + engines: {node: '>= 18'} + + '@intlify/message-compiler@10.0.7': + resolution: {integrity: sha512-nrC4cDL/UHZSUqd8sRbVz+DPukzZ8NnG5OK+EB/nlxsH35deyzyVkXP/QuR8mFZrISJ+4hCd6VtCQCcT+RO+5g==} + engines: {node: '>= 16'} + + '@intlify/message-compiler@11.1.5': + resolution: {integrity: sha512-YLSBbjD7qUdShe3ZAat9Hnf9E8FRpN6qmNFD/x5Xg5JVXjsks0kJ90Zj6aAuyoppJQA/YJdWZ8/bB7k3dg2TjQ==} + engines: {node: '>= 16'} + + '@intlify/shared@10.0.7': + resolution: {integrity: sha512-oeoq0L5+5P4ShXa6jBQcx+BT+USe3MjX0xJexZO1y7rfDJdwZ9+QP3jO4tcS1nxhBYYdjvFTqe4bmnLijV0GxQ==} + engines: {node: '>= 16'} + + '@intlify/shared@11.1.5': + resolution: {integrity: sha512-+I4vRzHm38VjLr/CAciEPJhGYFzWWW4HMTm+6H3WqknXLh0ozNX9oC8ogMUwTSXYR/wGUb1/lTpNziiCH5MybQ==} + engines: {node: '>= 16'} + + '@intlify/unplugin-vue-i18n@6.0.8': + resolution: {integrity: sha512-Vvm3KhjE6TIBVUQAk37rBiaYy2M5OcWH0ZcI1XKEsOTeN1o0bErk+zeuXmcrcMc/73YggfI8RoxOUz9EB/69JQ==} + engines: {node: '>= 18'} + peerDependencies: + petite-vue-i18n: '*' + vue: ^3.2.25 + vue-i18n: '*' + peerDependenciesMeta: + petite-vue-i18n: + optional: true + vue-i18n: + optional: true + + '@intlify/utils@0.13.0': + resolution: {integrity: sha512-8i3uRdAxCGzuHwfmHcVjeLQBtysQB2aXl/ojoagDut5/gY5lvWCQ2+cnl2TiqE/fXj/D8EhWG/SLKA7qz4a3QA==} + engines: {node: '>= 18'} + + '@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 + '@ioredis/commands@1.2.0': resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} @@ -547,6 +625,11 @@ packages: engines: {node: '>=18'} hasBin: true + '@miyaneee/rollup-plugin-json5@1.2.0': + resolution: {integrity: sha512-JjTIaXZp9WzhUHpElrqPnl1AzBi/rvRs065F71+aTmlqvTMVkdbjZ8vfFl4nRlgJy+TPBw69ZK4pwFdmOAt4aA==} + peerDependencies: + rollup: ^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 + '@napi-rs/wasm-runtime@0.2.10': resolution: {integrity: sha512-bCsCyeZEwVErsGmyPNSzwfwFn4OdxBj0mmv6hOFucB/k81Ojdu68RbZdxYsRQUPc9l6SU5F/cG+bXgWs3oUgsQ==} @@ -711,15 +794,31 @@ packages: '@nuxtjs/color-mode@3.5.2': resolution: {integrity: sha512-cC6RfgZh3guHBMLLjrBB2Uti5eUoGM9KyauOaYS9ETmxNWBMTvpgjvSiSJp1OFljIXPIqVTJ3xtJpSNZiO3ZaA==} + '@nuxtjs/i18n@9.5.4': + resolution: {integrity: sha512-HSCC6bLvkI74AOJ/Hsa8+52uy92Bzpu/lVOKYJZIR/HV4TtV48fgKLPRlL8RmCXx/AmKBtrPsLfhAAIj9RBAKQ==} + engines: {node: '>=18.12.0'} + '@nuxtjs/tailwindcss@6.14.0': resolution: {integrity: sha512-30RyDK++LrUVRgc2A85MktGWIZoRQgeQKjE4CjjD64OXNozyl+4ScHnnYgqVToMM6Ch2ZG2W4wV2J0EN6F0zkQ==} + '@oxc-parser/binding-darwin-arm64@0.61.2': + resolution: {integrity: sha512-xpDuwawMDCHg3plbSjpMbrhNTzO1AlvvHqsUOTE3WDmv5K7fFD72f3Pl+SxPJ4D/IhMdskec1B5ZfZHM1iAFmQ==} + engines: {node: '>=14.0.0'} + cpu: [arm64] + os: [darwin] + '@oxc-parser/binding-darwin-arm64@0.71.0': resolution: {integrity: sha512-7R7TuHWL2hZ8BbRdxXlVJTE0os7TM6LL2EX2OkIz41B3421JeIU+2YH+IV55spIUy5E5ynesLk0IdpSSPVZ25Q==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [darwin] + '@oxc-parser/binding-darwin-x64@0.61.2': + resolution: {integrity: sha512-1zjghOALDDhg5mPJgQfoud/bLOxD3M9n8l2LxXK4NngxGh3xXq1K7vAs2dzDnwZI6FaStrrBMDJSocT2hggiLg==} + engines: {node: '>=14.0.0'} + cpu: [x64] + os: [darwin] + '@oxc-parser/binding-darwin-x64@0.71.0': resolution: {integrity: sha512-Q7QshRy7cDvpvWAH+qy2U8O9PKo5yEKFqPruD2OSOM8igy/GLIC21dAd6iCcqXRZxaqzN9c4DaXFtEZfq4NWsw==} engines: {node: '>=14.0.0'} @@ -732,6 +831,12 @@ packages: cpu: [x64] os: [freebsd] + '@oxc-parser/binding-linux-arm-gnueabihf@0.61.2': + resolution: {integrity: sha512-OppSdOE7BAHfx/hNbsS4tf+CPCEWEXeEB/4tJKcv6qysZKsTD6XXWUzn2F7KR7TFNSzA0hPjnZyezjFgo+xvcQ==} + engines: {node: '>=14.0.0'} + cpu: [arm] + os: [linux] + '@oxc-parser/binding-linux-arm-gnueabihf@0.71.0': resolution: {integrity: sha512-QZQcWMduFRWddqvjgLvsWoeellFjvWqvdI0O1m5hoMEykv2/Ag8d7IZbBwRwFqKBuK4UzpBNt4jZaYzRsv1irg==} engines: {node: '>=14.0.0'} @@ -744,12 +849,24 @@ packages: cpu: [arm] os: [linux] + '@oxc-parser/binding-linux-arm64-gnu@0.61.2': + resolution: {integrity: sha512-CqhKWDvVr4rZpi8Evh/K7FKwn9UnPhF0F0ivF+CsFCMOaS5egalmFRRybQk1QuwGq1XjTA3D8puqvlF0p82+ew==} + engines: {node: '>=14.0.0'} + cpu: [arm64] + os: [linux] + '@oxc-parser/binding-linux-arm64-gnu@0.71.0': resolution: {integrity: sha512-mAA6JGS+MB+gbN5y/KuQ095EHYGF7a/FaznM7klk5CaCap/UdiRWCVinVV6xXmejOPZMnrkr6R5Kqi6dHRsm2g==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [linux] + '@oxc-parser/binding-linux-arm64-musl@0.61.2': + resolution: {integrity: sha512-wLtzWy6EyMf7F83pcJhanolaQ7xnwnVAj2wjdJ52qgX4oQjqZZUo6Rk/LE2iY8Aq/R2Bx2yREFeIC4R1kjtB0A==} + engines: {node: '>=14.0.0'} + cpu: [arm64] + os: [linux] + '@oxc-parser/binding-linux-arm64-musl@0.71.0': resolution: {integrity: sha512-PaPmIEM0yldXSrO1Icrx6/DwnMXpEOv0bDVa0LFtwy2I+aiTiX7OVRB3pJCg8FEV9P+L48s9XW0Oaz+Dz3o3sQ==} engines: {node: '>=14.0.0'} @@ -768,35 +885,74 @@ packages: cpu: [s390x] os: [linux] + '@oxc-parser/binding-linux-x64-gnu@0.61.2': + resolution: {integrity: sha512-aJ+g/pDcOeqfB2bVZkUjHlCBL8H7lsgkuYVGKKLYxN/oLjrt2Jf/BVu6fL3NxmSSaFmtHKowDgoRAjiKwxQWEQ==} + engines: {node: '>=14.0.0'} + cpu: [x64] + os: [linux] + '@oxc-parser/binding-linux-x64-gnu@0.71.0': resolution: {integrity: sha512-steSQTwv3W+/hpES4/9E3vNohou1FXJLNWLDbYHDaBI9gZdYJp6zwALC8EShCz0NoQvCu4THD3IBsTBHvFBNyw==} engines: {node: '>=14.0.0'} cpu: [x64] os: [linux] + '@oxc-parser/binding-linux-x64-musl@0.61.2': + resolution: {integrity: sha512-PosnNyxTqCiMTgva5w695p3ooCcFU8tU+c+JnGgkBgD8pKTbV6fwn8dc4GlcgyyLaM1rD+zi/s+4ooTVML8iIA==} + engines: {node: '>=14.0.0'} + cpu: [x64] + os: [linux] + '@oxc-parser/binding-linux-x64-musl@0.71.0': resolution: {integrity: sha512-mV8j/haQBZRU2QnwZe0UIpnhpPBL9dFk1tgNVSH9tV7cV4xUZPn7pFDqMriAmpD7GLfmxbZMInDkujokd63M7Q==} engines: {node: '>=14.0.0'} cpu: [x64] os: [linux] + '@oxc-parser/binding-wasm32-wasi@0.61.2': + resolution: {integrity: sha512-zOxdLDItMXeB1GdVCtOOW+aC+Ra6C4E1ivT4rbhaaVe70RsCRa2fGmNC0divvgfQsL2eGBkCuB4d4N9DjfhK4Q==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + '@oxc-parser/binding-wasm32-wasi@0.71.0': resolution: {integrity: sha512-P8ScINpuihkkBX8BrN/4x4ka2+izncHh7/hHxxuPZDZTVMyNNnL1uSoI80tN9yN7NUtUKoi9aQUaF4h22RQcIA==} engines: {node: '>=14.0.0'} cpu: [wasm32] + '@oxc-parser/binding-win32-arm64-msvc@0.61.2': + resolution: {integrity: sha512-E7VMrb4XF748hyzIax2KV7TEfi27SfXoi/BH5guiBicSef/31qwHRdKCh708lmIYmbeEJ9D0wO/25K6dvTl8QQ==} + engines: {node: '>=14.0.0'} + cpu: [arm64] + os: [win32] + '@oxc-parser/binding-win32-arm64-msvc@0.71.0': resolution: {integrity: sha512-4jrJSdBXHmLYaghi1jvbuJmWu117wxqCpzHHgpEV9xFiRSngtClqZkNqyvcD4907e/VriEwluZ3PO3Mlp0y9cw==} engines: {node: '>=14.0.0'} cpu: [arm64] os: [win32] + '@oxc-parser/binding-win32-x64-msvc@0.61.2': + resolution: {integrity: sha512-GtRVVz4DGF94MzlJ7xCIpITu6WKYdTqWc2cqMaJEzYDC8EsHjNkfbGhmawhyodFFuTfWqPAjJecIvvAnfMLpxw==} + engines: {node: '>=14.0.0'} + cpu: [x64] + os: [win32] + '@oxc-parser/binding-win32-x64-msvc@0.71.0': resolution: {integrity: sha512-zF7xF19DOoANym/xwVClYH1tiW3S70W8ZDrMHdrEB7gZiTYLCIKIRMrpLVKaRia6LwEo7X0eduwdBa5QFawxOw==} engines: {node: '>=14.0.0'} cpu: [x64] os: [win32] + '@oxc-parser/wasm@0.60.0': + resolution: {integrity: sha512-Dkf9/D87WGBCW3L0+1DtpAfL4SrNsgeRvxwjpKCtbH7Kf6K+pxrT0IridaJfmWKu1Ml+fDvj+7HEyBcfUC/TXQ==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + + '@oxc-project/types@0.60.0': + resolution: {integrity: sha512-prhfNnb3ATFHOCv7mzKFfwLij5RzoUz6Y1n525ZhCEqfq5wreCXL+DyVoq3ShukPo7q45ZjYIdjFUgjj+WKzng==} + + '@oxc-project/types@0.61.2': + resolution: {integrity: sha512-rfuwJwvwn9MRthHNXlSo9Eka/u7gC0MhnWAoX3BhE1+rwPOl22nq0K0Y997Hof0tHCOuD7H3/Z8HTfCVhB4c5Q==} + '@oxc-project/types@0.71.0': resolution: {integrity: sha512-5CwQ4MI+P4MQbjLWXgNurA+igGwu/opNetIE13LBs9+V93R64MLvDKOOLZIXSzEfovU3Zef3q3GjPnMTgJTn2w==} @@ -977,6 +1133,15 @@ packages: rollup: optional: true + '@rollup/plugin-yaml@4.1.2': + resolution: {integrity: sha512-RpupciIeZMUqhgFE97ba0s98mOFS7CWzN3EJNhJkqSv9XLlWYtwVdtE6cDw6ASOF/sZVFS7kRJXftaqM2Vakdw==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} @@ -2538,6 +2703,10 @@ packages: resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} @@ -3147,6 +3316,10 @@ packages: engines: {node: '>=6'} hasBin: true + jsonc-eslint-parser@2.4.0: + resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -3722,6 +3895,10 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} + oxc-parser@0.61.2: + resolution: {integrity: sha512-ZJnAP7VLQhqqnfku7+gssTwmbQyfbZ552Vly4O2BMHkvDwfwLlPtAIYjMq57Lcj5HLmopI0oZlk7xTSML/YsZA==} + engines: {node: '>=14.0.0'} + oxc-parser@0.71.0: resolution: {integrity: sha512-RXmu7qi+67RJ8E5UhKZJdliTI+AqD3gncsJecjujcYvjsCZV9KNIfu42fQAnAfLaYZuzOMRdUYh7LzV3F1C0Gw==} engines: {node: '>=14.0.0'} @@ -4652,6 +4829,10 @@ packages: toml@3.0.0: resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} + tosource@2.0.0-alpha.3: + resolution: {integrity: sha512-KAB2lrSS48y91MzFPFuDg4hLbvDiyTjOVgaK7Erw+5AmZXNq4sFRVn8r6yxSLuNs15PaokrDRpS61ERY9uZOug==} + engines: {node: '>=10'} + totalist@3.0.1: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} @@ -5052,6 +5233,12 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 + vue-i18n@10.0.7: + resolution: {integrity: sha512-bKsk0PYwP9gdYF4nqSAT0kDpnLu1gZzlxFl885VH4mHVhEnqP16+/mAU05r1U6NIrc0fGDWP89tZ8GzeJZpe+w==} + engines: {node: '>= 16'} + peerDependencies: + vue: ^3.0.0 + vue-router@4.5.1: resolution: {integrity: sha512-ogAF3P97NPm8fJsE4by9dwSYtDwXIY1nFY9T6DyQnGHd1E2Da94w9JIolpe42LJGIl0DwOHBi8TcRPlPGwbTtw==} peerDependencies: @@ -5152,6 +5339,10 @@ packages: resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==} engines: {node: '>=18'} + yaml-eslint-parser@1.3.0: + resolution: {integrity: sha512-E/+VitOorXSLiAqtTd7Yqax0/pAS3xaYMP+AUUJGOK1OZG3rhcj9fcJOM5HJ2VrP1FrStVCWr1muTfQCdj4tAA==} + engines: {node: ^14.17.0 || >=16.0.0} + yaml@2.8.0: resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==} engines: {node: '>= 14.6'} @@ -5683,6 +5874,87 @@ snapshots: dependencies: '@swc/helpers': 0.5.17 + '@intlify/bundle-utils@10.0.1(vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3)))': + dependencies: + '@intlify/message-compiler': 11.1.5 + '@intlify/shared': 11.1.5 + acorn: 8.14.1 + escodegen: 2.1.0 + estree-walker: 2.0.2 + jsonc-eslint-parser: 2.4.0 + mlly: 1.7.4 + source-map-js: 1.2.1 + yaml-eslint-parser: 1.3.0 + optionalDependencies: + vue-i18n: 10.0.7(vue@3.5.14(typescript@5.8.3)) + + '@intlify/core-base@10.0.7': + dependencies: + '@intlify/message-compiler': 10.0.7 + '@intlify/shared': 10.0.7 + + '@intlify/core@10.0.7': + dependencies: + '@intlify/core-base': 10.0.7 + '@intlify/shared': 10.0.7 + + '@intlify/h3@0.6.1': + dependencies: + '@intlify/core': 10.0.7 + '@intlify/utils': 0.13.0 + + '@intlify/message-compiler@10.0.7': + dependencies: + '@intlify/shared': 10.0.7 + source-map-js: 1.2.1 + + '@intlify/message-compiler@11.1.5': + dependencies: + '@intlify/shared': 11.1.5 + source-map-js: 1.2.1 + + '@intlify/shared@10.0.7': {} + + '@intlify/shared@11.1.5': {} + + '@intlify/unplugin-vue-i18n@6.0.8(@vue/compiler-dom@3.5.14)(eslint@9.27.0(jiti@2.4.2))(rollup@4.41.0)(typescript@5.8.3)(vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3)))(vue@3.5.14(typescript@5.8.3))': + dependencies: + '@eslint-community/eslint-utils': 4.7.0(eslint@9.27.0(jiti@2.4.2)) + '@intlify/bundle-utils': 10.0.1(vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3))) + '@intlify/shared': 11.1.5 + '@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.1.5)(@vue/compiler-dom@3.5.14)(vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3)))(vue@3.5.14(typescript@5.8.3)) + '@rollup/pluginutils': 5.1.4(rollup@4.41.0) + '@typescript-eslint/scope-manager': 8.32.1 + '@typescript-eslint/typescript-estree': 8.32.1(typescript@5.8.3) + debug: 4.4.1 + fast-glob: 3.3.3 + js-yaml: 4.1.0 + json5: 2.2.3 + pathe: 1.1.2 + picocolors: 1.1.1 + source-map-js: 1.2.1 + unplugin: 1.16.1 + vue: 3.5.14(typescript@5.8.3) + optionalDependencies: + vue-i18n: 10.0.7(vue@3.5.14(typescript@5.8.3)) + transitivePeerDependencies: + - '@vue/compiler-dom' + - eslint + - rollup + - supports-color + - typescript + + '@intlify/utils@0.13.0': {} + + '@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.1.5)(@vue/compiler-dom@3.5.14)(vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3)))(vue@3.5.14(typescript@5.8.3))': + dependencies: + '@babel/parser': 7.27.2 + optionalDependencies: + '@intlify/shared': 11.1.5 + '@vue/compiler-dom': 3.5.14 + vue: 3.5.14(typescript@5.8.3) + vue-i18n: 10.0.7(vue@3.5.14(typescript@5.8.3)) + '@ioredis/commands@1.2.0': {} '@isaacs/cliui@8.0.2': @@ -5768,6 +6040,12 @@ snapshots: - encoding - supports-color + '@miyaneee/rollup-plugin-json5@1.2.0(rollup@4.41.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.41.0) + json5: 2.2.3 + rollup: 4.41.0 + '@napi-rs/wasm-runtime@0.2.10': dependencies: '@emnapi/core': 1.4.3 @@ -6316,6 +6594,42 @@ snapshots: transitivePeerDependencies: - magicast + '@nuxtjs/i18n@9.5.4(@vue/compiler-dom@3.5.14)(eslint@9.27.0(jiti@2.4.2))(magicast@0.3.5)(rollup@4.41.0)(vue@3.5.14(typescript@5.8.3))': + dependencies: + '@intlify/h3': 0.6.1 + '@intlify/shared': 10.0.7 + '@intlify/unplugin-vue-i18n': 6.0.8(@vue/compiler-dom@3.5.14)(eslint@9.27.0(jiti@2.4.2))(rollup@4.41.0)(typescript@5.8.3)(vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3)))(vue@3.5.14(typescript@5.8.3)) + '@intlify/utils': 0.13.0 + '@miyaneee/rollup-plugin-json5': 1.2.0(rollup@4.41.0) + '@nuxt/kit': 3.17.4(magicast@0.3.5) + '@oxc-parser/wasm': 0.60.0 + '@rollup/plugin-yaml': 4.1.2(rollup@4.41.0) + '@vue/compiler-sfc': 3.5.14 + debug: 4.4.1 + defu: 6.1.4 + esbuild: 0.25.4 + estree-walker: 3.0.3 + h3: 1.15.3 + knitwork: 1.2.0 + magic-string: 0.30.17 + mlly: 1.7.4 + oxc-parser: 0.61.2 + pathe: 2.0.3 + typescript: 5.8.3 + ufo: 1.6.1 + unplugin: 2.3.4 + unplugin-vue-router: 0.12.0(vue-router@4.5.1(vue@3.5.14(typescript@5.8.3)))(vue@3.5.14(typescript@5.8.3)) + vue-i18n: 10.0.7(vue@3.5.14(typescript@5.8.3)) + vue-router: 4.5.1(vue@3.5.14(typescript@5.8.3)) + transitivePeerDependencies: + - '@vue/compiler-dom' + - eslint + - magicast + - petite-vue-i18n + - rollup + - supports-color + - vue + '@nuxtjs/tailwindcss@6.14.0(magicast@0.3.5)': dependencies: '@nuxt/kit': 3.17.4(magicast@0.3.5) @@ -6339,24 +6653,39 @@ snapshots: - supports-color - ts-node + '@oxc-parser/binding-darwin-arm64@0.61.2': + optional: true + '@oxc-parser/binding-darwin-arm64@0.71.0': optional: true + '@oxc-parser/binding-darwin-x64@0.61.2': + optional: true + '@oxc-parser/binding-darwin-x64@0.71.0': optional: true '@oxc-parser/binding-freebsd-x64@0.71.0': optional: true + '@oxc-parser/binding-linux-arm-gnueabihf@0.61.2': + optional: true + '@oxc-parser/binding-linux-arm-gnueabihf@0.71.0': optional: true '@oxc-parser/binding-linux-arm-musleabihf@0.71.0': optional: true + '@oxc-parser/binding-linux-arm64-gnu@0.61.2': + optional: true + '@oxc-parser/binding-linux-arm64-gnu@0.71.0': optional: true + '@oxc-parser/binding-linux-arm64-musl@0.61.2': + optional: true + '@oxc-parser/binding-linux-arm64-musl@0.71.0': optional: true @@ -6366,23 +6695,48 @@ snapshots: '@oxc-parser/binding-linux-s390x-gnu@0.71.0': optional: true + '@oxc-parser/binding-linux-x64-gnu@0.61.2': + optional: true + '@oxc-parser/binding-linux-x64-gnu@0.71.0': optional: true + '@oxc-parser/binding-linux-x64-musl@0.61.2': + optional: true + '@oxc-parser/binding-linux-x64-musl@0.71.0': optional: true + '@oxc-parser/binding-wasm32-wasi@0.61.2': + dependencies: + '@napi-rs/wasm-runtime': 0.2.10 + optional: true + '@oxc-parser/binding-wasm32-wasi@0.71.0': dependencies: '@napi-rs/wasm-runtime': 0.2.10 optional: true + '@oxc-parser/binding-win32-arm64-msvc@0.61.2': + optional: true + '@oxc-parser/binding-win32-arm64-msvc@0.71.0': optional: true + '@oxc-parser/binding-win32-x64-msvc@0.61.2': + optional: true + '@oxc-parser/binding-win32-x64-msvc@0.71.0': optional: true + '@oxc-parser/wasm@0.60.0': + dependencies: + '@oxc-project/types': 0.60.0 + + '@oxc-project/types@0.60.0': {} + + '@oxc-project/types@0.61.2': {} + '@oxc-project/types@0.71.0': {} '@parcel/watcher-android-arm64@2.5.1': @@ -6531,6 +6885,14 @@ snapshots: optionalDependencies: rollup: 4.41.0 + '@rollup/plugin-yaml@4.1.2(rollup@4.41.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.41.0) + js-yaml: 4.1.0 + tosource: 2.0.0-alpha.3 + optionalDependencies: + rollup: 4.41.0 + '@rollup/pluginutils@5.1.4(rollup@4.41.0)': dependencies: '@types/estree': 1.0.7 @@ -8174,6 +8536,12 @@ snapshots: acorn-jsx: 5.3.2(acorn@8.14.1) eslint-visitor-keys: 4.2.0 + espree@9.6.1: + dependencies: + acorn: 8.14.1 + acorn-jsx: 5.3.2(acorn@8.14.1) + eslint-visitor-keys: 3.4.3 + esprima@4.0.1: {} esquery@1.6.0: @@ -8802,6 +9170,13 @@ snapshots: json5@2.2.3: {} + jsonc-eslint-parser@2.4.0: + dependencies: + acorn: 8.14.1 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + semver: 7.7.2 + jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -9551,6 +9926,21 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 + oxc-parser@0.61.2: + dependencies: + '@oxc-project/types': 0.61.2 + optionalDependencies: + '@oxc-parser/binding-darwin-arm64': 0.61.2 + '@oxc-parser/binding-darwin-x64': 0.61.2 + '@oxc-parser/binding-linux-arm-gnueabihf': 0.61.2 + '@oxc-parser/binding-linux-arm64-gnu': 0.61.2 + '@oxc-parser/binding-linux-arm64-musl': 0.61.2 + '@oxc-parser/binding-linux-x64-gnu': 0.61.2 + '@oxc-parser/binding-linux-x64-musl': 0.61.2 + '@oxc-parser/binding-wasm32-wasi': 0.61.2 + '@oxc-parser/binding-win32-arm64-msvc': 0.61.2 + '@oxc-parser/binding-win32-x64-msvc': 0.61.2 + oxc-parser@0.71.0: dependencies: '@oxc-project/types': 0.71.0 @@ -10541,6 +10931,8 @@ snapshots: toml@3.0.0: {} + tosource@2.0.0-alpha.3: {} + totalist@3.0.1: {} tr46@0.0.3: {} @@ -10945,6 +11337,13 @@ snapshots: transitivePeerDependencies: - supports-color + vue-i18n@10.0.7(vue@3.5.14(typescript@5.8.3)): + dependencies: + '@intlify/core-base': 10.0.7 + '@intlify/shared': 10.0.7 + '@vue/devtools-api': 6.6.4 + vue: 3.5.14(typescript@5.8.3) + vue-router@4.5.1(vue@3.5.14(typescript@5.8.3)): dependencies: '@vue/devtools-api': 6.6.4 @@ -11038,6 +11437,11 @@ snapshots: yallist@5.0.0: {} + yaml-eslint-parser@1.3.0: + dependencies: + eslint-visitor-keys: 3.4.3 + yaml: 2.8.0 + yaml@2.8.0: {} yargs-parser@21.1.1: {}