From c77833e8ed71e031317a6a1a9d60492d21d6f67e Mon Sep 17 00:00:00 2001 From: sharevb Date: Sat, 13 Jun 2026 21:20:21 +0200 Subject: [PATCH 1/3] Add GitHub Actions workflow for Vite bundle analysis --- .github/workflows/bundle-analyzer.yml | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/bundle-analyzer.yml diff --git a/.github/workflows/bundle-analyzer.yml b/.github/workflows/bundle-analyzer.yml new file mode 100644 index 0000000000..920e1e4071 --- /dev/null +++ b/.github/workflows/bundle-analyzer.yml @@ -0,0 +1,40 @@ +name: Vite Bundle Visualizer + +on: + push: + branches: [ chore/all-my-stuffs ] + +jobs: + analyze: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + - run: | + echo "Before: corepack version => $(corepack --version || echo 'not installed')" + npm install -g corepack@latest + echo "After : corepack version => $(corepack --version)" + corepack enable + pnpm --version + - uses: actions/setup-node@v6 + with: + node-version: 22 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm i --ignore-scripts + + # Ensure vite-bundle-visualizer is installed + # (or remove this step if already in package.json) + - name: Install visualizer + run: pnpm install --save-dev vite-bundle-visualizer + + - name: Build the app + run: pnpm build + + - name: Upload bundle visualizer report + uses: actions/upload-artifact@v4 + with: + name: bundle-visualizer-report + path: dist/stats.html + if-no-files-found: error From de3e223828a3f9cef3a57496a093cb8a68c13c42 Mon Sep 17 00:00:00 2001 From: sharevb Date: Sat, 13 Jun 2026 22:13:02 +0200 Subject: [PATCH 2/3] Add bundle visualizer report generation step Add step to generate bundle visualizer report using vite-bundle-visualizer. --- .github/workflows/bundle-analyzer.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/bundle-analyzer.yml b/.github/workflows/bundle-analyzer.yml index 920e1e4071..03c6f82a13 100644 --- a/.github/workflows/bundle-analyzer.yml +++ b/.github/workflows/bundle-analyzer.yml @@ -32,6 +32,12 @@ jobs: - name: Build the app run: pnpm build + - name: Generate bundle visualizer report + run: | + # Generate stats.html using npx + npx vite-bundle-visualizer dist --template treemap --open false + + - name: Upload bundle visualizer report uses: actions/upload-artifact@v4 with: From 93329faf9b13ca9a060f76926c9dfb59e0ee1cb6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 08:04:28 +0000 Subject: [PATCH 3/3] chore(deps): update dependency @intlify/unplugin-vue-i18n to ^11.2.4 --- package.json | 2 +- pnpm-lock.yaml | 67 ++++++++++++++++++++++++++++---------------------- 2 files changed, 38 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index bf39c1a3ac..8a8dc454f9 100644 --- a/package.json +++ b/package.json @@ -381,7 +381,7 @@ "devDependencies": { "@antfu/eslint-config": "^0.41.0", "@iconify-json/mdi": "^1.1.50", - "@intlify/unplugin-vue-i18n": "^11.0.0", + "@intlify/unplugin-vue-i18n": "^11.2.4", "@playwright/test": "^1.59.1", "@rushstack/eslint-patch": "^1.2.0", "@tsconfig/node18": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c90755116..26ff9d13a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1030,8 +1030,8 @@ importers: specifier: ^1.1.50 version: 1.2.3 '@intlify/unplugin-vue-i18n': - specifier: ^11.0.0 - version: 11.0.7(@vue/compiler-dom@3.5.13)(eslint@8.47.0)(rollup@2.79.2)(typescript@5.2.2)(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4) + specifier: ^11.2.4 + version: 11.2.4(@vue/compiler-dom@3.5.13)(eslint@8.47.0)(rollup@2.79.2)(typescript@5.2.2)(vite@4.4.9(@types/node@24.10.1)(less@4.2.2)(lightningcss@1.30.1)(sass@1.83.4)(terser@5.39.0))(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4) '@playwright/test': specifier: ^1.59.1 version: 1.59.1 @@ -2844,9 +2844,9 @@ packages: cpu: [x64] os: [win32] - '@intlify/bundle-utils@11.0.7': - resolution: {integrity: sha512-fEO3CJGPymxieGh8BHox7d6stgajDQae7wgpH6YYw7WX+cdW6jTTXyljZqz7OV3JcwlS9M9UHSoO+YwiO56IhA==} - engines: {node: '>= 20'} + '@intlify/bundle-utils@11.2.4': + resolution: {integrity: sha512-eE18yR9eM9k5n8snCkHIYp2MuVTxa19aF8z9OMyxXWv0frz2HlBZDGIPFjA38pP3OJ1IlRBXC/dW5GILeLMSCQ==} + engines: {node: '>= 22.13'} peerDependencies: petite-vue-i18n: '*' vue-i18n: '*' @@ -2864,32 +2864,35 @@ packages: resolution: {integrity: sha512-LtQ04kG8/2Nv6AbuINpkjODuhKHdd+MGLlXKW3I0GTCeDsDIBZUot82nnyK7D6+qersF08FqSvoN/eGPcL3c7Q==} engines: {node: '>= 16'} - '@intlify/message-compiler@11.3.0': - resolution: {integrity: sha512-RAJp3TMsqohg/Wa7bVF3cChRhecSYBLrTCQSj7j0UtWVFLP+6iEJoE2zb7GU5fp+fmG5kCbUdzhmlAUCWXiUJw==} - engines: {node: '>= 16'} - '@intlify/message-compiler@11.4.0': resolution: {integrity: sha512-v455gVZqMb0er63Wd/akX8DXTnwSubgrgQaRigLB60V3xpnq3B99oPvGXW+N4G/5QFt8Ls84FJ8qHJUVnRCs1A==} engines: {node: '>= 16'} - '@intlify/shared@11.3.0': - resolution: {integrity: sha512-LC6P/uay7rXL5zZ5+5iRJfLs/iUN8apu9tm8YqQVmW3Uq3X4A0dOFUIDuAmB7gAC29wTHOS3EiN/IosNSz0eNQ==} - engines: {node: '>= 16'} + '@intlify/message-compiler@11.4.6': + resolution: {integrity: sha512-5nj3jULqeTAC1WovwMs1LQWgatTa2pM/rXN9T3XW8rdOtXW9ZF6/GLSNFTKDQmPLwclhPdgUWLJ/4w3fMeeC/Q==} + engines: {node: '>= 22'} '@intlify/shared@11.4.0': resolution: {integrity: sha512-r9qUeLeO0TMZmUZ+mXS6IGQ6xwzZJaVMK6j4CdoA3eQP8xp3JtCfwkZ30gB4+knlN40pmBdDXgx85SWhMCzHng==} engines: {node: '>= 16'} - '@intlify/unplugin-vue-i18n@11.0.7': - resolution: {integrity: sha512-wswKprS1D8VfnxxVhKxug5wa3MbDSOcCoXOBjnzhMK+6NfP6h6UI8pFqSBIvcW8nPDuzweTc0Sk3PeBCcubfoQ==} - engines: {node: '>= 20'} + '@intlify/shared@11.4.6': + resolution: {integrity: sha512-m1p1HHAMLhqSpTRH7VnXdrN0CQ4y+9vunFkpLkbD8soIuBsnQdawZXqMCgvwI2UVF9Ww7sVaw7g9tV2VO7shoA==} + engines: {node: '>= 22'} + + '@intlify/unplugin-vue-i18n@11.2.4': + resolution: {integrity: sha512-bY0ZOaVUvWTyvy4bRGCUKw4Brx5uH/ojjVKsZ1aWzY2drFKIJbeP8DpGMD2QZT8aLpZSUsHtiJlRGLQSZenrvw==} + engines: {node: '>= 22.13'} peerDependencies: petite-vue-i18n: '*' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 vue: ^3.2.25 vue-i18n: '*' peerDependenciesMeta: petite-vue-i18n: optional: true + vite: + optional: true vue-i18n: optional: true @@ -4599,6 +4602,7 @@ packages: '@ungap/structured-clone@1.3.0': resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} + deprecated: Potential CWE-502 - Update to 1.3.1 or higher '@unhead/dom@0.5.1': resolution: {integrity: sha512-cdRzGbZVWTgbwl9HiG3RZzzPThXmhj5afGB2BLRwbE+3IiwqUpMjL6v8bDjE5qttvH4YrK9AD9O8fFP9XyZQpg==} @@ -6786,6 +6790,7 @@ packages: eslint-plugin-i@2.28.0-2: resolution: {integrity: sha512-z48kG4qmE4TmiLcxbmvxMT5ycwvPkXaWW0XpU1L768uZaTbiDbxsHMEdV24JHlOR1xDsPpKW39BfP/pRdYIwFA==} engines: {node: '>=12'} + deprecated: Please migrate to the brand new `eslint-plugin-import-x` instead peerDependencies: eslint: ^7.2.0 || ^8 @@ -11237,6 +11242,7 @@ packages: uuid@9.0.0: resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true v8flags@4.0.1: @@ -13836,10 +13842,10 @@ snapshots: '@img/sharp-win32-x64@0.34.3': optional: true - '@intlify/bundle-utils@11.0.7(vue-i18n@11.4.0(vue@3.3.4))': + '@intlify/bundle-utils@11.2.4(vue-i18n@11.4.0(vue@3.3.4))': dependencies: - '@intlify/message-compiler': 11.3.0 - '@intlify/shared': 11.3.0 + '@intlify/message-compiler': 11.4.6 + '@intlify/shared': 11.4.6 acorn: 8.15.0 esbuild: 0.25.12 escodegen: 2.1.0 @@ -13861,26 +13867,26 @@ snapshots: '@intlify/core-base': 11.4.0 '@intlify/shared': 11.4.0 - '@intlify/message-compiler@11.3.0': - dependencies: - '@intlify/shared': 11.3.0 - source-map-js: 1.2.1 - '@intlify/message-compiler@11.4.0': dependencies: '@intlify/shared': 11.4.0 source-map-js: 1.2.1 - '@intlify/shared@11.3.0': {} + '@intlify/message-compiler@11.4.6': + dependencies: + '@intlify/shared': 11.4.6 + source-map-js: 1.2.1 '@intlify/shared@11.4.0': {} - '@intlify/unplugin-vue-i18n@11.0.7(@vue/compiler-dom@3.5.13)(eslint@8.47.0)(rollup@2.79.2)(typescript@5.2.2)(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4)': + '@intlify/shared@11.4.6': {} + + '@intlify/unplugin-vue-i18n@11.2.4(@vue/compiler-dom@3.5.13)(eslint@8.47.0)(rollup@2.79.2)(typescript@5.2.2)(vite@4.4.9(@types/node@24.10.1)(less@4.2.2)(lightningcss@1.30.1)(sass@1.83.4)(terser@5.39.0))(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.47.0) - '@intlify/bundle-utils': 11.0.7(vue-i18n@11.4.0(vue@3.3.4)) - '@intlify/shared': 11.3.0 - '@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.3.0)(@vue/compiler-dom@3.5.13)(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4) + '@intlify/bundle-utils': 11.2.4(vue-i18n@11.4.0(vue@3.3.4)) + '@intlify/shared': 11.4.6 + '@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.4.6)(@vue/compiler-dom@3.5.13)(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4) '@rollup/pluginutils': 5.1.4(rollup@2.79.2) '@typescript-eslint/scope-manager': 8.37.0 '@typescript-eslint/typescript-estree': 8.37.0(typescript@5.2.2) @@ -13891,6 +13897,7 @@ snapshots: unplugin: 2.3.5 vue: 3.3.4 optionalDependencies: + vite: 4.4.9(@types/node@24.10.1)(less@4.2.2)(lightningcss@1.30.1)(sass@1.83.4)(terser@5.39.0) vue-i18n: 11.4.0(vue@3.3.4) transitivePeerDependencies: - '@vue/compiler-dom' @@ -13899,11 +13906,11 @@ snapshots: - supports-color - typescript - '@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.3.0)(@vue/compiler-dom@3.5.13)(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4)': + '@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.4.6)(@vue/compiler-dom@3.5.13)(vue-i18n@11.4.0(vue@3.3.4))(vue@3.3.4)': dependencies: '@babel/parser': 7.27.2 optionalDependencies: - '@intlify/shared': 11.3.0 + '@intlify/shared': 11.4.6 '@vue/compiler-dom': 3.5.13 vue: 3.3.4 vue-i18n: 11.4.0(vue@3.3.4)