diff --git a/core/package.json b/core/package.json index 422023c0ac2..79b14f06f75 100644 --- a/core/package.json +++ b/core/package.json @@ -32,7 +32,6 @@ "@previewjs/vfs": "^2.1.4", "assert-never": "^1.3.0", "axios": "^1.7.9", - "esbuild-plugin-polyfill-node": "^0.3.0", "exclusive-promises": "^1.0.3", "express": "^4.21.2", "fs-extra": "^11.2.0", diff --git a/core/src/vite/vite-manager.ts b/core/src/vite/vite-manager.ts index c8286128f02..6d57954fb48 100644 --- a/core/src/vite/vite-manager.ts +++ b/core/src/vite/vite-manager.ts @@ -11,7 +11,6 @@ import type { ReaderListenerInfo, } from "@previewjs/vfs"; import type { Alias } from "@rollup/plugin-alias"; -import { polyfillNode } from "esbuild-plugin-polyfill-node"; import { exclusivePromiseRunner } from "exclusive-promises"; import express from "express"; import fs from "fs-extra"; @@ -369,14 +368,6 @@ export class ViteManager { ...config.vite, configFile: false, root: this.options.rootDir, - optimizeDeps: { - entries: [], - esbuildOptions: { - // TODO: Remove this annotation once upgraded to Vite 5. - // @ts-ignore incompatible esbuild versions with Vite 4 - plugins: [polyfillNode()], - }, - }, server: { middlewareMode: true, hmr: { @@ -428,6 +419,7 @@ export class ViteManager { define: { __filename: undefined, __dirname: undefined, + process: undefined, ...frameworkPluginViteConfig.define, ...existingViteConfig?.config.define, ...config.vite?.define, diff --git a/framework-plugins/preact/package.json b/framework-plugins/preact/package.json index 2044d524162..d6f0bbdf512 100644 --- a/framework-plugins/preact/package.json +++ b/framework-plugins/preact/package.json @@ -30,6 +30,7 @@ "@previewjs/storybook-helpers": "^6.0.1", "@previewjs/type-analyzer": "^10.1.5", "@previewjs/vfs": "^2.1.4", + "esbuild-plugin-polyfill-node": "^0.3.0", "typescript": "^5.7.2" }, "devDependencies": { diff --git a/framework-plugins/preact/src/index.ts b/framework-plugins/preact/src/index.ts index a6dd0c021ef..28713acd4de 100644 --- a/framework-plugins/preact/src/index.ts +++ b/framework-plugins/preact/src/index.ts @@ -1,6 +1,7 @@ import type { Component, Story } from "@previewjs/analyzer-api"; import type { FrameworkPluginFactory } from "@previewjs/core"; import { createTypeAnalyzer } from "@previewjs/type-analyzer"; +import { polyfillNode } from "esbuild-plugin-polyfill-node"; import path from "path"; import ts from "typescript"; import url from "url"; @@ -65,6 +66,11 @@ const preactFrameworkPlugin: FrameworkPluginFactory = { }, viteConfig: (configuredPlugins) => { return { + optimizeDeps: { + esbuildOptions: { + plugins: [polyfillNode()], + }, + }, resolve: { alias: { react: "preact/compat", diff --git a/framework-plugins/react/package.json b/framework-plugins/react/package.json index ebb7036afab..768845a91e3 100644 --- a/framework-plugins/react/package.json +++ b/framework-plugins/react/package.json @@ -24,7 +24,8 @@ }, "dependencies": { "@previewjs/analyzer-react": "^0.1.11", - "@vitejs/plugin-react": "^4.3.4" + "@vitejs/plugin-react": "^4.3.4", + "esbuild-plugin-polyfill-node": "^0.3.0" }, "devDependencies": { "@playwright/test": "^1.49.1", diff --git a/framework-plugins/react/src/index.ts b/framework-plugins/react/src/index.ts index 660b377724a..aa0a64453eb 100644 --- a/framework-plugins/react/src/index.ts +++ b/framework-plugins/react/src/index.ts @@ -1,6 +1,7 @@ import { createAnalyzer } from "@previewjs/analyzer-react"; import type { FrameworkPluginFactory } from "@previewjs/core"; import react from "@vitejs/plugin-react"; +import { polyfillNode } from "esbuild-plugin-polyfill-node"; import path from "path"; import url from "url"; import { reactImportsPlugin } from "./react-js-imports-plugin.js"; @@ -41,6 +42,11 @@ const reactFrameworkPlugin: FrameworkPluginFactory = { plugin.name.startsWith("vite:react-") ); return { + optimizeDeps: { + esbuildOptions: { + plugins: dependencies["next"] ? [polyfillNode()] : [], + }, + }, resolve: { alias: { "react-native": "react-native-web", diff --git a/framework-plugins/svelte/package.json b/framework-plugins/svelte/package.json index 9b711e479c4..bf025ca9ffe 100644 --- a/framework-plugins/svelte/package.json +++ b/framework-plugins/svelte/package.json @@ -31,6 +31,7 @@ "@previewjs/type-analyzer": "^10.1.5", "@previewjs/vfs": "^2.1.4", "@sveltejs/vite-plugin-svelte": "^5.0.2", + "esbuild-plugin-polyfill-node": "^0.3.0", "fs-extra": "^11.2.0", "svelte": "^5.10.0", "typescript": "^5.7.2", diff --git a/framework-plugins/svelte/src/index.ts b/framework-plugins/svelte/src/index.ts index 3824adec23b..40e82dabd80 100644 --- a/framework-plugins/svelte/src/index.ts +++ b/framework-plugins/svelte/src/index.ts @@ -3,6 +3,7 @@ import type { FrameworkPluginFactory } from "@previewjs/core"; import { createTypeAnalyzer } from "@previewjs/type-analyzer"; import type sveltekit from "@sveltejs/kit"; import { svelte } from "@sveltejs/vite-plugin-svelte"; +import { polyfillNode } from "esbuild-plugin-polyfill-node"; import fs from "fs-extra"; import path from "path"; import url from "url"; @@ -74,6 +75,11 @@ const svelteFrameworkPlugin: FrameworkPluginFactory = { }; }, viteConfig: (configuredPlugins) => ({ + optimizeDeps: { + esbuildOptions: { + plugins: [polyfillNode()], + }, + }, ...(isSvelteKit ? { define: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f17016aa544..6a5793c5902 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -340,9 +340,6 @@ importers: axios: specifier: ^1.7.9 version: 1.7.9 - esbuild-plugin-polyfill-node: - specifier: ^0.3.0 - version: 0.3.0(esbuild@0.24.0) exclusive-promises: specifier: ^1.0.3 version: 1.0.3 @@ -491,6 +488,9 @@ importers: '@previewjs/vfs': specifier: ^2.1.4 version: link:../../vfs + esbuild-plugin-polyfill-node: + specifier: ^0.3.0 + version: 0.3.0(esbuild@0.24.0) typescript: specifier: ^5.7.2 version: 5.7.2 @@ -676,6 +676,9 @@ importers: '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@6.0.3(@types/node@20.17.10)(jiti@2.3.3)(less@4.1.3)(sass@1.62.1)(terser@5.36.0)) + esbuild-plugin-polyfill-node: + specifier: ^0.3.0 + version: 0.3.0(esbuild@0.24.0) devDependencies: '@playwright/test': specifier: ^1.49.1 @@ -1161,7 +1164,7 @@ importers: version: 6.5.16(@babel/core@7.26.0)(@storybook/builder-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) '@storybook/addon-interactions': specifier: ^6.5.16 - version: 6.5.16(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16) + version: 6.5.16(@types/react@18.3.14)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16) '@storybook/addon-links': specifier: ^6.5.16 version: 6.5.16(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -1176,7 +1179,7 @@ importers: version: 6.5.16 '@storybook/preset-create-react-app': specifier: ^4.1.2 - version: 4.1.2(cmxprfg4zyqdpwqxus7m36likm) + version: 4.1.2(dk22dlrfda2ktxcqngqjqvivpq) '@storybook/react': specifier: ^6.5.16 version: 6.5.16(@babel/core@7.26.0)(@storybook/builder-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16))(@storybook/manager-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@5.7.2)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) @@ -1240,7 +1243,7 @@ importers: version: 6.5.16 '@storybook/preset-create-react-app': specifier: ^4.1.2 - version: 4.1.2(ipcwayde2xzmmcxhc46jhixznm) + version: 4.1.2(h3z7c45l3kupxsgymzquv5s3iu) '@storybook/react': specifier: ^6.5.16 version: 6.5.16(@babel/core@7.26.0)(@storybook/builder-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@4.9.5)(vue-template-compiler@2.7.16))(@storybook/manager-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@4.9.5)(vue-template-compiler@2.7.16))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) @@ -2316,6 +2319,9 @@ importers: '@sveltejs/vite-plugin-svelte': specifier: ^5.0.2 version: 5.0.2(svelte@5.10.0)(vite@6.0.3(@types/node@20.17.10)(jiti@2.3.3)(less@4.1.3)(terser@5.36.0)) + esbuild-plugin-polyfill-node: + specifier: ^0.3.0 + version: 0.3.0(esbuild@0.24.0) fs-extra: specifier: ^11.2.0 version: 11.2.0 @@ -2680,7 +2686,7 @@ importers: version: 3.30.2 nuxt: specifier: ^2.16.3 - version: 2.16.3(@vue/compiler-sfc@3.5.13)(buffer@6.0.3)(consola@2.15.3)(ejs@3.1.8)(encoding@0.1.13)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14) + version: 2.16.3(@vue/compiler-sfc@3.5.13)(buffer@6.0.3)(consola@2.15.3)(encoding@0.1.13)(typescript@4.2.4)(vue@2.7.14) vue: specifier: ^2.7.14 version: 2.7.14 @@ -18355,7 +18361,6 @@ packages: engines: {node: '>=0.6.0', teleport: '>=0.2.0'} deprecated: |- You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. - (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) qrcode-terminal@0.11.0: @@ -26637,6 +26642,16 @@ snapshots: react-dom: 18.2.0(react@18.2.0) react-merge-refs: 1.1.0 + '@design-systems/utils@2.12.0(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + '@babel/runtime': 7.21.0 + '@types/react': 18.3.14 + clsx: 1.2.1 + focus-lock: 0.8.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-merge-refs: 1.1.0 + '@devtools-ds/object-inspector@1.2.1(@types/react@18.2.6)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.7.2 @@ -26649,6 +26664,18 @@ snapshots: - '@types/react' - react-dom + '@devtools-ds/object-inspector@1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + '@babel/runtime': 7.7.2 + '@devtools-ds/object-parser': 1.2.1 + '@devtools-ds/themes': 1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@devtools-ds/tree': 1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + clsx: 1.1.0 + react: 18.2.0 + transitivePeerDependencies: + - '@types/react' + - react-dom + '@devtools-ds/object-parser@1.2.1': dependencies: '@babel/runtime': 7.5.5 @@ -26663,6 +26690,16 @@ snapshots: - '@types/react' - react-dom + '@devtools-ds/themes@1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + '@babel/runtime': 7.5.5 + '@design-systems/utils': 2.12.0(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + clsx: 1.1.0 + react: 18.2.0 + transitivePeerDependencies: + - '@types/react' + - react-dom + '@devtools-ds/tree@1.2.1(@types/react@18.2.6)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.7.2 @@ -26673,6 +26710,16 @@ snapshots: - '@types/react' - react-dom + '@devtools-ds/tree@1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': + dependencies: + '@babel/runtime': 7.7.2 + '@devtools-ds/themes': 1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + clsx: 1.1.0 + react: 18.2.0 + transitivePeerDependencies: + - '@types/react' + - react-dom + '@discoveryjs/json-ext@0.5.7': {} '@emotion/babel-plugin@11.11.0': @@ -28567,12 +28614,12 @@ snapshots: - supports-color - vue - '@nuxt/builder@2.16.3(@vue/compiler-sfc@3.5.13)(ejs@3.1.8)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14)': + '@nuxt/builder@2.16.3(@vue/compiler-sfc@3.5.13)(typescript@4.2.4)(vue@2.7.14)': dependencies: '@nuxt/devalue': 2.0.2 '@nuxt/utils': 2.16.3 '@nuxt/vue-app': 2.16.3 - '@nuxt/webpack': 2.16.3(@vue/compiler-sfc@3.5.13)(ejs@3.1.8)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14) + '@nuxt/webpack': 2.16.3(@vue/compiler-sfc@3.5.13)(typescript@4.2.4)(vue@2.7.14) chalk: 4.1.2 chokidar: 3.6.0 consola: 2.15.3 @@ -29213,7 +29260,7 @@ snapshots: vue-meta: 2.4.0 vue-server-renderer: 2.7.14 - '@nuxt/webpack@2.16.3(@vue/compiler-sfc@3.5.13)(ejs@3.1.8)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14)': + '@nuxt/webpack@2.16.3(@vue/compiler-sfc@3.5.13)(typescript@4.2.4)(vue@2.7.14)': dependencies: '@babel/core': 7.26.0 '@nuxt/babel-preset-app': 2.16.3(vue@2.7.14) @@ -29252,7 +29299,7 @@ snapshots: ufo: 1.3.2 upath: 2.0.1 url-loader: 4.1.1(file-loader@6.2.0(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack@4.46.0) - vue-loader: 15.10.1(@vue/compiler-sfc@3.5.13)(cache-loader@4.1.0(webpack@4.46.0))(css-loader@5.2.7(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(ejs@3.1.8)(handlebars@4.7.7)(lodash@4.17.21)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(underscore@1.13.6)(vue-template-compiler@2.7.16)(webpack@4.46.0) + vue-loader: 15.10.1(@vue/compiler-sfc@3.5.13)(cache-loader@4.1.0(webpack@4.46.0))(css-loader@5.2.7(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(lodash@4.17.21)(vue-template-compiler@2.7.16)(webpack@4.46.0) vue-style-loader: 4.1.3 vue-template-compiler: 2.7.16 watchpack: 2.4.0 @@ -30913,9 +30960,9 @@ snapshots: - webpack-cli - webpack-command - '@storybook/addon-interactions@6.5.16(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16)': + '@storybook/addon-interactions@6.5.16(@types/react@18.3.14)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16)': dependencies: - '@devtools-ds/object-inspector': 1.2.1(@types/react@18.2.6)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) + '@devtools-ds/object-inspector': 1.2.1(@types/react@18.3.14)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@storybook/addons': 6.5.16(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@storybook/api': 6.5.16(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@storybook/client-logger': 6.5.16 @@ -32576,7 +32623,7 @@ snapshots: core-js: 3.30.2 css-loader: 3.6.0(webpack@4.46.0) express: 4.21.2 - file-loader: 6.2.0(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) + file-loader: 6.2.0(webpack@4.46.0) find-up: 5.0.0 fs-extra: 9.1.0 html-webpack-plugin: 4.5.2(webpack@4.46.0) @@ -32626,7 +32673,7 @@ snapshots: core-js: 3.30.2 css-loader: 3.6.0(webpack@4.46.0) express: 4.21.2 - file-loader: 6.2.0(webpack@4.46.0) + file-loader: 6.2.0(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) find-up: 5.0.0 fs-extra: 9.1.0 html-webpack-plugin: 4.5.2(webpack@4.46.0) @@ -32849,10 +32896,10 @@ snapshots: preact: 10.15.0 ts-dedent: 2.2.0 - '@storybook/preset-create-react-app@4.1.2(cmxprfg4zyqdpwqxus7m36likm)': + '@storybook/preset-create-react-app@4.1.2(dk22dlrfda2ktxcqngqjqvivpq)': dependencies: '@babel/core': 7.26.0 - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(@types/webpack@4.41.33)(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(@types/webpack@4.41.33)(react-refresh@0.11.0)(type-fest@2.19.0)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) '@storybook/node-logger': 6.5.16 '@storybook/react': 6.5.16(@babel/core@7.26.0)(@storybook/builder-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16))(@storybook/manager-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@5.7.2)(vue-template-compiler@2.7.16))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@5.7.2)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) '@storybook/react-docgen-typescript-plugin': 1.0.2--canary.12.cf35881ff63bf958b8998e8dd1dfd5626ee868c2.0(typescript@5.7.2)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) @@ -32873,17 +32920,17 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@storybook/preset-create-react-app@4.1.2(h7ylmaxrfpwubu2z3o5gy7l74u)': + '@storybook/preset-create-react-app@4.1.2(h3z7c45l3kupxsgymzquv5s3iu)': dependencies: - '@babel/core': 7.21.8 - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(@types/webpack@4.41.33)(react-refresh@0.14.0)(type-fest@2.19.0)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) + '@babel/core': 7.26.0 + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(@types/webpack@4.41.33)(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) '@storybook/node-logger': 6.5.16 - '@storybook/react': 6.5.16(@babel/core@7.21.8)(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) + '@storybook/react': 6.5.16(@babel/core@7.26.0)(@storybook/builder-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@4.9.5)(vue-template-compiler@2.7.16))(@storybook/manager-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@4.9.5)(vue-template-compiler@2.7.16))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) '@storybook/react-docgen-typescript-plugin': 1.0.2--canary.12.cf35881ff63bf958b8998e8dd1dfd5626ee868c2.0(typescript@4.9.5)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) '@types/babel__core': 7.20.0 babel-plugin-react-docgen: 4.2.1 pnp-webpack-plugin: 1.7.0(typescript@4.9.5) - react-scripts: 5.0.1(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.8))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.8))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/babel__core@7.20.5)(@types/webpack@4.41.33)(eslint@9.14.0(jiti@2.3.3))(react@18.2.0)(sass@1.62.1)(ts-node@10.9.2(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/node@20.17.10)(typescript@4.9.5))(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-hot-middleware@2.25.3) + react-scripts: 5.0.1(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.26.0))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/babel__core@7.20.5)(@types/webpack@4.41.33)(eslint@9.14.0(jiti@2.3.3))(react@18.2.0)(sass@1.62.1)(ts-node@10.9.2(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/node@18.16.14)(typescript@4.9.5))(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-hot-middleware@2.25.3) semver: 7.3.8 transitivePeerDependencies: - '@types/webpack' @@ -32897,17 +32944,17 @@ snapshots: - webpack-hot-middleware - webpack-plugin-serve - '@storybook/preset-create-react-app@4.1.2(ipcwayde2xzmmcxhc46jhixznm)': + '@storybook/preset-create-react-app@4.1.2(h7ylmaxrfpwubu2z3o5gy7l74u)': dependencies: - '@babel/core': 7.26.0 - '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(@types/webpack@4.41.33)(react-refresh@0.11.0)(type-fest@2.19.0)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) + '@babel/core': 7.21.8 + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(@types/webpack@4.41.33)(react-refresh@0.14.0)(type-fest@2.19.0)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) '@storybook/node-logger': 6.5.16 - '@storybook/react': 6.5.16(@babel/core@7.26.0)(@storybook/builder-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@4.9.5)(vue-template-compiler@2.7.16))(@storybook/manager-webpack5@6.5.16(@swc/core@1.3.59(@swc/helpers@0.5.1))(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(typescript@4.9.5)(vue-template-compiler@2.7.16))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) + '@storybook/react': 6.5.16(@babel/core@7.21.8)(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/webpack@4.41.33)(encoding@0.1.13)(eslint@9.14.0(jiti@2.3.3))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(require-from-string@2.0.2)(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-dev-server@4.11.1(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(webpack-hot-middleware@2.25.3) '@storybook/react-docgen-typescript-plugin': 1.0.2--canary.12.cf35881ff63bf958b8998e8dd1dfd5626ee868c2.0(typescript@4.9.5)(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))) '@types/babel__core': 7.20.0 babel-plugin-react-docgen: 4.2.1 pnp-webpack-plugin: 1.7.0(typescript@4.9.5) - react-scripts: 5.0.1(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.26.0))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.26.0))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/babel__core@7.20.5)(@types/webpack@4.41.33)(eslint@9.14.0(jiti@2.3.3))(react@18.2.0)(sass@1.62.1)(ts-node@10.9.2(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/node@18.16.14)(typescript@4.9.5))(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-hot-middleware@2.25.3) + react-scripts: 5.0.1(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.8))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.8))(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/babel__core@7.20.5)(@types/webpack@4.41.33)(eslint@9.14.0(jiti@2.3.3))(react@18.2.0)(sass@1.62.1)(ts-node@10.9.2(@swc/core@1.3.59(@swc/helpers@0.5.1))(@types/node@20.17.10)(typescript@4.9.5))(type-fest@2.19.0)(typescript@4.9.5)(vue-template-compiler@2.7.16)(webpack-hot-middleware@2.25.3) semver: 7.3.8 transitivePeerDependencies: - '@types/webpack' @@ -45768,10 +45815,10 @@ snapshots: - vue-tsc - webpack-sources - nuxt@2.16.3(@vue/compiler-sfc@3.5.13)(buffer@6.0.3)(consola@2.15.3)(ejs@3.1.8)(encoding@0.1.13)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14): + nuxt@2.16.3(@vue/compiler-sfc@3.5.13)(buffer@6.0.3)(consola@2.15.3)(encoding@0.1.13)(typescript@4.2.4)(vue@2.7.14): dependencies: '@nuxt/babel-preset-app': 2.16.3(vue@2.7.14) - '@nuxt/builder': 2.16.3(@vue/compiler-sfc@3.5.13)(ejs@3.1.8)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14) + '@nuxt/builder': 2.16.3(@vue/compiler-sfc@3.5.13)(typescript@4.2.4)(vue@2.7.14) '@nuxt/cli': 2.16.3(buffer@6.0.3) '@nuxt/components': 2.2.1(consola@2.15.3) '@nuxt/config': 2.16.3 @@ -45784,7 +45831,7 @@ snapshots: '@nuxt/utils': 2.16.3 '@nuxt/vue-app': 2.16.3 '@nuxt/vue-renderer': 2.16.3 - '@nuxt/webpack': 2.16.3(@vue/compiler-sfc@3.5.13)(ejs@3.1.8)(handlebars@4.7.7)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(typescript@4.2.4)(underscore@1.13.6)(vue@2.7.14) + '@nuxt/webpack': 2.16.3(@vue/compiler-sfc@3.5.13)(typescript@4.2.4)(vue@2.7.14) transitivePeerDependencies: - '@vue/compiler-sfc' - arc-templates @@ -53207,7 +53254,7 @@ snapshots: dependencies: vue: 3.3.4 - vue-loader@15.10.1(@vue/compiler-sfc@3.5.13)(cache-loader@4.1.0(webpack@4.46.0))(css-loader@5.2.7(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(ejs@3.1.8)(handlebars@4.7.7)(lodash@4.17.21)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(underscore@1.13.6)(vue-template-compiler@2.7.16)(webpack@4.46.0): + vue-loader@15.10.1(@vue/compiler-sfc@3.5.13)(cache-loader@4.1.0(webpack@4.46.0))(css-loader@5.2.7(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1))))(lodash@4.17.21)(vue-template-compiler@2.7.16)(webpack@4.46.0): dependencies: '@vue/component-compiler-utils': 3.3.0(ejs@3.1.8)(handlebars@4.7.7)(lodash@4.17.21)(pug@3.0.2)(react-dom@16.14.0(react@16.14.0))(react@16.14.0)(underscore@1.13.6) css-loader: 5.2.7(webpack@5.83.1(@swc/core@1.3.59(@swc/helpers@0.5.1)))