@storybook/builder-webpack5 10.4.0-alpha.17 → 10.4.0-alpha.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/index.d.ts CHANGED
@@ -49,6 +49,12 @@ declare const executor: {
49
49
  };
50
50
  declare const getConfig: WebpackBuilder['getConfig'];
51
51
  declare const bail: WebpackBuilder['bail'];
52
+ /**
53
+ * Returns a {@link ChangeDetectionAdapter} bound to the webpack compiler created by `start()`.
54
+ *
55
+ * Throws if called before `start()` has resolved (i.e. before the compiler exists).
56
+ */
57
+ declare const changeDetectionAdapter: NonNullable<WebpackBuilder['changeDetectionAdapter']>;
52
58
  declare const start: (options: BuilderStartOptions) => Promise<void | {
53
59
  stats?: Stats | undefined;
54
60
  totalTime: ReturnType<typeof process.hrtime>;
@@ -58,4 +64,4 @@ declare const build: (options: BuilderStartOptions) => Promise<void | Stats>;
58
64
  declare const corePresets: string[];
59
65
  declare const overridePresets: string[];
60
66
 
61
- export { type BuilderOptions, type BuilderResult, type StorybookConfigWebpack, type TypescriptOptions, WebpackDefinePlugin, WebpackIgnorePlugin, bail, build, corePresets, executor, getConfig, getVirtualModules, overridePresets, printDuration, start };
67
+ export { type BuilderOptions, type BuilderResult, type StorybookConfigWebpack, type TypescriptOptions, WebpackDefinePlugin, WebpackIgnorePlugin, bail, build, changeDetectionAdapter, corePresets, executor, getConfig, getVirtualModules, overridePresets, printDuration, start };
package/dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  getVirtualModules
14
- } from "./_node-chunks/chunk-5SWT7MGJ.js";
14
+ } from "./_node-chunks/chunk-DYG7656K.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __require,
18
18
  __toESM
19
- } from "./_node-chunks/chunk-FQ3KXHH2.js";
19
+ } from "./_node-chunks/chunk-RQPJVIU5.js";
20
20
 
21
21
  // ../../../node_modules/pretty-hrtime/index.js
