From bce1ab993f1691fa0dfd148847a615a429d860f5 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Mon, 6 Jan 2025 12:22:56 +0300 Subject: [PATCH] Update i18n packages and group them in renovate config --- .github/renovate.json5 | 4 ++ frontend/package.json | 10 +-- package.json | 6 +- pnpm-lock.yaml | 157 +++++++++++++++++++++++++++++++---------- 4 files changed, 129 insertions(+), 48 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index afb3ece9f6..5fe7c7d58b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -75,6 +75,10 @@ "typescript-eslint", ], }, + { + groupName: "i18n", + matchPackageNames: ["vue-i18n", "@nuxtjs/i18n", "@intlify{/,}**"], + }, { matchPackageNames: ["/elasticsearch/", "/postgres/", "/redis/"], matchManagers: ["docker-compose", "dockerfile"], diff --git a/frontend/package.json b/frontend/package.json index a57aea3ee1..245bd4c4f3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -82,11 +82,11 @@ }, "devDependencies": { "@babel/parser": "^7.24.8", - "@intlify/core": "10.0.5", - "@intlify/core-base": "10.0.5", - "@intlify/shared": "10.0.5", + "@intlify/core": "^11.0.1", + "@intlify/core-base": "^11.0.1", + "@intlify/shared": "^11.0.1", "@nuxt/test-utils": "^3.15.1", - "@nuxtjs/i18n": "^9.1.0", + "@nuxtjs/i18n": "^9.1.1", "@nuxtjs/storybook": "8.3.2", "@playwright/test": "1.49.1", "@storybook-vue/nuxt": "8.3.2", @@ -113,7 +113,7 @@ "vitest": "^2.1.4", "vitest-dom": "^0.1.1", "vue": "^3.5.13", - "vue-i18n": "10.0.5", + "vue-i18n": "^11.0.1", "vue-router": "^4.4.5", "vue-tsc": "2.2.0" }, diff --git a/package.json b/package.json index 957888ae5b..6def3a0ea3 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,7 @@ "overrides": { "nitropack": "~2.9.7", "vite": "^6.0.1", - "@intlify/core-base": "10.0.5", - "@intlify/message-compiler": "10.0.5", - "@intlify/shared": "10.0.5", - "@vercel/nft": "^0.27.4", - "@vue/compiler-sfc": "3.5.13" + "@vercel/nft": "^0.27.4" } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ba862d2fd5..e5497269af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,11 +7,7 @@ settings: overrides: nitropack: ~2.9.7 vite: ^6.0.1 - '@intlify/core-base': 10.0.5 - '@intlify/message-compiler': 10.0.5 - '@intlify/shared': 10.0.5 '@vercel/nft': ^0.27.4 - '@vue/compiler-sfc': 3.5.13 pnpmfileChecksum: ugk6vame5phdvj3z7an37uzqxm @@ -145,20 +141,20 @@ importers: specifier: ^7.24.8 version: 7.26.2 '@intlify/core': - specifier: 10.0.5 - version: 10.0.5 + specifier: ^11.0.1 + version: 11.0.1 '@intlify/core-base': - specifier: 10.0.5 - version: 10.0.5 + specifier: ^11.0.1 + version: 11.0.1 '@intlify/shared': - specifier: 10.0.5 - version: 10.0.5 + specifier: ^11.0.1 + version: 11.0.1 '@nuxt/test-utils': specifier: ^3.15.1 version: 3.15.1(@jest/globals@29.7.0)(@playwright/test@1.49.1)(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.2)))(@types/node@22.8.5)(@vitest/ui@2.1.6)(@vue/test-utils@2.4.6)(jiti@2.4.2)(jsdom@25.0.1)(magicast@0.3.5)(playwright-core@1.49.1)(rollup@4.27.4)(terser@5.31.0)(typescript@5.7.2)(vitest@2.1.6)(yaml@2.7.0) '@nuxtjs/i18n': - specifier: ^9.1.0 - version: 9.1.0(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(magicast@0.3.5)(rollup@4.27.4)(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)) + specifier: ^9.1.1 + version: 9.1.1(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(magicast@0.3.5)(rollup@4.27.4)(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)) '@nuxtjs/storybook': specifier: 8.3.2 version: 8.3.2(@types/node@22.8.5)(eslint@9.13.0(jiti@2.4.2))(magicast@0.3.5)(nuxt@3.15.1(@parcel/watcher@2.4.1)(@types/node@22.8.5)(db0@0.1.4)(encoding@0.1.13)(eslint@9.13.0(jiti@2.4.2))(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.3)(rollup@4.27.4)(terser@5.31.0)(typescript@5.7.2)(vite@6.0.1(@types/node@22.8.5)(jiti@2.4.2)(terser@5.31.0)(yaml@2.7.0))(vue-tsc@2.2.0(typescript@5.7.2))(yaml@2.7.0))(optionator@0.9.3)(rollup@4.27.4)(terser@5.31.0)(typescript@5.7.2)(vite@6.0.1(@types/node@22.8.5)(jiti@2.4.2)(terser@5.31.0)(yaml@2.7.0))(vue-tsc@2.2.0(typescript@5.7.2))(vue@3.5.13(typescript@5.7.2))(yaml@2.7.0) @@ -238,8 +234,8 @@ importers: specifier: ^3.5.13 version: 3.5.13(typescript@5.7.2) vue-i18n: - specifier: 10.0.5 - version: 10.0.5(vue@3.5.13(typescript@5.7.2)) + specifier: ^11.0.1 + version: 11.0.1(vue@3.5.13(typescript@5.7.2)) vue-router: specifier: ^4.4.5 version: 4.5.0(vue@3.5.13(typescript@5.7.2)) @@ -1175,8 +1171,8 @@ packages: resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} engines: {node: '>=18.18'} - '@intlify/bundle-utils@9.0.0': - resolution: {integrity: sha512-19dunbgM4wuCvi2xSai2PKhXkcKGjlbJhNWm9BCQWkUYcPmXwzptNWOE0O7OSrhNlEDxwpkHsJzZ/vLbCkpElw==} + '@intlify/bundle-utils@10.0.0': + resolution: {integrity: sha512-BR5yLOkF2dzrARTbAg7RGAIPcx9Aark7p1K/0O285F7rfzso9j2dsa+S4dA67clZ0rToZ10NSSTfbyUptVu7Bg==} engines: {node: '>= 18'} peerDependencies: petite-vue-i18n: '*' @@ -1191,10 +1187,22 @@ packages: resolution: {integrity: sha512-F3snDTQs0MdvnnyzTDTVkOYVAZOE/MHwRvF7mn7Jw1yuih4NrFYLNYIymGlLmq4HU2iIdzYsZ7f47bOcwY73XQ==} engines: {node: '>= 16'} + '@intlify/core-base@11.0.1': + resolution: {integrity: sha512-NAmhw1l/llM0HZRpagR/ChJTNymW4ll6/4EDSJML5c8L5Hl/+k6UyF8EIgE6DeHpfheQujkSRngauViHqq6jJQ==} + engines: {node: '>= 16'} + + '@intlify/core-base@9.14.2': + resolution: {integrity: sha512-DZyQ4Hk22sC81MP4qiCDuU+LdaYW91A6lCjq8AWPvY3+mGMzhGDfOCzvyR6YBQxtlPjFqMoFk9ylnNYRAQwXtQ==} + engines: {node: '>= 16'} + '@intlify/core@10.0.5': resolution: {integrity: sha512-wvjsNSpjulznpPs24ZmwvmcomUP6qvBvRt5YAplx5zaCqM7n5KbiZk4mlPl2GjPVYUIOLlyZb0CUFQ5UJB/DMA==} engines: {node: '>= 16'} + '@intlify/core@11.0.1': + resolution: {integrity: sha512-QBmit2KbVo+9mDiMTula7ZEBzxqd6j9cttHvH8tSiY16tymIN3eJBagAEes9Q1ZGUgypq8PiT966qHvn6Fzwug==} + engines: {node: '>= 16'} + '@intlify/eslint-plugin-vue-i18n@3.0.0': resolution: {integrity: sha512-s4fe+VOiqMZGhDrXWnL1xLyHbcFWBcEBeD/KpVrkOtL+utH2LPTi7uZ8RvWSthMS0mUL/7L74hFJ//OUU7AYww==} engines: {node: '>=18.0.0'} @@ -1209,12 +1217,36 @@ packages: resolution: {integrity: sha512-6GT1BJ852gZ0gItNZN2krX5QAmea+cmdjMvsWohArAZ3GmHdnNANEcF9JjPXAMRtQ6Ux5E269ymamg/+WU6tQA==} engines: {node: '>= 16'} + '@intlify/message-compiler@11.0.0-rc.1': + resolution: {integrity: sha512-TGw2uBfuTFTegZf/BHtUQBEKxl7Q/dVGLoqRIdw8lFsp9g/53sYn5iD+0HxIzdYjbWL6BTJMXCPUHp9PxDTRPw==} + engines: {node: '>= 16'} + + '@intlify/message-compiler@11.0.1': + resolution: {integrity: sha512-5RFH8x+Mn3mbjcHXnb6KCXGiczBdiQkWkv99iiA0JpKrNuTAQeW59Pjq/uObMB0eR0shnKYGTkIJxum+DbL3sw==} + engines: {node: '>= 16'} + + '@intlify/message-compiler@9.14.2': + resolution: {integrity: sha512-YsKKuV4Qv4wrLNsvgWbTf0E40uRv+Qiw1BeLQ0LAxifQuhiMe+hfTIzOMdWj/ZpnTDj4RSZtkXjJM7JDiiB5LQ==} + engines: {node: '>= 16'} + '@intlify/shared@10.0.5': resolution: {integrity: sha512-bmsP4L2HqBF6i6uaMqJMcFBONVjKt+siGluRq4Ca4C0q7W2eMaVZr8iCgF9dKbcVXutftkC7D6z2SaSMmLiDyA==} engines: {node: '>= 16'} - '@intlify/unplugin-vue-i18n@5.3.1': - resolution: {integrity: sha512-76huP8TpMOtBMLsYYIMLNbqMPXJ7+Q6xcjP6495h/pmbOQ7sw/DB8E0OFvDFeIZ2571a4ylzJnz+KMuYbAs1xA==} + '@intlify/shared@11.0.0-rc.1': + resolution: {integrity: sha512-8tR1xe7ZEbkabTuE/tNhzpolygUn9OaYp9yuYAF4MgDNZg06C3Qny80bes2/e9/Wm3aVkPUlCw6WgU7mQd0yEg==} + engines: {node: '>= 16'} + + '@intlify/shared@11.0.1': + resolution: {integrity: sha512-lH164+aDDptHZ3dBDbIhRa1dOPQUp+83iugpc+1upTOWCnwyC1PVis6rSWNMMJ8VQxvtHQB9JMib48K55y0PvQ==} + engines: {node: '>= 16'} + + '@intlify/shared@9.14.2': + resolution: {integrity: sha512-uRAHAxYPeF+G5DBIboKpPgC/Waecd4Jz8ihtkpJQD5ycb5PwXp0k/+hBGl5dAjwF7w+l74kz/PKA8r8OK//RUw==} + engines: {node: '>= 16'} + + '@intlify/unplugin-vue-i18n@6.0.3': + resolution: {integrity: sha512-9ZDjBlhUHtgjRl23TVcgfJttgu8cNepwVhWvOv3mUMRDAhjW0pur1mWKEUKr1I8PNwE4Gvv2IQ1xcl4RL0nG0g==} engines: {node: '>= 18'} peerDependencies: petite-vue-i18n: '*' @@ -1230,14 +1262,14 @@ packages: resolution: {integrity: sha512-8i3uRdAxCGzuHwfmHcVjeLQBtysQB2aXl/ojoagDut5/gY5lvWCQ2+cnl2TiqE/fXj/D8EhWG/SLKA7qz4a3QA==} engines: {node: '>= 18'} - '@intlify/vue-i18n-extensions@7.0.0': - resolution: {integrity: sha512-MtvfJnb4aklpCU5Q/dkWkBT/vGsp3qERiPIwtTq5lX4PCLHtUprAJZp8wQj5ZcwDaFCU7+yVMjYbeXpIf927cA==} + '@intlify/vue-i18n-extensions@8.0.0': + resolution: {integrity: sha512-w0+70CvTmuqbskWfzeYhn0IXxllr6mU+IeM2MU0M+j9OW64jkrvqY+pYFWrUnIIC9bEdij3NICruicwd5EgUuQ==} engines: {node: '>= 18'} peerDependencies: - '@intlify/shared': 10.0.5 + '@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 + vue-i18n: ^9.0.0 || ^10.0.0 || ^11.0.0 peerDependenciesMeta: '@intlify/shared': optional: true @@ -1457,8 +1489,8 @@ packages: peerDependencies: vue: ^3.3.4 - '@nuxtjs/i18n@9.1.0': - resolution: {integrity: sha512-2wDdZsGgvr6SWMSUaTgQhk7ytVuca3RkTR1zijDaQ6u6wnk8MeVPujINVBO/U6ufYTggSf+TM66R7bzGYf/brg==} + '@nuxtjs/i18n@9.1.1': + resolution: {integrity: sha512-S8l5ri1GFo5OUsl9qSgicE9Sm0BZjVHU7p6ml1qhQUTewngnTPTlcytWX5etwJeAjHEu2w9VAV4qXTn9Q5EgmQ==} engines: {node: ^14.16.0 || >=16.11.0} '@nuxtjs/plausible@1.0.3': @@ -2561,7 +2593,7 @@ packages: resolution: {integrity: sha512-ls4RiHO1ta4mxqqajWRh8158uFObVrrtAPoxk7cIp4HrnQUj/ScKzqz53HxYpG3X6Zb7H2v+0eTGLSoy8HQ2nA==} engines: {node: '>=14'} peerDependencies: - '@vue/compiler-sfc': 3.5.13 + '@vue/compiler-sfc': '>= 3' vue: '>= 3' peerDependenciesMeta: '@vue/compiler-sfc': @@ -7584,6 +7616,12 @@ packages: peerDependencies: vue: ^3.0.0 + vue-i18n@11.0.1: + resolution: {integrity: sha512-pWAT8CusK8q9/EpN7V3oxwHwxWm6+Kp2PeTZmRGvdZTkUzMQDpbbmHp0TwQ8xw04XKm23cr6B4GL72y3W8Yekg==} + engines: {node: '>= 16'} + peerDependencies: + vue: ^3.0.0 + vue-inbrowser-compiler-independent-utils@4.71.1: resolution: {integrity: sha512-K3wt3iVmNGaFEOUR4JIThQRWfqokxLfnPslD41FDZB2ajXp789+wCqJyGYlIFsvEQ2P61PInw6/ph5iiqg51gg==} peerDependencies: @@ -8395,10 +8433,10 @@ snapshots: '@humanwhocodes/retry@0.3.1': {} - '@intlify/bundle-utils@9.0.0(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))': + '@intlify/bundle-utils@10.0.0(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))': dependencies: - '@intlify/message-compiler': 10.0.5 - '@intlify/shared': 10.0.5 + '@intlify/message-compiler': 11.0.0-rc.1 + '@intlify/shared': 11.0.0-rc.1 acorn: 8.14.0 escodegen: 2.1.0 estree-walker: 2.0.2 @@ -8414,16 +8452,31 @@ snapshots: '@intlify/message-compiler': 10.0.5 '@intlify/shared': 10.0.5 + '@intlify/core-base@11.0.1': + dependencies: + '@intlify/message-compiler': 11.0.1 + '@intlify/shared': 11.0.1 + + '@intlify/core-base@9.14.2': + dependencies: + '@intlify/message-compiler': 9.14.2 + '@intlify/shared': 9.14.2 + '@intlify/core@10.0.5': dependencies: '@intlify/core-base': 10.0.5 '@intlify/shared': 10.0.5 + '@intlify/core@11.0.1': + dependencies: + '@intlify/core-base': 11.0.1 + '@intlify/shared': 11.0.1 + '@intlify/eslint-plugin-vue-i18n@3.0.0(eslint@9.13.0(jiti@2.4.2))': dependencies: '@eslint/eslintrc': 3.1.0 - '@intlify/core-base': 10.0.5 - '@intlify/message-compiler': 10.0.5 + '@intlify/core-base': 9.14.2 + '@intlify/message-compiler': 9.14.2 debug: 4.3.7(supports-color@9.4.0) eslint: 9.13.0(jiti@2.4.2) eslint-compat-utils: 0.5.0(eslint@9.13.0(jiti@2.4.2)) @@ -8454,14 +8507,35 @@ snapshots: '@intlify/shared': 10.0.5 source-map-js: 1.2.1 + '@intlify/message-compiler@11.0.0-rc.1': + dependencies: + '@intlify/shared': 11.0.0-rc.1 + source-map-js: 1.2.1 + + '@intlify/message-compiler@11.0.1': + dependencies: + '@intlify/shared': 11.0.1 + source-map-js: 1.2.1 + + '@intlify/message-compiler@9.14.2': + dependencies: + '@intlify/shared': 9.14.2 + source-map-js: 1.2.1 + '@intlify/shared@10.0.5': {} - '@intlify/unplugin-vue-i18n@5.3.1(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(rollup@4.27.4)(typescript@5.7.2)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2))': + '@intlify/shared@11.0.0-rc.1': {} + + '@intlify/shared@11.0.1': {} + + '@intlify/shared@9.14.2': {} + + '@intlify/unplugin-vue-i18n@6.0.3(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(rollup@4.27.4)(typescript@5.7.2)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2))': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.13.0(jiti@2.4.2)) - '@intlify/bundle-utils': 9.0.0(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2))) - '@intlify/shared': 10.0.5 - '@intlify/vue-i18n-extensions': 7.0.0(@intlify/shared@10.0.5)(@vue/compiler-dom@3.5.13)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2)) + '@intlify/bundle-utils': 10.0.0(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2))) + '@intlify/shared': 11.0.1 + '@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.0.1)(@vue/compiler-dom@3.5.13)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2)) '@rollup/pluginutils': 5.1.3(rollup@4.27.4) '@typescript-eslint/scope-manager': 8.19.0 '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.2) @@ -8485,11 +8559,11 @@ snapshots: '@intlify/utils@0.13.0': {} - '@intlify/vue-i18n-extensions@7.0.0(@intlify/shared@10.0.5)(@vue/compiler-dom@3.5.13)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2))': + '@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.0.1)(@vue/compiler-dom@3.5.13)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2))': dependencies: '@babel/parser': 7.26.2 optionalDependencies: - '@intlify/shared': 10.0.5 + '@intlify/shared': 11.0.1 '@vue/compiler-dom': 3.5.13 vue: 3.5.13(typescript@5.7.2) vue-i18n: 10.0.5(vue@3.5.13(typescript@5.7.2)) @@ -8955,11 +9029,11 @@ snapshots: - vue-tsc - yaml - '@nuxtjs/i18n@9.1.0(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(magicast@0.3.5)(rollup@4.27.4)(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2))': + '@nuxtjs/i18n@9.1.1(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(magicast@0.3.5)(rollup@4.27.4)(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2))': dependencies: '@intlify/h3': 0.6.1 '@intlify/shared': 10.0.5 - '@intlify/unplugin-vue-i18n': 5.3.1(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(rollup@4.27.4)(typescript@5.7.2)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2)) + '@intlify/unplugin-vue-i18n': 6.0.3(@vue/compiler-dom@3.5.13)(eslint@9.13.0(jiti@2.4.2))(rollup@4.27.4)(typescript@5.7.2)(vue-i18n@10.0.5(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2)) '@intlify/utils': 0.13.0 '@miyaneee/rollup-plugin-json5': 1.2.0(rollup@4.27.4) '@nuxt/kit': 3.15.1(magicast@0.3.5)(rollup@4.27.4) @@ -16331,6 +16405,13 @@ snapshots: '@vue/devtools-api': 6.6.4 vue: 3.5.13(typescript@5.7.2) + vue-i18n@11.0.1(vue@3.5.13(typescript@5.7.2)): + dependencies: + '@intlify/core-base': 11.0.1 + '@intlify/shared': 11.0.1 + '@vue/devtools-api': 6.6.4 + vue: 3.5.13(typescript@5.7.2) + vue-inbrowser-compiler-independent-utils@4.71.1(vue@3.5.13(typescript@5.7.2)): dependencies: vue: 3.5.13(typescript@5.7.2)