storybook 10.0.0-rc.3 → 10.0.0
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/{builder-manager-NIOGGLFD.js → builder-manager-IIQ2ZKJA.js} +12 -12
- package/dist/_node-chunks/camelcase-KNOP6IZN.js +18 -0
- package/dist/_node-chunks/{chunk-34ZACDOC.js → chunk-2EZNWWOJ.js} +10 -10
- package/dist/_node-chunks/{chunk-EOW64HJZ.js → chunk-3QAI2NJJ.js} +12 -12
- package/dist/_node-chunks/{chunk-VHDA7UQR.js → chunk-5KVCO3KO.js} +8 -8
- package/dist/_node-chunks/{chunk-QPB4P2Q3.js → chunk-5Q637AKX.js} +7 -7
- package/dist/_node-chunks/{chunk-VDVDOBNV.js → chunk-6RHAE6RA.js} +7 -7
- package/dist/_node-chunks/{chunk-CTMEFFNW.js → chunk-6WZTLCEA.js} +8 -8
- package/dist/_node-chunks/{chunk-TLUDPMLR.js → chunk-7ETUBLPB.js} +8 -8
- package/dist/_node-chunks/{chunk-EDGA22VS.js → chunk-7FGNXYYL.js} +7 -7
- package/dist/_node-chunks/{chunk-JYCXWPO6.js → chunk-7I57UDPV.js} +7 -7
- package/dist/_node-chunks/chunk-AHEMORUT.js +18 -0
- package/dist/_node-chunks/{chunk-OAP27YU5.js → chunk-AM7YMYAG.js} +8 -8
- package/dist/_node-chunks/{chunk-AZH4HEPP.js → chunk-APCF6BLC.js} +20 -20
- package/dist/_node-chunks/{chunk-HGZID3CI.js → chunk-AWLJD6QV.js} +7 -7
- package/dist/_node-chunks/{chunk-5WPK6ACG.js → chunk-B2ETRD4V.js} +7 -7
- package/dist/_node-chunks/{chunk-WE7755VW.js → chunk-CXVGTDVQ.js} +34 -35
- package/dist/_node-chunks/{chunk-AF3TJ6R5.js → chunk-DHMCBBKY.js} +7 -7
- package/dist/_node-chunks/{chunk-5ZVI7NBO.js → chunk-HT6COHEU.js} +7 -7
- package/dist/_node-chunks/{chunk-FUCVPILC.js → chunk-IJ4AICLD.js} +9 -9
- package/dist/_node-chunks/{chunk-ML3GTXPM.js → chunk-ILHIUEFN.js} +6 -6
- package/dist/_node-chunks/{chunk-6PQVBT5D.js → chunk-J5PEW6E3.js} +7 -7
- package/dist/_node-chunks/{chunk-I37OZGFX.js → chunk-KH6JWU3Y.js} +7 -7
- package/dist/_node-chunks/{chunk-3SEBVSWT.js → chunk-L5S66L55.js} +7 -7
- package/dist/_node-chunks/{chunk-G5VN3ASC.js → chunk-NP4JBQ6Q.js} +7 -7
- package/dist/_node-chunks/{chunk-WRCI3EYU.js → chunk-PSD72R5Z.js} +7 -7
- package/dist/_node-chunks/{chunk-NSYINCG4.js → chunk-V44UUFGH.js} +7 -7
- package/dist/_node-chunks/chunk-VXV63T56.js +61 -0
- package/dist/_node-chunks/{chunk-KUXWX4RV.js → chunk-W6GXL2JC.js} +12 -12
- package/dist/_node-chunks/{chunk-CUEWGHOL.js → chunk-W7DCZC64.js} +6 -6
- package/dist/_node-chunks/{chunk-XFBFSXFJ.js → chunk-WOYNIIQY.js} +8 -8
- package/dist/_node-chunks/{chunk-XA5ZNWSM.js → chunk-XZCC7ABZ.js} +7 -7
- package/dist/_node-chunks/{chunk-R2FDNWFD.js → chunk-YDJVCYQJ.js} +9 -9
- package/dist/_node-chunks/{chunk-WSINFVEL.js → chunk-Z3LDC56S.js} +7 -7
- package/dist/_node-chunks/{chunk-SZ6FXTRU.js → chunk-ZECOO72W.js} +7 -7
- package/dist/_node-chunks/{dist-SXAIWZGI.js → dist-WL6RBQNY.js} +9 -9
- package/dist/_node-chunks/{globby-W4JFDHUY.js → globby-EMY2E3I3.js} +9 -9
- package/dist/_node-chunks/{lib-PMWBRG3N.js → lib-4ETZCPCM.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-IVVYYMYF.js → mdx-N42X6CFJ-UMV2MWTH.js} +8 -8
- package/dist/_node-chunks/{p-limit-PE5BWDZH.js → p-limit-UIVLT5UF.js} +7 -7
- package/dist/_node-chunks/{plugin-OGRBN4O7.js → plugin-PZH4HK5Z.js} +10 -10
- package/dist/_node-chunks/{plugin-ZVWKMXMK.js → plugin-UITTSLCA.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-SXMOGYNE.js → webpack-inject-mocker-runtime-plugin-G75H5TZH.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-X64FENVZ.js → webpack-mock-plugin-FK73ABOQ.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +37 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +38 -26
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf-tools/index.js +9 -9
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/globals-runtime.js +2 -2
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/node-logger/index.js +14 -14
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.d.ts +21 -1
- package/dist/telemetry/index.js +24 -24
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-CTANPQBN.js +0 -18
- package/dist/_node-chunks/chunk-UQKRSNK7.js +0 -61
- package/dist/_node-chunks/chunk-XC2HC4KH.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ILHIUEFN.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PSD72R5Z.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AM7YMYAG.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DHMCBBKY.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KH6JWU3Y.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__esm,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
__require,
|
|
37
37
|
__toCommonJS,
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-W7DCZC64.js";
|
|
40
40
|
|
|
41
41
|
// ../node_modules/tslib/tslib.es6.mjs
|
|
42
42
|
var tslib_es6_exports = {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
camelCase
|
|
14
|
+
} from "./chunk-J5PEW6E3.js";
|
|
15
|
+
import "./chunk-W7DCZC64.js";
|
|
16
|
+
export {
|
|
17
|
+
camelCase as default
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
15
|
+
} from "./chunk-7FGNXYYL.js";
|
|
16
16
|
import {
|
|
17
17
|
require_lib,
|
|
18
18
|
require_src
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V44UUFGH.js";
|
|
20
20
|
import {
|
|
21
21
|
require_picocolors
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-B2ETRD4V.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__name,
|
|
26
26
|
__require,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-W7DCZC64.js";
|
|
29
29
|
|
|
30
30
|
// ../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
31
31
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
15
|
+
} from "./chunk-Z3LDC56S.js";
|
|
16
16
|
import {
|
|
17
17
|
invariant
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HT6COHEU.js";
|
|
19
19
|
import {
|
|
20
20
|
resolvePackageDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AM7YMYAG.js";
|
|
22
22
|
import {
|
|
23
23
|
require_prompts
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NP4JBQ6Q.js";
|
|
25
25
|
import {
|
|
26
26
|
require_picocolors
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-B2ETRD4V.js";
|
|
28
28
|
import {
|
|
29
29
|
__name,
|
|
30
30
|
__toESM
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-W7DCZC64.js";
|
|
32
32
|
|
|
33
33
|
// src/cli/project_types.ts
|
|
34
34
|
import { minVersion, validRange } from "semver";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
19
|
+
} from "./chunk-DHMCBBKY.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-W7DCZC64.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/mocking-utils/resolve.ts
|
|
25
25
|
import { readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
14
|
+
} from "./chunk-W7DCZC64.js";
|
|
15
15
|
|
|
16
16
|
// src/telemetry/event-cache.ts
|
|
17
17
|
import { cache } from "storybook/internal/common";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
14
|
+
} from "./chunk-W7DCZC64.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
17
17
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-L5S66L55.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W7DCZC64.js";
|
|
19
19
|
|
|
20
20
|
// src/csf-tools/CsfFile.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-L5S66L55.js";
|
|
15
15
|
import {
|
|
16
16
|
__export,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-W7DCZC64.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W7DCZC64.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js
|
|
18
18
|
var require_resolve_uri_umd = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
16
|
+
} from "./chunk-W7DCZC64.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/picomatch/lib/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.0.0";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
15
|
+
} from "./chunk-DHMCBBKY.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W7DCZC64.js";
|
|
19
19
|
|
|
20
20
|
// ../node_modules/exsolve/dist/index.mjs
|
|
21
21
|
import fs, { realpathSync, statSync, lstatSync } from "node:fs";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AHEMORUT.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
resolvePathInStorybookCache,
|
|
18
18
|
up
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CXVGTDVQ.js";
|
|
20
20
|
import {
|
|
21
21
|
globalSettings
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7ETUBLPB.js";
|
|
23
23
|
import {
|
|
24
24
|
execaCommand,
|
|
25
25
|
getProjectRoot
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IJ4AICLD.js";
|
|
27
27
|
import {
|
|
28
28
|
getSessionId,
|
|
29
29
|
nanoid,
|
|
30
30
|
set
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5Q637AKX.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePackageDir
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AM7YMYAG.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KH6JWU3Y.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-B2ETRD4V.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-W7DCZC64.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -1164,16 +1164,16 @@ var telemetry = /* @__PURE__ */ __name(async (eventType, payload = {}, options =
|
|
|
1164
1164
|
telemetryData.metadata = await getStorybookMetadata(options?.configDir);
|
|
1165
1165
|
}
|
|
1166
1166
|
} catch (error) {
|
|
1167
|
-
|
|
1167
|
+
payload.metadataErrorMessage = sanitizeError(error).message;
|
|
1168
1168
|
if (options?.enableCrashReports) {
|
|
1169
|
-
|
|
1169
|
+
payload.metadataError = sanitizeError(error);
|
|
1170
1170
|
}
|
|
1171
1171
|
} finally {
|
|
1172
|
-
const { error } =
|
|
1172
|
+
const { error } = payload;
|
|
1173
1173
|
if (error) {
|
|
1174
|
-
|
|
1174
|
+
payload.error = sanitizeError(error);
|
|
1175
1175
|
}
|
|
1176
|
-
if (!
|
|
1176
|
+
if (!payload.error || options?.enableCrashReports) {
|
|
1177
1177
|
if (process.env?.STORYBOOK_TELEMETRY_DEBUG) {
|
|
1178
1178
|
logger2.info("\n[telemetry]");
|
|
1179
1179
|
logger2.info(JSON.stringify(telemetryData, null, 2));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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-
|
|
15
|
+
} from "./chunk-W7DCZC64.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_5r9jbklbg3s from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_5r9jbklbg3s from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_5r9jbklbg3s from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_5r9jbklbg3s.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_5r9jbklbg3s.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_5r9jbklbg3s.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
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W7DCZC64.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|