22
22
  var require_pretty_hrtime = __commonJS({
@@ -622,7 +622,7 @@ var require_build2 = __commonJS({
622
622
  import { cp } from "node:fs/promises";
623
623
  import { fileURLToPath } from "node:url";
624
624
  import { PREVIEW_BUILDER_PROGRESS } from "storybook/internal/core-events";
625
- import { logger } from "storybook/internal/node-logger";
625
+ import { logger as logger2 } from "storybook/internal/node-logger";
626
626
  import {
627
627
  WebpackCompilationError,
628
628
  WebpackInvocationError,
@@ -710,7 +710,59 @@ var import_pretty_hrtime = __toESM(require_pretty_hrtime(), 1), import_sirv = __
710
710
  import webpackModule from "webpack";
711
711
  import webpackDevMiddleware from "webpack-dev-middleware";
712
712
  import webpackHotMiddleware from "webpack-hot-middleware";
713
- var { DefinePlugin, IgnorePlugin, ProgressPlugin } = webpackModule, WebpackDefinePlugin = DefinePlugin, WebpackIgnorePlugin = IgnorePlugin, printDuration = (startTime) => (0, import_pretty_hrtime.default)(process.hrtime(startTime)).replace(" ms", " milliseconds").replace(" s", " seconds").replace(" min", " minutes"), corePath = dirname(fileURLToPath(import.meta.resolve("storybook/package.json"))), compilation, reject, executor = {
713
+
714
+ // src/change-detection-adapter/index.ts
715
+ import { logger } from "storybook/internal/node-logger";
716
+ function createWebpackChangeDetectionAdapter(compiler) {
717
+ return {
718
+ async getResolveConfig() {
719
+ let resolveOpts = compiler.options.resolve;
720
+ return {
721
+ projectRoot: compiler.context,
722
+ alias: normaliseWebpackAlias(resolveOpts.alias),
723
+ conditions: resolveOpts.conditionNames
724
+ };
725
+ },
726
+ onFileChange(handler) {
727
+ let active = !0, firstRun = !0, seenFiles = /* @__PURE__ */ new Set();
728
+ return compiler.hooks.watchRun.tap("StorybookChangeDetection", (watchingCompiler) => {
729
+ if (active) {
730
+ for (let filePath of watchingCompiler.modifiedFiles ?? []) {
731
+ let path2 = normalize(filePath), kind = !firstRun && !seenFiles.has(path2) ? "add" : "change";
732
+ seenFiles.add(path2), handler({ kind, path: path2 });
733
+ }
734
+ for (let filePath of watchingCompiler.removedFiles ?? []) {
735
+ let path2 = normalize(filePath);
736
+ seenFiles.delete(path2), handler({ kind: "unlink", path: path2 });
737
+ }
738
+ firstRun = !1;
739
+ }
740
+ }), () => {
741
+ active = !1;
742
+ };
743
+ }
744
+ };
745
+ }
746
+ function normaliseWebpackAlias(alias) {
747
+ if (!alias) return;
748
+ if (Array.isArray(alias)) {
749
+ let entries = [];
750
+ for (let entry of alias) {
751
+ let replacement = typeof entry.alias == "string" ? entry.alias : Array.isArray(entry.alias) && entry.alias.length > 0 ? entry.alias[0] : null;
752
+ replacement != null && entries.push({ find: entry.name, replacement });
753
+ }
754
+ return entries.length > 0 ? entries : void 0;
755
+ }
756
+ let record = {};
757
+ for (let [key, value] of Object.entries(alias))
758
+ typeof value == "string" ? record[key] = value : Array.isArray(value) && value.length > 0 && (value.length > 1 && logger.debug(
759
+ `Change detection: webpack alias "${key}" has ${value.length} values; using only the first: "${value[0]}"`
760
+ ), record[key] = value[0]);
761
+ return Object.keys(record).length > 0 ? record : void 0;
762
+ }
763
+
764
+ // src/index.ts
765
+ var { DefinePlugin, IgnorePlugin, ProgressPlugin } = webpackModule, WebpackDefinePlugin = DefinePlugin, WebpackIgnorePlugin = IgnorePlugin, printDuration = (startTime) => (0, import_pretty_hrtime.default)(process.hrtime(startTime)).replace(" ms", " milliseconds").replace(" s", " seconds").replace(" min", " minutes"), corePath = dirname(fileURLToPath(import.meta.resolve("storybook/package.json"))), compilation, reject, activeCompiler, executor = {
714
766
  get: async (options) => {
715
767
  let version = await options.presets.apply("webpackVersion") || "5", webpackInstance = (await options.presets.apply("webpackInstance"))?.default || webpackModule;
716
768
  return checkWebpackVersion({ version }, "5", "builder-webpack5"), webpackInstance;
@@ -732,16 +784,22 @@ var { DefinePlugin, IgnorePlugin, ProgressPlugin } = webpackModule, WebpackDefin
732
784
  await asyncIterator.throw(new Error());
733
785
  } catch {
734
786
  }
735
- return reject && reject(), new Promise((res, rej) => {
787
+ reject && reject(), await new Promise((res, rej) => {
736
788
  if (process && compilation)
737
789
  try {
738
- compilation.close(() => res()), logger.warn("Force closed preview build");
790
+ compilation.close(() => res()), logger2.warn("Force closed preview build");
739
791
  } catch {
740
- logger.warn("Unable to close preview build!"), res();
792
+ logger2.warn("Unable to close preview build!"), res();
741
793
  }
742
794
  else
743
795
  res();
744
- });
796
+ }), activeCompiler = void 0;
797
+ }, changeDetectionAdapter = () => {
798
+ if (!activeCompiler)
799
+ throw new Error(
800
+ "builder-webpack5: changeDetectionAdapter() called before start(); the webpack compiler is not ready yet."
801
+ );
802
+ return createWebpackChangeDetectionAdapter(activeCompiler);
745
803
  }, starter = async function* ({
746
804
  startTime,
747
805
  options,
@@ -760,7 +818,7 @@ var { DefinePlugin, IgnorePlugin, ProgressPlugin } = webpackModule, WebpackDefin
760
818
  // eslint-disable-next-line local-rules/no-uncategorized-errors
761
819
  error: new Error("Missing Webpack compiler at runtime!")
762
820
  });
763
- yield;
821
+ activeCompiler = compiler, yield;
764
822
  let modulesCount = await options.cache?.get("modulesCount", 1e3), totalModules, value = 0;
765
823
  new ProgressPlugin({
766
824
  handler: (newValue, message, arg3) => {
@@ -795,7 +853,7 @@ var { DefinePlugin, IgnorePlugin, ProgressPlugin } = webpackModule, WebpackDefin
795
853
  if (yield, !stats)
796
854
  throw new WebpackMissingStatsError();
797
855
  let { warnings, errors } = getWebpackStats({ config, stats });
798
- if (warnings.length > 0 && warnings?.forEach((e) => logger.warn(e.message)), errors.length > 0)
856
+ if (warnings.length > 0 && warnings?.forEach((e) => logger2.warn(e.message)), errors.length > 0)
799
857
  throw new WebpackCompilationError({ errors });
800
858
  return {
801
859
  bail,
@@ -836,8 +894,8 @@ var builder = async function* ({ startTime, options }) {
836
894
  if (!stats)
837
895
  throw new WebpackMissingStatsError();
838
896
  let { warnings, errors } = getWebpackStats({ config, stats });
839
- if (warnings.length > 0 && warnings?.forEach((e) => logger.warn(e.message)), errors.length > 0) {
840
- errors.forEach((e) => logger.error(e.message)), compiler.close(() => fail(new WebpackCompilationError({ errors })));
897
+ if (warnings.length > 0 && warnings?.forEach((e) => logger2.warn(e.message)), errors.length > 0) {
898
+ errors.forEach((e) => logger2.error(e.message)), compiler.close(() => fail(new WebpackCompilationError({ errors })));
841
899
  return;
842
900
  }
843
901
  compiler.close((closeErr) => closeErr ? fail(new WebpackInvocationError({ error: closeErr })) : succeed(stats));
@@ -874,6 +932,7 @@ export {
874
932
  WebpackIgnorePlugin,
875
933
  bail,
876
934
  build,
935
+ changeDetectionAdapter,
877
936
  corePresets,
878
937
  executor,
879
938
  getConfig,
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../_node-chunks/chunk-FQ3KXHH2.js";
12
+ import "../_node-chunks/chunk-RQPJVIU5.js";
13
13
 
14
14
  // src/loaders/export-order-loader.ts
15
15
  import assert from "node:assert";
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../_node-chunks/chunk-FQ3KXHH2.js";
12
+ import "../_node-chunks/chunk-RQPJVIU5.js";
13
13
 
14
14
  // src/loaders/storybook-mock-transform-loader.ts
15
15
  import { rewriteSbMockImportCalls } from "storybook/internal/mocking-utils";
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../_node-chunks/chunk-FQ3KXHH2.js";
12
+ import "../_node-chunks/chunk-RQPJVIU5.js";
13
13
 
14
14
  // src/loaders/webpack-automock-loader.ts
15
15
  import { babelParser, getAutomockCode } from "storybook/internal/mocking-utils";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __require
14
- } from "../_node-chunks/chunk-FQ3KXHH2.js";
14
+ } from "../_node-chunks/chunk-RQPJVIU5.js";
15
15
 
16
16
  // src/presets/custom-webpack-preset.ts
17
17
  import { fileURLToPath as fileURLToPath3 } from "node:url";
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_2pg5ogutpca from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2pg5ogutpca from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2pg5ogutpca from "node:module";
1
+ import CJS_COMPAT_NODE_URL_pq0zmhmwfir from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_pq0zmhmwfir from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_pq0zmhmwfir from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2pg5ogutpca.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2pg5ogutpca.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2pg5ogutpca.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_pq0zmhmwfir.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_pq0zmhmwfir.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_pq0zmhmwfir.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  getVirtualModules
14
- } from "../_node-chunks/chunk-5SWT7MGJ.js";
15
- import "../_node-chunks/chunk-FQ3KXHH2.js";
14
+ } from "../_node-chunks/chunk-DYG7656K.js";
15
+ import "../_node-chunks/chunk-RQPJVIU5.js";
16
16
 
17
17
  // src/presets/preview-preset.ts
18
18
  import { fileURLToPath as fileURLToPath2 } from "node:url";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/builder-webpack5",
3
- "version": "10.4.0-alpha.17",
3
+ "version": "10.4.0-alpha.18",
4
4
  "description": "A Storybook builder to dev and build with Webpack",
5
5
  "keywords": [
6
6
  "storybook",
@@ -52,7 +52,7 @@
52
52
  "!src/**/*"
53
53
  ],
54
54
  "dependencies": {
55
- "@storybook/core-webpack": "10.4.0-alpha.17",
55
+ "@storybook/core-webpack": "10.4.0-alpha.18",
56
56
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
57
57
  "cjs-module-lexer": "^1.2.3",
58
58
  "css-loader": "^7.1.2",
@@ -78,7 +78,7 @@
78
78
  "typescript": "^5.9.3"
79
79
  },
80
80
  "peerDependencies": {
81
- "storybook": "^10.4.0-alpha.17"
81
+ "storybook": "^10.4.0-alpha.18"
82
82
  },
83
83
  "peerDependenciesMeta": {
84
84
  "typescript": {