storybook 10.0.0-rc.3 → 10.0.0-rc.4

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.
Files changed (71) hide show
  1. package/dist/_node-chunks/{builder-manager-NIOGGLFD.js → builder-manager-CMPC7SCH.js} +12 -12
  2. package/dist/_node-chunks/camelcase-PH4ACE3G.js +18 -0
  3. package/dist/_node-chunks/{chunk-WRCI3EYU.js → chunk-2JIAOYKO.js} +7 -7
  4. package/dist/_node-chunks/{chunk-5WPK6ACG.js → chunk-4TLOQYBC.js} +7 -7
  5. package/dist/_node-chunks/{chunk-EDGA22VS.js → chunk-A3UOLOFM.js} +7 -7
  6. package/dist/_node-chunks/{chunk-5ZVI7NBO.js → chunk-AA6WD3A7.js} +7 -7
  7. package/dist/_node-chunks/chunk-AHFZBAQF.js +61 -0
  8. package/dist/_node-chunks/{chunk-SZ6FXTRU.js → chunk-AS5N7GY5.js} +7 -7
  9. package/dist/_node-chunks/{chunk-XFBFSXFJ.js → chunk-BEHPCFQ2.js} +8 -8
  10. package/dist/_node-chunks/{chunk-3SEBVSWT.js → chunk-BSVBH2ZA.js} +7 -7
  11. package/dist/_node-chunks/{chunk-VDVDOBNV.js → chunk-BZXQJZUK.js} +7 -7
  12. package/dist/_node-chunks/{chunk-ML3GTXPM.js → chunk-DLIUMR5R.js} +6 -6
  13. package/dist/_node-chunks/{chunk-NSYINCG4.js → chunk-E7XUDQ3W.js} +7 -7
  14. package/dist/_node-chunks/{chunk-CUEWGHOL.js → chunk-EJGHDAYE.js} +6 -6
  15. package/dist/_node-chunks/{chunk-AZH4HEPP.js → chunk-JGDH6YYG.js} +20 -20
  16. package/dist/_node-chunks/{chunk-JYCXWPO6.js → chunk-JPPACTL4.js} +7 -7
  17. package/dist/_node-chunks/{chunk-KUXWX4RV.js → chunk-MC6BOBJJ.js} +12 -12
  18. package/dist/_node-chunks/{chunk-CTMEFFNW.js → chunk-MQY4ZI62.js} +8 -8
  19. package/dist/_node-chunks/{chunk-WE7755VW.js → chunk-NCKTVDON.js} +34 -35
  20. package/dist/_node-chunks/{chunk-AF3TJ6R5.js → chunk-OJSXOILA.js} +7 -7
  21. package/dist/_node-chunks/{chunk-6PQVBT5D.js → chunk-OOXEC2LP.js} +7 -7
  22. package/dist/_node-chunks/{chunk-VHDA7UQR.js → chunk-P7GFT5HG.js} +8 -8
  23. package/dist/_node-chunks/{chunk-HGZID3CI.js → chunk-PCQGHIXN.js} +7 -7
  24. package/dist/_node-chunks/{chunk-XA5ZNWSM.js → chunk-PJCDP6ZD.js} +7 -7
  25. package/dist/_node-chunks/{chunk-QPB4P2Q3.js → chunk-PW2V2I6I.js} +7 -7
  26. package/dist/_node-chunks/{chunk-R2FDNWFD.js → chunk-QK5IGJ3H.js} +9 -9
  27. package/dist/_node-chunks/{chunk-34ZACDOC.js → chunk-RZ77GUAF.js} +10 -10
  28. package/dist/_node-chunks/{chunk-TLUDPMLR.js → chunk-SN3TDU74.js} +8 -8
  29. package/dist/_node-chunks/{chunk-G5VN3ASC.js → chunk-SX2UZK74.js} +7 -7
  30. package/dist/_node-chunks/{chunk-WSINFVEL.js → chunk-USMWLOGR.js} +7 -7
  31. package/dist/_node-chunks/{chunk-EOW64HJZ.js → chunk-VBFCHLFV.js} +12 -12
  32. package/dist/_node-chunks/{chunk-OAP27YU5.js → chunk-VWIHOMFU.js} +8 -8
  33. package/dist/_node-chunks/chunk-XQN3THEO.js +18 -0
  34. package/dist/_node-chunks/{chunk-FUCVPILC.js → chunk-YW2UKPPH.js} +9 -9
  35. package/dist/_node-chunks/{chunk-I37OZGFX.js → chunk-ZW5XA6KG.js} +7 -7
  36. package/dist/_node-chunks/{dist-SXAIWZGI.js → dist-U664B537.js} +9 -9
  37. package/dist/_node-chunks/{globby-W4JFDHUY.js → globby-HQ3ESL52.js} +9 -9
  38. package/dist/_node-chunks/{lib-PMWBRG3N.js → lib-2IOH44LB.js} +7 -7
  39. package/dist/_node-chunks/{mdx-N42X6CFJ-IVVYYMYF.js → mdx-N42X6CFJ-M54WITPV.js} +8 -8
  40. package/dist/_node-chunks/{p-limit-PE5BWDZH.js → p-limit-PBXTEA6N.js} +7 -7
  41. package/dist/_node-chunks/{plugin-OGRBN4O7.js → plugin-34QU2FG7.js} +10 -10
  42. package/dist/_node-chunks/{plugin-ZVWKMXMK.js → plugin-RSI6B3JI.js} +10 -10
  43. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-SXMOGYNE.js → webpack-inject-mocker-runtime-plugin-UMXHXRC2.js} +10 -10
  44. package/dist/_node-chunks/{webpack-mock-plugin-X64FENVZ.js → webpack-mock-plugin-6GKO2XIO.js} +9 -9
  45. package/dist/babel/index.js +11 -11
  46. package/dist/bin/core.js +11 -11
  47. package/dist/bin/dispatcher.js +11 -11
  48. package/dist/bin/loader.js +9 -9
  49. package/dist/cli/index.js +21 -21
  50. package/dist/common/index.js +20 -20
  51. package/dist/core-server/index.js +37 -36
  52. package/dist/core-server/presets/common-override-preset.js +9 -9
  53. package/dist/core-server/presets/common-preset.js +38 -26
  54. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  55. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  56. package/dist/csf-tools/index.js +9 -9
  57. package/dist/instrumenter/index.js +1 -1
  58. package/dist/manager/globals-runtime.js +2 -2
  59. package/dist/manager-api/index.d.ts +1 -1
  60. package/dist/manager-api/index.js +1 -1
  61. package/dist/node-logger/index.js +14 -14
  62. package/dist/preview/runtime.js +1 -1
  63. package/dist/preview-api/index.d.ts +67 -68
  64. package/dist/server-errors.js +10 -10
  65. package/dist/telemetry/index.d.ts +21 -1
  66. package/dist/telemetry/index.js +24 -24
  67. package/dist/types/index.d.ts +2 -1
  68. package/package.json +1 -1
  69. package/dist/_node-chunks/camelcase-CTANPQBN.js +0 -18
  70. package/dist/_node-chunks/chunk-UQKRSNK7.js +0 -61
  71. package/dist/_node-chunks/chunk-XC2HC4KH.js +0 -18
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_picomatch
14
- } from "./chunk-JYCXWPO6.js";
14
+ } from "./chunk-JPPACTL4.js";
15
15
  import {
16
16
  versions_default
17
- } from "./chunk-UQKRSNK7.js";
17
+ } from "./chunk-AHFZBAQF.js";
18
18
  import {
19
19
  BUN_LOCKFILE,
20
20
  BUN_LOCKFILE_BINARY,
@@ -27,42 +27,42 @@ import {
27
27
  getProjectRoot,
28
28
  normalizeStoryPath,
29
29
  require_cross_spawn
30
- } from "./chunk-FUCVPILC.js";
30
+ } from "./chunk-YW2UKPPH.js";
31
31
  import {
32
32
  any,
33
33
  from,
34
34
  up2 as up
35
- } from "./chunk-WSINFVEL.js";
35
+ } from "./chunk-USMWLOGR.js";
36
36
  import {
37
37
  invariant
38
- } from "./chunk-5ZVI7NBO.js";
38
+ } from "./chunk-AA6WD3A7.js";
39
39
  import {
40
40
  importModule,
41
41
  resolveModulePath,
42
42
  resolvePackageDir,
43
43
  safeResolveModule
44
- } from "./chunk-OAP27YU5.js";
44
+ } from "./chunk-VWIHOMFU.js";
45
45
  import {
46
46
  join,
47
47
  parse,
48
48
  resolve
49
- } from "./chunk-AF3TJ6R5.js";
49
+ } from "./chunk-OJSXOILA.js";
50
50
  import {
51
51
  require_prompts
52
- } from "./chunk-G5VN3ASC.js";
52
+ } from "./chunk-SX2UZK74.js";
53
53
  import {
54
54
  glob,
55
55
  globSync
56
- } from "./chunk-XA5ZNWSM.js";
56
+ } from "./chunk-PJCDP6ZD.js";
57
57
  import {
58
58
  slash
59
- } from "./chunk-I37OZGFX.js";
59
+ } from "./chunk-ZW5XA6KG.js";
60
60
  import {
61
61
  require_dist
62
- } from "./chunk-3SEBVSWT.js";
62
+ } from "./chunk-BSVBH2ZA.js";
63
63
  import {
64
64
  require_picocolors
65
- } from "./chunk-5WPK6ACG.js";
65
+ } from "./chunk-4TLOQYBC.js";
66
66
  import {
67
67
  __commonJS,
68
68
  __esm,
@@ -71,7 +71,7 @@ import {
71
71
  __require,
72
72
  __toCommonJS,
73
73
  __toESM
74
- } from "./chunk-CUEWGHOL.js";
74
+ } from "./chunk-EJGHDAYE.js";
75
75
 
