create-storybook 10.2.7 → 10.2.9
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.
- package/dist/_node-chunks/{chunk-VACF7JKQ.js → chunk-CKCKWOHY.js} +6 -6
- package/dist/_node-chunks/{chunk-JQVTPWDP.js → chunk-OS4XBXPD.js} +7 -7
- package/dist/_node-chunks/{chunk-22IR5OXB.js → chunk-PHLEVNYP.js} +25 -16
- package/dist/_node-chunks/{chunk-NXDOPFEY.js → chunk-PQQTJVRK.js} +6 -6
- package/dist/_node-chunks/{postinstallAddon-BAU3E3V2.js → postinstallAddon-QQEIQUOX.js} +8 -8
- package/dist/_node-chunks/{run-CLCJMB5Y.js → run-TZR5IEOI.js} +11 -11
- package/dist/_node-chunks/{vitest.config-NUYNDEOS.js → vitest.config-PVLA3MOB.js} +7 -7
- package/dist/_node-chunks/{vitest.config.3.2-Z43BE55I.js → vitest.config.3.2-25KWRLRE.js} +7 -7
- package/dist/_node-chunks/{vitest.config.4-EY4FHSSM.js → vitest.config.4-YGSZXE6F.js} +7 -7
- package/dist/_node-chunks/{vitest.workspace-6OXZ7WVY.js → vitest.workspace-74BOFVAH.js} +7 -7
- package/dist/bin/index.js +9 -9
- package/dist/index.js +10 -10
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
14
|
+
} from "./chunk-PQQTJVRK.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
14
|
+
} from "./chunk-OS4XBXPD.js";
|
|
15
15
|
import {
|
|
16
16
|
dirname,
|
|
17
17
|
normalize,
|
|
18
18
|
relative,
|
|
19
19
|
resolve
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CKCKWOHY.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PQQTJVRK.js";
|
|
25
25
|
|
|
26
26
|
// ../../../node_modules/picocolors/picocolors.js
|
|
27
27
|
var require_picocolors = __commonJS({
|
|
@@ -200,7 +200,11 @@ var SUPPORTED_PROJECTS = {
|
|
|
200
200
|
hint: "To install Storybook on another framework, first generate a project with that framework and then rerun this command."
|
|
201
201
|
}
|
|
202
202
|
]
|
|
203
|
-
})), projectStrategy === "other" && (
|
|
203
|
+
})), projectStrategy === "other" && (disableTelemetry || await telemetry(
|
|
204
|
+
"exit",
|
|
205
|
+
{ eventType: "init", reason: "scaffold-other" },
|
|
206
|
+
{ stripMetadata: !0, immediate: !0 }
|
|
207
|
+
), logger.warn(
|
|
204
208
|
"To install Storybook on another framework, first generate a project with that framework and then rerun this command."
|
|
205
209
|
), logger.outro("Exiting..."), process.exit(1));
|
|
206
210
|
let projectStrategyConfig = SUPPORTED_PROJECTS[projectStrategy], projectDisplayName = buildProjectDisplayNameForPrint(projectStrategyConfig), createScript = projectStrategyConfig.createScript[packageManagerName], spinner = prompt.spinner({
|
|
@@ -566,6 +570,7 @@ var PreflightCheckCommand = class {
|
|
|
566
570
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent3 = __toESM(require_dist(), 1);
|
|
567
571
|
import { ProjectType as ProjectType3 } from "storybook/internal/cli";
|
|
568
572
|
import { logger as logger4, prompt as prompt2 } from "storybook/internal/node-logger";
|
|
573
|
+
import { telemetry as telemetry3 } from "storybook/internal/telemetry";
|
|
569
574
|
|
|
570
575
|
// src/services/ProjectTypeService.ts
|
|
571
576
|
import { existsSync as existsSync2 } from "node:fs";
|
|
@@ -855,7 +860,11 @@ var ProjectDetectionCommand = class {
|
|
|
855
860
|
options.force !== !0 && options.yes !== !0 && storybookInstantiated && projectType !== ProjectType3.ANGULAR && (await prompt2.confirm({
|
|
856
861
|
message: import_ts_dedent3.dedent`We found a .storybook config directory in your project.
|
|
857
862
|
We assume that Storybook is already instantiated for your project. Do you still want to continue and force the initialization?`
|
|
858
|
-
}) || options.yes ? options.force = !0 :
|
|
863
|
+
}) || options.yes ? options.force = !0 : (options.disableTelemetry || await telemetry3(
|
|
864
|
+
"exit",
|
|
865
|
+
{ eventType: "init", reason: "existing-installation" },
|
|
866
|
+
{ stripMetadata: !0, immediate: !0 }
|
|
867
|
+
), process.exit(0)));
|
|
859
868
|
}
|
|
860
869
|
}, executeProjectDetection = (packageManager, options) => new ProjectDetectionCommand(options, packageManager).execute();
|
|
861
870
|
|
|
@@ -1491,13 +1500,13 @@ var STORE_CHANNEL_EVENT_NAME = `UNIVERSAL_STORE:${storeOptions.id}`;
|
|
|
1491
1500
|
async function getTemplatePath(name) {
|
|
1492
1501
|
switch (name) {
|
|
1493
1502
|
case "vitest.config.template":
|
|
1494
|
-
return import("./vitest.config-
|
|
1503
|
+
return import("./vitest.config-PVLA3MOB.js");
|
|
1495
1504
|
case "vitest.config.4.template":
|
|
1496
|
-
return import("./vitest.config.4-
|
|
1505
|
+
return import("./vitest.config.4-YGSZXE6F.js");
|
|
1497
1506
|
case "vitest.config.3.2.template":
|
|
1498
|
-
return import("./vitest.config.3.2-
|
|
1507
|
+
return import("./vitest.config.3.2-25KWRLRE.js");
|
|
1499
1508
|
case "vitest.workspace.template":
|
|
1500
|
-
return import("./vitest.workspace-
|
|
1509
|
+
return import("./vitest.workspace-74BOFVAH.js");
|
|
1501
1510
|
default:
|
|
1502
1511
|
throw new Error(`Unknown template: ${name}`);
|
|
1503
1512
|
}
|
|
@@ -1989,7 +1998,7 @@ var ADDON_INSTALLATION_INSTRUCTIONS = {
|
|
|
1989
1998
|
}
|
|
1990
1999
|
/** Configure test addons (a11y and vitest) */
|
|
1991
2000
|
async configureAddons(configDir, addons) {
|
|
1992
|
-
let { postinstallAddon } = await import("./postinstallAddon-
|
|
2001
|
+
let { postinstallAddon } = await import("./postinstallAddon-QQEIQUOX.js"), task = prompt6.taskLog({
|
|
1993
2002
|
id: "configure-addons",
|
|
1994
2003
|
title: "Configuring addons..."
|
|
1995
2004
|
}), addonResults = /* @__PURE__ */ new Map();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-CKCKWOHY.js";
|
|
13
|
+
import "./chunk-PQQTJVRK.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PHLEVNYP.js";
|
|
15
|
+
import "./chunk-OS4XBXPD.js";
|
|
16
|
+
import "./chunk-CKCKWOHY.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__require,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PQQTJVRK.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.2.
|
|
2624
|
+
var version = "10.2.9";
|
|
2625
2625
|
|
|
2626
2626
|
// src/bin/run.ts
|
|
2627
2627
|
addToGlobalContext("cliVersion", version);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
12
|
+
import "./chunk-PQQTJVRK.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
12
|
+
import "./chunk-PQQTJVRK.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
12
|
+
import "./chunk-PQQTJVRK.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
12
|
+
import "./chunk-PQQTJVRK.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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
15
|
+
} from "../_node-chunks/chunk-OS4XBXPD.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-PQQTJVRK.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-
|
|
28
|
+
import("../_node-chunks/run-TZR5IEOI.js");
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wdxh8i657b from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wdxh8i657b from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wdxh8i657b from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wdxh8i657b.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wdxh8i657b.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wdxh8i657b.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-
|
|
15
|
-
import "./_node-chunks/chunk-
|
|
16
|
-
import "./_node-chunks/chunk-
|
|
17
|
-
import "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-PHLEVNYP.js";
|
|
15
|
+
import "./_node-chunks/chunk-OS4XBXPD.js";
|
|
16
|
+
import "./_node-chunks/chunk-CKCKWOHY.js";
|
|
17
|
+
import "./_node-chunks/chunk-PQQTJVRK.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.2.
|
|
3
|
+
"version": "10.2.9",
|
|
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.2.
|
|
42
|
+
"storybook": "10.2.9"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/prompts": "^2.0.9",
|