@storybook/cli 10.3.0 → 10.3.1
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/{block-dependencies-versions-UWOEWZ2M.js → block-dependencies-versions-FDXJ7V25.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-C4B77U56.js → block-experimental-addon-test-U4OFA5XR.js} +9 -9
- package/dist/_node-chunks/{block-major-version-LT4LUM27.js → block-major-version-AHFNSJ7J.js} +9 -9
- package/dist/_node-chunks/{block-node-version-M3XICK7M.js → block-node-version-6YWUGFKH.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-QIYUXMZ3.js → block-webpack5-frameworks-IQHXHUCG.js} +11 -11
- package/dist/_node-chunks/chunk-DPZGHZ75.js +11 -0
- package/dist/_node-chunks/{chunk-TBYIND73.js → chunk-NIYUTPLQ.js} +7 -7
- package/dist/_node-chunks/{chunk-IA7ZOC2O.js → chunk-PPJZYZ2N.js} +15 -15
- package/dist/_node-chunks/{chunk-VVUEAIK6.js → chunk-SAXD5BZD.js} +7 -7
- package/dist/_node-chunks/{chunk-4XLEDVOC.js → chunk-XFDWCBNL.js} +6 -6
- package/dist/_node-chunks/{globby-VLJT32RN.js → globby-7AE4B73Q.js} +8 -8
- package/dist/_node-chunks/{p-limit-FUCNYEPH.js → p-limit-4O7U7LDT.js} +7 -7
- package/dist/_node-chunks/{run-IMLNIH5A.js → run-CB6VWOP5.js} +34 -33
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-ZB3ODDN7.js +0 -11
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PPJZYZ2N.js";
|
|
15
|
+
import "./chunk-SAXD5BZD.js";
|
|
16
|
+
import "./chunk-DPZGHZ75.js";
|
|
17
|
+
import "./chunk-NIYUTPLQ.js";
|
|
18
|
+
import "./chunk-XFDWCBNL.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-dependencies-versions.ts
|
|
21
21
|
import { dedent } from "ts-dedent";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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-DPZGHZ75.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NIYUTPLQ.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XFDWCBNL.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-experimental-addon-test.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
package/dist/_node-chunks/{block-major-version-LT4LUM27.js → block-major-version-AHFNSJ7J.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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-DPZGHZ75.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NIYUTPLQ.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XFDWCBNL.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-major-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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-DPZGHZ75.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NIYUTPLQ.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XFDWCBNL.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-node-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PPJZYZ2N.js";
|
|
15
|
+
import "./chunk-SAXD5BZD.js";
|
|
16
|
+
import "./chunk-DPZGHZ75.js";
|
|
17
|
+
import "./chunk-NIYUTPLQ.js";
|
|
18
|
+
import "./chunk-XFDWCBNL.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
21
21
|
var minimalVersionsMap = {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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-XFDWCBNL.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,14 +12,14 @@ var require = CJS_COMPAT_NODE_MODULE_rd7b1foxok.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SAXD5BZD.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NIYUTPLQ.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XFDWCBNL.js";
|
|
23
23
|
|
|
24
24
|
// ../../../node_modules/picocolors/picocolors.js
|
|
25
25
|
var require_picocolors = __commonJS({
|
|
@@ -122,11 +122,11 @@ var import_picocolors2 = __toESM(require_picocolors(), 1), import_semver = __toE
|
|
|
122
122
|
// src/autoblock/index.ts
|
|
123
123
|
var blockers = () => [
|
|
124
124
|
// add/remove blockers here
|
|
125
|
-
import("./block-dependencies-versions-
|
|
126
|
-
import("./block-node-version-
|
|
127
|
-
import("./block-webpack5-frameworks-
|
|
128
|
-
import("./block-major-version-
|
|
129
|
-
import("./block-experimental-addon-test-
|
|
125
|
+
import("./block-dependencies-versions-FDXJ7V25.js"),
|
|
126
|
+
import("./block-node-version-6YWUGFKH.js"),
|
|
127
|
+
import("./block-webpack5-frameworks-IQHXHUCG.js"),
|
|
128
|
+
import("./block-major-version-AHFNSJ7J.js"),
|
|
129
|
+
import("./block-experimental-addon-test-U4OFA5XR.js")
|
|
130
130
|
], autoblock = async (options, list = blockers()) => list.length === 0 ? null : await Promise.all(
|
|
131
131
|
list.map(async (i) => {
|
|
132
132
|
let blocker = (await i).blocker;
|
|
@@ -340,7 +340,7 @@ var processProject = async ({
|
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
343
|
-
let { default: pLimit } = await import("./p-limit-
|
|
343
|
+
let { default: pLimit } = await import("./p-limit-4O7U7LDT.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
344
344
|
(configDir) => limit(
|
|
345
345
|
() => processProject({
|
|
346
346
|
configDir,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XFDWCBNL.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/fast-glob/out/utils/array.js
|
|
19
19
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
isGitIgnoredSync,
|
|
22
22
|
isIgnoredByIgnoreFiles,
|
|
23
23
|
isIgnoredByIgnoreFilesSync
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-SAXD5BZD.js";
|
|
25
|
+
import "./chunk-XFDWCBNL.js";
|
|
26
26
|
export {
|
|
27
27
|
convertPathToPattern,
|
|
28
28
|
generateGlobTasks,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.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-XFDWCBNL.js";
|
|
13
13
|
|
|
14
14
|
// ../../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -25,18 +25,18 @@ import {
|
|
|
25
25
|
shortenPath,
|
|
26
26
|
updateMainConfig,
|
|
27
27
|
upgradeStorybookDependencies
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PPJZYZ2N.js";
|
|
29
29
|
import {
|
|
30
30
|
slash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SAXD5BZD.js";
|
|
32
32
|
import {
|
|
33
33
|
require_semver
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NIYUTPLQ.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__require,
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XFDWCBNL.js";
|
|
40
40
|
|
|
41
41
|
// ../../../node_modules/envinfo/dist/envinfo.js
|
|
42
42
|
var require_envinfo = __commonJS({
|
|
@@ -4712,7 +4712,7 @@ import { globalSettings } from "storybook/internal/cli";
|
|
|
4712
4712
|
import {
|
|
4713
4713
|
HandledError as HandledError2,
|
|
4714
4714
|
JsPackageManagerFactory as JsPackageManagerFactory3,
|
|
4715
|
-
PackageManagerName as
|
|
4715
|
+
PackageManagerName as PackageManagerName3,
|
|
4716
4716
|
isCI as isCI2,
|
|
4717
4717
|
optionalEnvToBoolean as optionalEnvToBoolean3,
|
|
4718
4718
|
removeAddon as remove,
|
|
@@ -4761,7 +4761,7 @@ function leven(first, second, options) {
|
|
|
4761
4761
|
var import_picocolors16 = __toESM(require_picocolors(), 1);
|
|
4762
4762
|
|
|
4763
4763
|
// package.json
|
|
4764
|
-
var version = "10.3.
|
|
4764
|
+
var version = "10.3.1";
|
|
4765
4765
|
|
|
4766
4766
|
// src/add.ts
|
|
4767
4767
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -5625,7 +5625,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
5625
5625
|
import { promises as fs } from "fs";
|
|
5626
5626
|
var maxConcurrentTasks = Math.max(1, os.cpus().length - 1);
|
|
5627
5627
|
async function runCodemod(globPattern = "**/*.{stories,story}.{js,jsx,ts,tsx,mjs,mjsx,mts,mtsx}", transform, { dryRun = !1, skipFormatting = !1 } = {}) {
|
|
5628
|
-
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-
|
|
5628
|
+
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-7AE4B73Q.js"), files = await globby(slash(globPattern), {
|
|
5629
5629
|
followSymbolicLinks: !0,
|
|
5630
5630
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
5631
5631
|
});
|
|
@@ -5636,7 +5636,7 @@ Please try a different pattern.
|
|
|
5636
5636
|
`
|
|
5637
5637
|
), new Error("No files matched");
|
|
5638
5638
|
try {
|
|
5639
|
-
let pLimit = (await import("./p-limit-
|
|
5639
|
+
let pLimit = (await import("./p-limit-4O7U7LDT.js")).default, limit = pLimit(maxConcurrentTasks);
|
|
5640
5640
|
await Promise.all(
|
|
5641
5641
|
files.map(
|
|
5642
5642
|
(file) => limit(async () => {
|
|
@@ -6467,7 +6467,7 @@ var addonA11yParameters = {
|
|
|
6467
6467
|
errors.push({ file: previewFileToUpdate, error });
|
|
6468
6468
|
}
|
|
6469
6469
|
}
|
|
6470
|
-
let { default: pLimit } = await import("./p-limit-
|
|
6470
|
+
let { default: pLimit } = await import("./p-limit-4O7U7LDT.js"), limit = pLimit(10);
|
|
6471
6471
|
if (await Promise.all(
|
|
6472
6472
|
storyFilesToUpdate.map(
|
|
6473
6473
|
(file) => limit(async () => {
|
|
@@ -6621,7 +6621,7 @@ var addonGlobalsApi = {
|
|
|
6621
6621
|
}
|
|
6622
6622
|
};
|
|
6623
6623
|
async function transformStoryFiles(files, options, dryRun) {
|
|
6624
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
6624
|
+
let errors = [], { default: pLimit } = await import("./p-limit-4O7U7LDT.js"), limit = pLimit(10);
|
|
6625
6625
|
return await Promise.all(
|
|
6626
6626
|
files.map(
|
|
6627
6627
|
(file) => limit(async () => {
|
|
@@ -6813,7 +6813,7 @@ function transformPackageJson(content) {
|
|
|
6813
6813
|
return hasChanges ? JSON.stringify(packageJson, null, 2) : null;
|
|
6814
6814
|
}
|
|
6815
6815
|
var transformPackageJsonFiles = async (files, dryRun) => {
|
|
6816
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
6816
|
+
let errors = [], { default: pLimit } = await import("./p-limit-4O7U7LDT.js"), limit = pLimit(10);
|
|
6817
6817
|
return await Promise.all(
|
|
6818
6818
|
files.map(
|
|
6819
6819
|
(file) => limit(async () => {
|
|
@@ -6852,7 +6852,7 @@ var transformPackageJsonFiles = async (files, dryRun) => {
|
|
|
6852
6852
|
dryRun
|
|
6853
6853
|
);
|
|
6854
6854
|
errors.push(...packageJsonErrors);
|
|
6855
|
-
let { globby } = await import("./globby-
|
|
6855
|
+
let { globby } = await import("./globby-7AE4B73Q.js"), configFiles = await globby([`${configDir}/**/*`]), importErrors = await transformImportFiles(
|
|
6856
6856
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
6857
6857
|
{
|
|
6858
6858
|
...consolidatedPackages,
|
|
@@ -7205,7 +7205,7 @@ var VITE_DEFAULT_VERSION = "^7.0.0", transformMainConfig = async (mainConfigPath
|
|
|
7205
7205
|
]);
|
|
7206
7206
|
}
|
|
7207
7207
|
mainConfigPath && (logger11.debug("Updating main config file..."), await transformMainConfig(mainConfigPath, dryRun)), logger11.debug("Scanning and updating import statements...");
|
|
7208
|
-
let { globby } = await import("./globby-
|
|
7208
|
+
let { globby } = await import("./globby-7AE4B73Q.js"), configFiles = await globby([`${configDir}/**/*`]), allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles2(
|
|
7209
7209
|
allFiles,
|
|
7210
7210
|
{
|
|
7211
7211
|
"@storybook/nextjs": "@storybook/nextjs-vite"
|
|
@@ -7415,7 +7415,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
7415
7415
|
let regex = new RegExp(`(['"])${renderer}(['"])`, "g");
|
|
7416
7416
|
return regex.test(source) ? source.replace(regex, `$1${framework}$2`) : null;
|
|
7417
7417
|
}, transformSourceFiles = async (files, renderer, framework, dryRun) => {
|
|
7418
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
7418
|
+
let errors = [], { default: pLimit } = await import("./p-limit-4O7U7LDT.js"), limit = pLimit(10);
|
|
7419
7419
|
return await Promise.all(
|
|
7420
7420
|
files.map(
|
|
7421
7421
|
(file) => limit(async () => {
|
|
@@ -7482,7 +7482,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
7482
7482
|
continue;
|
|
7483
7483
|
logger13.debug(`
|
|
7484
7484
|
Migrating ${rendererPackage} to ${selectedFramework}`);
|
|
7485
|
-
let { globby } = await import("./globby-
|
|
7485
|
+
let { globby } = await import("./globby-7AE4B73Q.js"), configFiles = await globby([`${configDir}/**/*`]);
|
|
7486
7486
|
await transformSourceFiles(
|
|
7487
7487
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
7488
7488
|
rendererPackage,
|
|
@@ -7512,7 +7512,7 @@ async function renameInFile(filePath, oldText, newText) {
|
|
|
7512
7512
|
}
|
|
7513
7513
|
var getDotStorybookReferences = async (searchDir) => {
|
|
7514
7514
|
try {
|
|
7515
|
-
let { globby } = await import("./globby-
|
|
7515
|
+
let { globby } = await import("./globby-7AE4B73Q.js"), { readFile: readFile10 } = await import("node:fs/promises"), files = await globby(`${searchDir}/**/*`, {
|
|
7516
7516
|
onlyFiles: !0,
|
|
7517
7517
|
gitignore: !0
|
|
7518
7518
|
}), referencedFiles = [];
|
|
@@ -7533,7 +7533,7 @@ var getDotStorybookReferences = async (searchDir) => {
|
|
|
7533
7533
|
async check({ packageManager, mainConfigPath }) {
|
|
7534
7534
|
if (!packageManager.getAllDependencies()["@storybook/react-native"])
|
|
7535
7535
|
return null;
|
|
7536
|
-
let projectDir = mainConfigPath ? join2(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join2(projectDir, ".storybook"), rnStorybookDir = join2(projectDir, ".rnstorybook"), { globby } = await import("./globby-
|
|
7536
|
+
let projectDir = mainConfigPath ? join2(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join2(projectDir, ".storybook"), rnStorybookDir = join2(projectDir, ".rnstorybook"), { globby } = await import("./globby-7AE4B73Q.js"), requiresFiles = await globby(join2(storybookDir, "storybook.requires.*"));
|
|
7537
7537
|
return existsSync2(storybookDir) && requiresFiles.length > 0 && !existsSync2(rnStorybookDir) ? { storybookDir, rnStorybookDir } : null;
|
|
7538
7538
|
},
|
|
7539
7539
|
prompt() {
|
|
@@ -8039,6 +8039,7 @@ var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
|
8039
8039
|
import { existsSync as existsSync3 } from "node:fs";
|
|
8040
8040
|
import { mkdir as mkdir2, readdir, rm } from "node:fs/promises";
|
|
8041
8041
|
import { isAbsolute as isAbsolute2 } from "node:path";
|
|
8042
|
+
import { PackageManagerName } from "storybook/internal/common";
|
|
8042
8043
|
import {
|
|
8043
8044
|
JsPackageManagerFactory,
|
|
8044
8045
|
isCI,
|
|
@@ -8954,8 +8955,8 @@ var toChoices = (c) => ({ label: allTemplates[c].name, value: c }), sandbox = as
|
|
|
8954
8955
|
init,
|
|
8955
8956
|
...options
|
|
8956
8957
|
}) => {
|
|
8957
|
-
let selectedConfig = allTemplates[filterValue], templateId = selectedConfig ? filterValue : null,
|
|
8958
|
-
force:
|
|
8958
|
+
let selectedConfig = allTemplates[filterValue], templateId = selectedConfig ? filterValue : null, packageManager = JsPackageManagerFactory.getPackageManager({
|
|
8959
|
+
force: PackageManagerName.NPM
|
|
8959
8960
|
}), latestVersion = await packageManager.latestVersion("storybook"), nextVersion = await packageManager.latestVersion("storybook@next") ?? "0.0.0", currentVersion = versions4.storybook, isPrerelease = (0, import_semver6.prerelease)(currentVersion), isOutdated = (0, import_semver6.lt)(currentVersion, isPrerelease ? nextVersion : latestVersion), downloadType = !isOutdated && init ? "after-storybook" : "before-storybook", branch = isPrerelease ? "next" : "main", messages2 = {
|
|
8960
8961
|
welcome: `Creating a Storybook ${import_picocolors14.default.bold(currentVersion)} sandbox..`,
|
|
8961
8962
|
notLatest: import_picocolors14.default.red(dedent14`
|
|
@@ -9088,7 +9089,7 @@ async function promptSelectedTemplate(choices) {
|
|
|
9088
9089
|
|
|
9089
9090
|
// src/upgrade.ts
|
|
9090
9091
|
var import_cross_spawn3 = __toESM(require_cross_spawn(), 1), import_picocolors15 = __toESM(require_picocolors(), 1), import_semver7 = __toESM(require_semver(), 1);
|
|
9091
|
-
import { PackageManagerName } from "storybook/internal/common";
|
|
9092
|
+
import { PackageManagerName as PackageManagerName2 } from "storybook/internal/common";
|
|
9092
9093
|
import { HandledError, JsPackageManagerFactory as JsPackageManagerFactory2, isCorePackage as isCorePackage2 } from "storybook/internal/common";
|
|
9093
9094
|
import {
|
|
9094
9095
|
CLI_COLORS as CLI_COLORS4,
|
|
@@ -9527,7 +9528,7 @@ Upgrade interrupted by user.`), allProjects.length > 1 && await sendMultiUpgrade
|
|
|
9527
9528
|
storybookProjects,
|
|
9528
9529
|
options
|
|
9529
9530
|
), rootPackageManager = storybookProjects.length > 1 ? JsPackageManagerFactory2.getPackageManager({ force: options.packageManager }) : storybookProjects[0].packageManager;
|
|
9530
|
-
rootPackageManager.type === "npm" ? await rootPackageManager.installDependencies({ force: !0 }) : await rootPackageManager.installDependencies(), rootPackageManager.type !==
|
|
9531
|
+
rootPackageManager.type === "npm" ? await rootPackageManager.installDependencies({ force: !0 }) : await rootPackageManager.installDependencies(), rootPackageManager.type !== PackageManagerName2.YARN1 && rootPackageManager.isStorybookInMonorepo() && (logger21.warn(
|
|
9531
9532
|
"Since you are in a monorepo, we advise you to deduplicate your dependencies. We can do this for you but it might take some time."
|
|
9532
9533
|
), options.yes || await prompt6.confirm({
|
|
9533
9534
|
message: `Execute ${rootPackageManager.getRunCommand("dedupe")}?`,
|
|
@@ -9613,7 +9614,7 @@ var handleCommandFailure = (logFilePath) => async (error) => {
|
|
|
9613
9614
|
});
|
|
9614
9615
|
command("init").description("Initialize Storybook into your project").option("-f --force", "Force add Storybook").option("-s --skip-install", "Skip installing deps").addOption(
|
|
9615
9616
|
new Option("--package-manager <type>", "Force package manager for installing deps").choices(
|
|
9616
|
-
Object.values(
|
|
9617
|
+
Object.values(PackageManagerName3)
|
|
9617
9618
|
)
|
|
9618
9619
|
).option("--use-pnp", "Enable PnP mode for Yarn 2+").option("-p --parser <babel | babylon | flow | ts | tsx>", "jscodeshift parser").option("-t --type <type>", "Add Storybook for a specific project type").option("-y --yes", "Answer yes to all prompts").option("-b --builder <webpack5 | vite>", "Builder library").option("-l --linkable", "Prepare installation for link (contributor helper)").option(
|
|
9619
9620
|
"--dev",
|
|
@@ -9625,7 +9626,7 @@ command("init").description("Initialize Storybook into your project").option("-f
|
|
|
9625
9626
|
);
|
|
9626
9627
|
command("add <addon>").description("Add an addon to your Storybook").addOption(
|
|
9627
9628
|
new Option("--package-manager <type>", "Force package manager for installing deps").choices(
|
|
9628
|
-
Object.values(
|
|
9629
|
+
Object.values(PackageManagerName3)
|
|
9629
9630
|
)
|
|
9630
9631
|
).option("-c, --config-dir <dir-name>", "Directory where to load Storybook configurations from").option("--skip-install", "Skip installing deps").option("-s --skip-postinstall", "Skip package specific postinstall config modifications").option("-y --yes", "Skip prompting the user").option("--skip-doctor", "Skip doctor check").action((addonName, options) => {
|
|
9631
9632
|
withTelemetry("add", { cliOptions: options }, async () => {
|
|
@@ -9634,7 +9635,7 @@ command("add <addon>").description("Add an addon to your Storybook").addOption(
|
|
|
9634
9635
|
});
|
|
9635
9636
|
command("remove <addon>").description("Remove an addon from your Storybook").addOption(
|
|
9636
9637
|
new Option("--package-manager <type>", "Force package manager for installing deps").choices(
|
|
9637
|
-
Object.values(
|
|
9638
|
+
Object.values(PackageManagerName3)
|
|
9638
9639
|
)
|
|
9639
9640
|
).option("-c, --config-dir <dir-name>", "Directory where to load Storybook configurations from").option("-s --skip-install", "Skip installing deps").action(
|
|
9640
9641
|
(addonName, options) => withTelemetry("remove", { cliOptions: options }, async () => {
|
|
@@ -9652,7 +9653,7 @@ command("remove <addon>").description("Remove an addon from your Storybook").add
|
|
|
9652
9653
|
);
|
|
9653
9654
|
command("upgrade").description(`Upgrade your Storybook packages to v${versions5.storybook}`).addOption(
|
|
9654
9655
|
new Option("--package-manager <type>", "Force package manager for installing deps").choices(
|
|
9655
|
-
Object.values(
|
|
9656
|
+
Object.values(PackageManagerName3)
|
|
9656
9657
|
)
|
|
9657
9658
|
).option("-y --yes", "Skip prompting the user").option("-f --force", "force the upgrade, skipping autoblockers").option("-n --dry-run", "Only check for upgrades, do not install").option("-s --skip-check", "Skip postinstall version and automigration checks").option(
|
|
9658
9659
|
"-c, --config-dir <dir-name...>",
|
|
@@ -9704,7 +9705,7 @@ command("link <repo-url-or-directory>").description("Pull down a repro from a UR
|
|
|
9704
9705
|
);
|
|
9705
9706
|
command("automigrate [fixId]").description("Check storybook for incompatibilities or migrations and apply fixes").option("-y --yes", "Skip prompting the user").option("-n --dry-run", "Only check for fixes, do not actually run them").addOption(
|
|
9706
9707
|
new Option("--package-manager <type>", "Force package manager for installing deps").choices(
|
|
9707
|
-
Object.values(
|
|
9708
|
+
Object.values(PackageManagerName3)
|
|
9708
9709
|
)
|
|
9709
9710
|
).option("-l --list", "List available migrations").option("-c, --config-dir <dir-name>", "Directory of Storybook configurations to migrate").option("-s --skip-install", "Skip installing deps").option(
|
|
9710
9711
|
"--renderer <renderer-pkg-name>",
|
|
@@ -9716,7 +9717,7 @@ command("automigrate [fixId]").description("Check storybook for incompatibilitie
|
|
|
9716
9717
|
});
|
|
9717
9718
|
command("doctor").description("Check Storybook for known problems and provide suggestions or fixes").addOption(
|
|
9718
9719
|
new Option("--package-manager <type>", "Force package manager for installing deps").choices(
|
|
9719
|
-
Object.values(
|
|
9720
|
+
Object.values(PackageManagerName3)
|
|
9720
9721
|
)
|
|
9721
9722
|
).option("-c, --config-dir <dir-name>", "Directory of Storybook configuration").action(async (options) => {
|
|
9722
9723
|
withTelemetry("doctor", { cliOptions: options }, async () => {
|
package/dist/bin/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_1u8cvf8av76 from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_1u8cvf8av76 from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_1u8cvf8av76 from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_1u8cvf8av76.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1u8cvf8av76.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_1u8cvf8av76.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -19,4 +19,4 @@ var [majorNodeVersion, minorNodeVersion] = process.versions.node.split(".").map(
|
|
|
19
19
|
dedent`To run Storybook, you need Node.js version 20.19+ or 22.12+.
|
|
20
20
|
You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
|
|
21
21
|
), process.exit(1));
|
|
22
|
-
import("../_node-chunks/run-
|
|
22
|
+
import("../_node-chunks/run-CB6VWOP5.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.1",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"!src/**/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@storybook/codemod": "10.3.
|
|
40
|
+
"@storybook/codemod": "10.3.1",
|
|
41
41
|
"@types/semver": "^7.7.1",
|
|
42
42
|
"commander": "^14.0.2",
|
|
43
|
-
"create-storybook": "10.3.
|
|
43
|
+
"create-storybook": "10.3.1",
|
|
44
44
|
"jscodeshift": "^0.15.1",
|
|
45
|
-
"storybook": "10.3.
|
|
45
|
+
"storybook": "10.3.1",
|
|
46
46
|
"ts-dedent": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_rd7b1foxok from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_rd7b1foxok from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_rd7b1foxok from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_rd7b1foxok.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_rd7b1foxok.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_rd7b1foxok.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|