76
76
  // ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
77
77
  var tslib_es6_exports = {};
@@ -12520,7 +12520,6 @@ function getPreviewHeadTemplate(configDirPath, interpolations) {
12520
12520
  __name(getPreviewHeadTemplate, "getPreviewHeadTemplate");
12521
12521
 
12522
12522
  // src/common/utils/validate-config.ts
12523
- import { join as join10 } from "node:path";
12524
12523
  import {
12525
12524
  CouldNotEvaluateFrameworkError,
12526
12525
  InvalidFrameworkNameError,
@@ -12539,7 +12538,7 @@ function validateFrameworkName(frameworkName) {
12539
12538
  return;
12540
12539
  }
12541
12540
  try {
12542
- resolveModulePath(join10(frameworkName, "preset"), {
12541
+ resolveModulePath(`${frameworkName}/preset`, {
12543
12542
  extensions: [".mjs", ".js", ".cjs"],
12544
12543
  conditions: ["node", "import", "require"]
12545
12544
  });
@@ -12809,7 +12808,7 @@ import { basename as basename2, parse as parse3, relative as relative4 } from "n
12809
12808
  // src/common/js-package-manager/BUNProxy.ts
12810
12809
  import { readFileSync as readFileSync5 } from "node:fs";
12811
12810
  import { platform } from "node:os";
12812
- import { join as join11 } from "node:path";
12811
+ import { join as join10 } from "node:path";
12813
12812
  import { logger as logger10 } from "storybook/internal/node-logger";
12814
12813
  import { FindPackageVersionsError } from "storybook/internal/server-errors";
12815
12814
  import sort from "semver/functions/sort.js";
@@ -12868,7 +12867,7 @@ var BUNProxy = class extends JsPackageManager {
12868
12867
  return `bunx ${pkg}${specifier ? `@${specifier}` : ""} ${args.join(" ")}`;
12869
12868
  }
12870
12869
  async getModulePackageJSON(packageName) {
12871
- const wantedPath = join11("node_modules", packageName, "package.json");
12870
+ const wantedPath = join10("node_modules", packageName, "package.json");
12872
12871
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
12873
12872
  if (!packageJsonPath) {
12874
12873
  return null;
@@ -13051,7 +13050,7 @@ var BUNProxy = class extends JsPackageManager {
13051
13050
  // src/common/js-package-manager/NPMProxy.ts
13052
13051
  import { readFileSync as readFileSync6 } from "node:fs";
13053
13052
  import { platform as platform2 } from "node:os";
13054
- import { join as join12 } from "node:path";
13053
+ import { join as join11 } from "node:path";
13055
13054
  import { logger as logger11, prompt as prompt2 } from "storybook/internal/node-logger";
13056
13055
  import { FindPackageVersionsError as FindPackageVersionsError2 } from "storybook/internal/server-errors";
13057
13056
  import sort2 from "semver/functions/sort.js";
@@ -13104,7 +13103,7 @@ var NPMProxy = class extends JsPackageManager {
13104
13103
  return `npx ${pkg}${specifier ? `@${specifier}` : ""} ${args.join(" ")}`;
13105
13104
  }
13106
13105
  async getModulePackageJSON(packageName) {
13107
- const wantedPath = join12("node_modules", packageName, "package.json");
13106
+ const wantedPath = join11("node_modules", packageName, "package.json");
13108
13107
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
13109
13108
  if (!packageJsonPath) {
13110
13109
  return null;
@@ -13290,7 +13289,7 @@ var NPMProxy = class extends JsPackageManager {
13290
13289
 
13291
13290
  // src/common/js-package-manager/PNPMProxy.ts
13292
13291
  import { existsSync as existsSync6, readFileSync as readFileSync7 } from "node:fs";
13293
- import { join as join13 } from "node:path";
13292
+ import { join as join12 } from "node:path";
13294
13293
  import { pathToFileURL } from "node:url";
13295
13294
  import { prompt as prompt3 } from "storybook/internal/node-logger";
13296
13295
  import { FindPackageVersionsError as FindPackageVersionsError3 } from "storybook/internal/server-errors";
@@ -13394,7 +13393,7 @@ var PNPMProxy = class extends JsPackageManager {
13394
13393
  const pkgLocator = pnpApi.findPackageLocator(resolvedPath);
13395
13394
  const pkg = pnpApi.getPackageInformation(pkgLocator);
13396
13395
  const packageJSON = JSON.parse(
13397
- readFileSync7(join13(pkg.packageLocation, "package.json"), "utf-8")
13396
+ readFileSync7(join12(pkg.packageLocation, "package.json"), "utf-8")
13398
13397
  );
13399
13398
  return packageJSON;
13400
13399
  } catch (error) {
@@ -13404,7 +13403,7 @@ var PNPMProxy = class extends JsPackageManager {
13404
13403
  return null;
13405
13404
  }
13406
13405
  }
13407
- const wantedPath = join13("node_modules", packageName, "package.json");
13406
+ const wantedPath = join12("node_modules", packageName, "package.json");
13408
13407
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
13409
13408
  if (!packageJsonPath) {
13410
13409
  return null;
@@ -13517,7 +13516,7 @@ var PNPMProxy = class extends JsPackageManager {
13517
13516
 
13518
13517
  // src/common/js-package-manager/Yarn1Proxy.ts
13519
13518
  import { readFileSync as readFileSync8 } from "node:fs";
13520
- import { join as join14 } from "node:path";
13519
+ import { join as join13 } from "node:path";
13521
13520
  import process2 from "node:process";
13522
13521
  import { prompt as prompt4 } from "storybook/internal/node-logger";
13523
13522
  import { FindPackageVersionsError as FindPackageVersionsError4 } from "storybook/internal/server-errors";
@@ -13568,7 +13567,7 @@ var Yarn1Proxy = class extends JsPackageManager {
13568
13567
  return this.executeCommand({ command: `yarn`, args: [command, ...args], cwd, stdio });
13569
13568
  }
13570
13569
  async getModulePackageJSON(packageName) {
13571
- const wantedPath = join14("node_modules", packageName, "package.json");
13570
+ const wantedPath = join13("node_modules", packageName, "package.json");
13572
13571
  const packageJsonPath = up(wantedPath, { cwd: this.cwd, last: getProjectRoot() });
13573
13572
  if (!packageJsonPath) {
13574
13573
  return null;
@@ -13707,7 +13706,7 @@ var Yarn1Proxy = class extends JsPackageManager {
13707
13706
  var import_fslib = __toESM(require_lib(), 1);
13708
13707
  var import_libzip = __toESM(require_sync(), 1);
13709
13708
  import { readFileSync as readFileSync9 } from "node:fs";
13710
- import { join as join15 } from "node:path";
13709
+ import { join as join14 } from "node:path";
13711
13710
  import { pathToFileURL as pathToFileURL2 } from "node:url";
13712
13711
  import { prompt as prompt5 } from "storybook/internal/node-logger";
13713
13712
  import { FindPackageVersionsError as FindPackageVersionsError5 } from "storybook/internal/server-errors";
@@ -13843,7 +13842,7 @@ var Yarn2Proxy = class extends JsPackageManager {
13843
13842
  });
13844
13843
  const virtualFs = new import_fslib.VirtualFS({ baseFs: zipOpenFs });
13845
13844
  const crossFs = new import_fslib.PosixFS(virtualFs);
13846
- const virtualPath = join15(pkg.packageLocation, "package.json");
13845
+ const virtualPath = join14(pkg.packageLocation, "package.json");
13847
13846
  return crossFs.readJsonSync(virtualPath);
13848
13847
  } catch (error) {
13849
13848
  if (error.code !== "ERR_MODULE_NOT_FOUND") {
@@ -13852,7 +13851,7 @@ var Yarn2Proxy = class extends JsPackageManager {
13852
13851
  return null;
13853
13852
  }
13854
13853
  }
13855
- const wantedPath = join15("node_modules", packageName, "package.json");
13854
+ const wantedPath = join14("node_modules", packageName, "package.json");
13856
13855
  const packageJsonPath = up(wantedPath, {
13857
13856
  cwd: this.primaryPackageJson.operationDir,
13858
13857
  last: getProjectRoot()
@@ -14165,7 +14164,7 @@ async function scanAndTransformFiles({
14165
14164
  initial: defaultGlob
14166
14165
  });
14167
14166
  console.log("Scanning for affected files...");
14168
- const globby = (await import("./globby-W4JFDHUY.js")).globby;
14167
+ const globby = (await import("./globby-HQ3ESL52.js")).globby;
14169
14168
  const sourceFiles = await globby([glob2], {
14170
14169
  ...commonGlobOptions(""),
14171
14170
  ignore: ["**/node_modules/**"],
@@ -14195,7 +14194,7 @@ function transformImports(source, renamedImports) {
14195
14194
  __name(transformImports, "transformImports");
14196
14195
  var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
14197
14196
  const errors = [];
14198
- const { default: pLimit } = await import("./p-limit-PE5BWDZH.js");
14197
+ const { default: pLimit } = await import("./p-limit-PBXTEA6N.js");
14199
14198
  const limit = pLimit(10);
14200
14199
  await Promise.all(
14201
14200
  files.map(
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
  __name
14
- } from "./chunk-CUEWGHOL.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // ../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
17
17
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
  __name
14
- } from "./chunk-CUEWGHOL.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // ../node_modules/camelcase/index.js
17
17
  var UPPERCASE = /[\p{Lu}]/u;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -16,10 +16,10 @@ import {
16
16
  join,
17
17
  normalize,
18
18
  resolve
19
- } from "./chunk-AF3TJ6R5.js";
19
+ } from "./chunk-OJSXOILA.js";
20
20
  import {
21
21
  __name
22
- } from "./chunk-CUEWGHOL.js";
22
+ } from "./chunk-EJGHDAYE.js";
23
23
 
24
24
  // src/core-server/mocking-utils/resolve.ts
25
25
  import { readFileSync as readFileSync2, realpathSync } from "node:fs";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
12
12
  import {
13
13
  __name,
14
14
  __require
15
- } from "./chunk-CUEWGHOL.js";
15
+ } from "./chunk-EJGHDAYE.js";
16
16
 
17
17
  // ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
18
18
  var __create = Object.create;
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  __commonJS,
14
14
  __name,
15
15
  __toESM
16
- } from "./chunk-CUEWGHOL.js";
16
+ } from "./chunk-EJGHDAYE.js";
17
17
 
18
18
  // ../node_modules/balanced-match/index.js
19
19
  var require_balanced_match = __commonJS({
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
  __name
14
- } from "./chunk-CUEWGHOL.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // src/telemetry/event-cache.ts
17
17
  import { cache } from "storybook/internal/common";
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_dist
14
- } from "./chunk-3SEBVSWT.js";
14
+ } from "./chunk-BSVBH2ZA.js";
15
15
  import {
16
16
  require_picocolors
17
- } from "./chunk-5WPK6ACG.js";
17
+ } from "./chunk-4TLOQYBC.js";
18
18
  import {
19
19
  __name,
20
20
  __toESM
21
- } from "./chunk-CUEWGHOL.js";
21
+ } from "./chunk-EJGHDAYE.js";
22
22
 
23
23
  // src/server-errors.ts
24
24
  var import_picocolors = __toESM(require_picocolors(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,20 +12,20 @@ var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
12
12
  import {
13
13
  require_gen_mapping_umd,
14
14
  require_trace_mapping_umd
15
- } from "./chunk-EDGA22VS.js";
15
+ } from "./chunk-A3UOLOFM.js";
16
16
  import {
17
17
  require_lib,
18
18
  require_src
19
- } from "./chunk-NSYINCG4.js";
19
+ } from "./chunk-E7XUDQ3W.js";
20
20
  import {
21
21
  require_picocolors
22
- } from "./chunk-5WPK6ACG.js";
22
+ } from "./chunk-4TLOQYBC.js";
23
23
  import {
24
24
  __commonJS,
25
25
  __name,
26
26
  __require,
27
27
  __toESM
28
- } from "./chunk-CUEWGHOL.js";
28
+ } from "./chunk-EJGHDAYE.js";
29
29
 
30
30
  // ../node_modules/@babel/types/lib/utils/shallowEqual.js
31
31
  var require_shallowEqual = __commonJS({
@@ -1,22 +1,22 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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_dist
14
- } from "./chunk-3SEBVSWT.js";
14
+ } from "./chunk-BSVBH2ZA.js";
15
15
  import {
16
16
  __export,
17
17
  __name,
18
18
  __toESM
19
- } from "./chunk-CUEWGHOL.js";
19
+ } from "./chunk-EJGHDAYE.js";
20
20
 
21
21
  // src/cli/globalSettings.ts
22
22
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,7 +13,7 @@ import {
13
13
  __commonJS,
14
14
  __name,
15
15
  __require
16
- } from "./chunk-CUEWGHOL.js";
16
+ } from "./chunk-EJGHDAYE.js";
17
17
 
18
18
  // ../node_modules/kleur/index.js
19
19
  var require_kleur = __commonJS({
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.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
  __name
14
- } from "./chunk-CUEWGHOL.js";
14
+ } from "./chunk-EJGHDAYE.js";
15
15
 
16
16
  // ../node_modules/empathic/resolve.mjs
17
17
  import { createRequire } from "node:module";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,23 +12,23 @@ var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
12
12
  import {
13
13
  any,
14
14
  up2 as up
15
- } from "./chunk-WSINFVEL.js";
15
+ } from "./chunk-USMWLOGR.js";
16
16
  import {
17
17
  invariant
18
- } from "./chunk-5ZVI7NBO.js";
18
+ } from "./chunk-AA6WD3A7.js";
19
19
  import {
20
20
  resolvePackageDir
21
- } from "./chunk-OAP27YU5.js";
21
+ } from "./chunk-VWIHOMFU.js";
22
22
  import {
23
23
  require_prompts
24
- } from "./chunk-G5VN3ASC.js";
24
+ } from "./chunk-SX2UZK74.js";
25
25
  import {
26
26
  require_picocolors
27
- } from "./chunk-5WPK6ACG.js";
27
+ } from "./chunk-4TLOQYBC.js";
28
28
  import {
29
29
  __name,
30
30
  __toESM
31
- } from "./chunk-CUEWGHOL.js";
31
+ } from "./chunk-EJGHDAYE.js";
32
32
 
33
33
  // src/cli/project_types.ts
34
34
  import { minVersion, validRange } from "semver";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
1
+ import CJS_COMPAT_NODE_URL_me0y3sd4o2e from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_me0y3sd4o2e from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_me0y3sd4o2e from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_me0y3sd4o2e.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_me0y3sd4o2e.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_me0y3sd4o2e.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
12
12
  import {
13
13
  dirname,
14
14
  join
15
- } from "./chunk-AF3TJ6R5.js";
15
+ } from "./chunk-OJSXOILA.js";
16
16
  import {
17
17
  __name
18
- } from "./chunk-CUEWGHOL.js";
18
+ } from "./chunk-EJGHDAYE.js";
19
19
 
20
20
  // ../node_modules/exsolve/dist/index.mjs
21
21
  import fs, { realpathSync, statSync, lstatSync } from "node:fs";