From 49691aa07e071cebd2186524794744c747ec6ce5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 17 Jul 2025 21:40:36 +1000 Subject: [PATCH] chore(ui): upgrade rollup vis --- invokeai/frontend/web/package.json | 6 +++--- invokeai/frontend/web/pnpm-lock.yaml | 14 +++++++------- invokeai/frontend/web/vite.config.mts | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/invokeai/frontend/web/package.json b/invokeai/frontend/web/package.json index ba4272febb..a0a528ddac 100644 --- a/invokeai/frontend/web/package.json +++ b/invokeai/frontend/web/package.json @@ -115,6 +115,7 @@ "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.31.0", "@invoke-ai/prettier-config-react": "^0.0.7", + "@storybook/addon-docs": "^9.0.17", "@storybook/addon-links": "^9.0.17", "@storybook/react-vite": "^9.0.17", "@types/node": "^22.15.1", @@ -145,7 +146,7 @@ "openapi-types": "^12.1.3", "openapi-typescript": "^7.6.1", "prettier": "^3.5.3", - "rollup-plugin-visualizer": "^5.14.0", + "rollup-plugin-visualizer": "^6.0.3", "storybook": "^9.0.17", "tsafe": "^1.8.5", "type-fest": "^4.40.0", @@ -155,8 +156,7 @@ "vite-plugin-dts": "^4.5.3", "vite-plugin-eslint": "^1.8.1", "vite-tsconfig-paths": "^5.1.4", - "vitest": "^3.1.2", - "@storybook/addon-docs": "^9.0.17" + "vitest": "^3.1.2" }, "engines": { "pnpm": "10" diff --git a/invokeai/frontend/web/pnpm-lock.yaml b/invokeai/frontend/web/pnpm-lock.yaml index b94a540385..25198cbbd8 100644 --- a/invokeai/frontend/web/pnpm-lock.yaml +++ b/invokeai/frontend/web/pnpm-lock.yaml @@ -313,8 +313,8 @@ importers: specifier: ^3.5.3 version: 3.6.2 rollup-plugin-visualizer: - specifier: ^5.14.0 - version: 5.14.0(rollup@4.45.1) + specifier: ^6.0.3 + version: 6.0.3(rollup@4.45.1) storybook: specifier: ^9.0.17 version: 9.0.17(@testing-library/dom@10.4.0)(prettier@3.6.2) @@ -3783,12 +3783,12 @@ packages: resolution: {integrity: sha512-3niqt5bXFY1InKU8HKWqqYTYjtrBaxBMnXELXCXUYgtNYGUtZM5rB46HIC430AyacL95iEniGf7RgqsesykLmQ==} engines: {node: '>=18.0'} - rollup-plugin-visualizer@5.14.0: - resolution: {integrity: sha512-VlDXneTDaKsHIw8yzJAFWtrzguoJ/LnQ+lMpoVfYJ3jJF4Ihe5oYLAqLklIK/35lgUY+1yEzCkHyZ1j4A5w5fA==} + rollup-plugin-visualizer@6.0.3: + resolution: {integrity: sha512-ZU41GwrkDcCpVoffviuM9Clwjy5fcUxlz0oMoTXTYsK+tcIFzbdacnrr2n8TXcHxbGKKXtOdjxM2HUS4HjkwIw==} engines: {node: '>=18'} hasBin: true peerDependencies: - rolldown: 1.x + rolldown: 1.x || ^1.0.0-beta rollup: 2.x || 3.x || 4.x peerDependenciesMeta: rolldown: @@ -8318,10 +8318,10 @@ snapshots: safe-stable-stringify: 2.5.0 semver-compare: 1.0.0 - rollup-plugin-visualizer@5.14.0(rollup@4.45.1): + rollup-plugin-visualizer@6.0.3(rollup@4.45.1): dependencies: open: 8.4.2 - picomatch: 4.0.2 + picomatch: 4.0.3 source-map: 0.7.4 yargs: 17.7.2 optionalDependencies: diff --git a/invokeai/frontend/web/vite.config.mts b/invokeai/frontend/web/vite.config.mts index b32fe0fc74..b596be2e53 100644 --- a/invokeai/frontend/web/vite.config.mts +++ b/invokeai/frontend/web/vite.config.mts @@ -17,7 +17,7 @@ export default defineConfig(({ mode }) => { react(), eslint(), tsconfigPaths(), - visualizer() as unknown as PluginOption, + visualizer(), dts({ insertTypesEntry: true, }), @@ -70,7 +70,7 @@ export default defineConfig(({ mode }) => { react(), mode !== 'test' && eslint({ failOnError: mode === 'production', failOnWarning: mode === 'production' }), tsconfigPaths(), - visualizer() as unknown as PluginOption, + visualizer(), ], build: { chunkSizeWarningLimit: 1500,