create-storybook 10.3.2 → 10.3.3

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,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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
  __commonJS
14
- } from "./chunk-5ZJVYBML.js";
14
+ } from "./chunk-TH7YHZJ7.js";
15
15
 
16
16
  // ../../../node_modules/ts-dedent/dist/index.js
17
17
  var require_dist = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,27 +1,27 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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-JXEQ6MPD.js";
14
+ } from "./chunk-4MSQFJZU.js";
15
15
  import {
16
16
  dirname,
17
17
  normalize,
18
18
  relative,
19
19
  resolve
20
- } from "./chunk-TCIN5NLC.js";
20
+ } from "./chunk-MC4WJ7J3.js";
21
21
  import {
22
22
  __commonJS,
23
23
  __toESM
24
- } from "./chunk-5ZJVYBML.js";
24
+ } from "./chunk-TH7YHZJ7.js";
25
25
 
26
26
  // ../../../node_modules/picocolors/picocolors.js
27
27
  var require_picocolors = __commonJS({
@@ -1503,17 +1503,23 @@ var STORE_CHANNEL_EVENT_NAME = `UNIVERSAL_STORE:${storeOptions.id}`;
1503
1503
  var TRIGGER_TEST_RUN_REQUEST = `${ADDON_ID3}/trigger-test-run-request`, TRIGGER_TEST_RUN_RESPONSE = `${ADDON_ID3}/trigger-test-run-response`;
1504
1504
 
1505
1505
  // ../../addons/vitest/src/updateVitestFile.ts
1506
- import { resolveExpression } from "storybook/internal/babel";
1506
+ import {
1507
+ getConfigObjectFromMergeArg,
1508
+ getEffectiveMergeConfigCall,
1509
+ getTargetConfigObject,
1510
+ isDefineConfigLike,
1511
+ resolveExpression
1512
+ } from "storybook/internal/babel";
1507
1513
  async function getTemplatePath(name) {
1508
1514
  switch (name) {
1509
1515
  case "vitest.config.template":
1510
- return import("./vitest.config-3LYXPLXU.js");
1516
+ return import("./vitest.config-L3NNXHQM.js");
1511
1517
  case "vitest.config.4.template":
1512
- return import("./vitest.config.4-MOTJ6CTS.js");
1518
+ return import("./vitest.config.4-RP4NB32W.js");
1513
1519
  case "vitest.config.3.2.template":
1514
- return import("./vitest.config.3.2-2MR5C2BA.js");
1520
+ return import("./vitest.config.3.2-JDQ6LTS7.js");
1515
1521
  case "vitest.workspace.template":
1516
- return import("./vitest.workspace-RYOIZ2VT.js");
1522
+ return import("./vitest.workspace-QULLMWYV.js");
1517
1523
  default:
1518
1524
  throw new Error(`Unknown template: ${name}`);
1519
1525
  }
@@ -1531,13 +1537,6 @@ var loadTemplate = async (name, replacements) => {
1531
1537
  );
1532
1538
  targetProp && targetProp.type === "ObjectProperty" ? sourceProp.value.type === "ObjectExpression" && targetProp.value.type === "ObjectExpression" ? mergeProperties(sourceProp.value.properties, targetProp.value.properties) : sourceProp.value.type === "ArrayExpression" && targetProp.value.type === "ArrayExpression" ? targetProp.value.elements.push(...sourceProp.value.elements) : targetProp.value = sourceProp.value : target.push(sourceProp);
1533
1539
  }
1534
- }, isImportedDefineConfigLikeIdentifier = (localName, ast) => ast.program.body.some(
1535
- (node) => node.type === "ImportDeclaration" && (node.source.value === "vitest/config" || node.source.value === "vite") && node.specifiers.some(
1536
- (specifier) => specifier.type === "ImportSpecifier" && specifier.local.type === "Identifier" && specifier.local.name === localName && specifier.imported.type === "Identifier" && (specifier.imported.name === "defineConfig" || specifier.imported.name === "defineProject")
1537
- )
1538
- ), isDefineConfigLike = (node, ast) => node.callee.type === "Identifier" && (node.callee.name === "defineConfig" || node.callee.name === "defineProject" || isImportedDefineConfigLikeIdentifier(node.callee.name, ast)), getConfigObjectFromMergeArg = (arg, ast) => {
1539
- let resolved = resolveExpression(arg, ast);
1540
- return resolved ? resolved.type === "ObjectExpression" ? resolved : resolved.type === "CallExpression" && resolved.arguments[0]?.type === "ObjectExpression" ? resolved.arguments[0] : null : null;
1541
1540
  }, resolveTestPropValue = (testProp, ast) => {
1542
1541
  if (testProp.value.type === "ObjectExpression")
1543
1542
  return testProp.value;
@@ -1657,19 +1656,6 @@ var loadTemplate = async (name, replacements) => {
1657
1656
  }
1658
1657
  }
1659
1658
  mergeProperties(properties, targetConfigObject.properties);
1660
- }, getEffectiveMergeConfigCall = (decl, ast) => {
1661
- let resolved = resolveExpression(decl, ast);
1662
- if (!resolved || resolved.type !== "CallExpression")
1663
- return null;
1664
- if (isDefineConfigLike(resolved, ast) && resolved.arguments.length > 0) {
1665
- let innerArg = resolveExpression(resolved.arguments[0], ast);
1666
- if (innerArg?.type === "CallExpression" && innerArg.callee.type === "Identifier" && innerArg.callee.name === "mergeConfig")
1667
- return innerArg;
1668
- }
1669
- return resolved.callee.type === "Identifier" && resolved.callee.name === "mergeConfig" ? resolved : null;
1670
- }, getTargetConfigObject = (target, exportDefault) => {
1671
- let resolved = resolveExpression(exportDefault.declaration, target);
1672
- return resolved ? resolved.type === "ObjectExpression" ? resolved : resolved.type === "CallExpression" && isDefineConfigLike(resolved, target) && resolved.arguments[0]?.type === "ObjectExpression" ? resolved.arguments[0] : null : null;
1673
1659
  }, updateConfigFile = (source, target) => {
1674
1660
  let updated = !1, sourceExportDefault = source.program.body.find(
1675
1661
  (n) => n.type === "ExportDefaultDeclaration"
@@ -2058,7 +2044,7 @@ var ADDON_INSTALLATION_INSTRUCTIONS = {
2058
2044
  }
2059
2045
  /** Configure test addons (a11y and vitest) */
2060
2046
  async configureAddons(configDir, addons) {
2061
- let { postinstallAddon } = await import("./postinstallAddon-IQZLIYNG.js"), task = prompt6.taskLog({
2047
+ let { postinstallAddon } = await import("./postinstallAddon-XOCKQHPH.js"), task = prompt6.taskLog({
2062
2048
  id: "configure-addons",
2063
2049
  title: "Configuring addons..."
2064
2050
  }), addonResults = /* @__PURE__ */ new Map();
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -1,16 +1,16 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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 "./chunk-TCIN5NLC.js";
13
- import "./chunk-5ZJVYBML.js";
12
+ import "./chunk-MC4WJ7J3.js";
13
+ import "./chunk-TH7YHZJ7.js";
14
14
 
15
15
  // ../cli-storybook/src/postinstallAddon.ts
16
16
  import { createRequire as createRequire2 } from "node:module";
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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
  initiate
14
- } from "./chunk-ZJ4YXTHM.js";
15
- import "./chunk-JXEQ6MPD.js";
16
- import "./chunk-TCIN5NLC.js";
14
+ } from "./chunk-NLJKUZRJ.js";
15
+ import "./chunk-4MSQFJZU.js";
16
+ import "./chunk-MC4WJ7J3.js";
17
17
  import {
18
18
  __commonJS,
19
19
  __require,
20
20
  __toESM
21
- } from "./chunk-5ZJVYBML.js";
21
+ } from "./chunk-TH7YHZJ7.js";
22
22
 
23
23
  // ../../../node_modules/commander/lib/error.js
24
24
  var require_error = __commonJS({
@@ -2621,7 +2621,7 @@ var import_index = __toESM(require_commander(), 1), {
2621
2621
  } = import_index.default;
2622
2622
 
2623
2623
  // package.json
2624
- var version = "10.3.2";
2624
+ var version = "10.3.3";
2625
2625
 
2626
2626
  // src/bin/run.ts
2627
2627
  addToGlobalContext("cliVersion", version);
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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 "./chunk-5ZJVYBML.js";
12
+ import "./chunk-TH7YHZJ7.js";
13
13
 
14
14
  // raw:../templates/vitest.config.template
15
15
  var vitest_config_default = `import path from 'node:path';
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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 "./chunk-5ZJVYBML.js";
12
+ import "./chunk-TH7YHZJ7.js";
13
13
 
14
14
  // raw:../templates/vitest.config.3.2.template
15
15
  var vitest_config_3_2_default = `import path from 'node:path';
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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 "./chunk-5ZJVYBML.js";
12
+ import "./chunk-TH7YHZJ7.js";
13
13
 
14
14
  // raw:../templates/vitest.config.4.template
15
15
  var vitest_config_4_default = `import path from 'node:path';
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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 "./chunk-5ZJVYBML.js";
12
+ import "./chunk-TH7YHZJ7.js";
13
13
 
14
14
  // raw:../templates/vitest.workspace.template
15
15
  var vitest_workspace_default = `import path from 'node:path';
package/dist/bin/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
2
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.createRequire(import.meta.url);
9
9
 
10
10
  // ------------------------------------------------------------
11
11
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
12
12
  // ------------------------------------------------------------
13
13
  import {
14
14
  require_dist
15
- } from "../_node-chunks/chunk-JXEQ6MPD.js";
15
+ } from "../_node-chunks/chunk-4MSQFJZU.js";
16
16
  import {
17
17
  __toESM
18
- } from "../_node-chunks/chunk-5ZJVYBML.js";
18
+ } from "../_node-chunks/chunk-TH7YHZJ7.js";
19
19
 
20
20
  // src/bin/index.ts
21
21
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -25,4 +25,4 @@ var [majorNodeVersion, minorNodeVersion] = process.versions.node.split(".").map(
25
25
  import_ts_dedent.dedent`To run Storybook, you need Node.js version 20.19+ or 22.12+.
26
26
  You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
27
27
  ), process.exit(1));
28
- import("../_node-chunks/run-7GKUE6YC.js");
28
+ import("../_node-chunks/run-K76XXRSO.js");
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
- import CJS_COMPAT_NODE_URL_x52hf8qewig from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_x52hf8qewig from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_x52hf8qewig from "node:module";
1
+ import CJS_COMPAT_NODE_URL_61hwmzak22x from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_61hwmzak22x from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_61hwmzak22x from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_x52hf8qewig.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_x52hf8qewig.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_x52hf8qewig.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_61hwmzak22x.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_61hwmzak22x.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_61hwmzak22x.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
  doInitiate
14
- } from "./_node-chunks/chunk-ZJ4YXTHM.js";
15
- import "./_node-chunks/chunk-JXEQ6MPD.js";
16
- import "./_node-chunks/chunk-TCIN5NLC.js";
17
- import "./_node-chunks/chunk-5ZJVYBML.js";
14
+ } from "./_node-chunks/chunk-NLJKUZRJ.js";
15
+ import "./_node-chunks/chunk-4MSQFJZU.js";
16
+ import "./_node-chunks/chunk-MC4WJ7J3.js";
17
+ import "./_node-chunks/chunk-TH7YHZJ7.js";
18
18
  export {
19
19
  doInitiate as initiate
20
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-storybook",
3
- "version": "10.3.2",
3
+ "version": "10.3.3",
4
4
  "description": "Storybook installer: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "semver": "^7.7.3",
42
- "storybook": "10.3.2"
42
+ "storybook": "10.3.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/prompts": "^2.0.9",