storybook 10.0.0-beta.12 → 10.0.0-beta.13
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-OSSM4NWE.js → builder-manager-L3MZVMZ5.js} +12 -12
- package/dist/_node-chunks/camelcase-SBGRHZU6.js +18 -0
- package/dist/_node-chunks/{chunk-P4A5LSOL.js → chunk-2PVUQY5V.js} +7 -7
- package/dist/_node-chunks/{chunk-ZC7MGMUM.js → chunk-66ENUZM3.js} +9 -9
- package/dist/_node-chunks/{chunk-VILCWP7X.js → chunk-6EM7SHCK.js} +7 -7
- package/dist/_node-chunks/{chunk-HMQ4V7Z5.js → chunk-6R3ENJUF.js} +7 -7
- package/dist/_node-chunks/{chunk-L66JUN4K.js → chunk-A4LTSGWA.js} +7 -7
- package/dist/_node-chunks/{chunk-PZKOFPBC.js → chunk-AWXGSZGM.js} +8 -8
- package/dist/_node-chunks/{chunk-Q7TTM3CS.js → chunk-BM3XDPHW.js} +12 -12
- package/dist/_node-chunks/{chunk-6TWKDGVL.js → chunk-CE25WRUD.js} +7 -7
- package/dist/_node-chunks/{chunk-CMSO5CKP.js → chunk-CKZNJYLM.js} +8 -8
- package/dist/_node-chunks/{chunk-XZM5EEGR.js → chunk-EIAGLK2S.js} +9 -9
- package/dist/_node-chunks/{chunk-X2GOBKPX.js → chunk-EJX3QGDP.js} +26 -24
- package/dist/_node-chunks/{chunk-D6Y5ILYC.js → chunk-ETYXUFUN.js} +6 -6
- package/dist/_node-chunks/{chunk-FEYCLHUC.js → chunk-H3OKFQ7Y.js} +7 -7
- package/dist/_node-chunks/chunk-H7H5VH4N.js +18 -0
- package/dist/_node-chunks/{chunk-C5A5EHZD.js → chunk-KBIRRRF3.js} +7 -7
- package/dist/_node-chunks/{chunk-LNJG27QP.js → chunk-KHRYPC5C.js} +7 -7
- package/dist/_node-chunks/{chunk-P52J67ZF.js → chunk-MJUX6QTP.js} +7 -7
- package/dist/_node-chunks/{chunk-FIQDWC46.js → chunk-NR3HISO5.js} +7 -7
- package/dist/_node-chunks/{chunk-O6PZSYDR.js → chunk-OCVLGT5T.js} +8 -8
- package/dist/_node-chunks/chunk-OGLI2H2L.js +61 -0
- package/dist/_node-chunks/{chunk-LLYQYHE5.js → chunk-OJHR3DEG.js} +8 -8
- package/dist/_node-chunks/{chunk-ZBLA36L3.js → chunk-ROPO5JHR.js} +7 -7
- package/dist/_node-chunks/{chunk-LGYIF62P.js → chunk-RQM73BBF.js} +7 -7
- package/dist/_node-chunks/{chunk-B5SKO5PI.js → chunk-TZLQJVUQ.js} +7 -7
- package/dist/_node-chunks/{chunk-E37BDCHA.js → chunk-VV7UYTM2.js} +6 -6
- package/dist/_node-chunks/{chunk-VYLAKHZ4.js → chunk-VWAQR7SK.js} +7 -7
- package/dist/_node-chunks/{chunk-FHECLS7O.js → chunk-VWDE4KGF.js} +7 -7
- package/dist/_node-chunks/{chunk-QEKKJKST.js → chunk-WONPUF7K.js} +8 -8
- package/dist/_node-chunks/{chunk-QVJTCLCM.js → chunk-XFXHZ5JF.js} +14 -14
- package/dist/_node-chunks/{chunk-55DIS7QM.js → chunk-XIGLO64N.js} +10 -10
- package/dist/_node-chunks/{chunk-WCTWPKT5.js → chunk-YQWCYFNY.js} +7 -7
- package/dist/_node-chunks/{dist-MU5GUPNX.js → dist-4LTP5352.js} +9 -9
- package/dist/_node-chunks/{globby-O76AC2B6.js → globby-YL2WN4IM.js} +9 -9
- package/dist/_node-chunks/{lib-LNU5U5LQ.js → lib-H6VRT3L6.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-XEA2YCLC.js → mdx-N42X6CFJ-PUU6DJRU.js} +8 -8
- package/dist/_node-chunks/{p-limit-YQHFHRN5.js → p-limit-B4XGNEDI.js} +7 -7
- package/dist/_node-chunks/{plugin-I6VO7Z4N.js → plugin-FTK7LQSU.js} +10 -10
- package/dist/_node-chunks/{plugin-W2OFPK2T.js → plugin-WPIGKPJE.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-M3ZKBWSR.js → webpack-inject-mocker-runtime-plugin-ZVJPX75F.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-PU6SBAYY.js → webpack-mock-plugin-BYKVULFT.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 +20 -20
- package/dist/common/index.d.ts +0 -1
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +34 -34
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +22 -22
- 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/manager/globals-runtime.js +1 -1
- 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-api/index.d.ts +68 -67
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-GGFG4KN6.js +0 -18
- package/dist/_node-chunks/chunk-Q3KIVM64.js +0 -18
- package/dist/_node-chunks/chunk-WV6BPXST.js +0 -62
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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-ETYXUFUN.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/yocto-queue/index.js
|
|
17
17
|
var Node = class {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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
|
getAutomockCode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NR3HISO5.js";
|
|
15
15
|
import {
|
|
16
16
|
babelParser,
|
|
17
17
|
extractMockCalls,
|
|
18
18
|
getRealPath,
|
|
19
19
|
rewriteSbMockImportCalls
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AWXGSZGM.js";
|
|
21
21
|
import {
|
|
22
22
|
normalize
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TZLQJVUQ.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ETYXUFUN.js";
|
|
27
27
|
|
|
28
28
|
// src/core-server/presets/vitePlugins/vite-mock/plugin.ts
|
|
29
29
|
import { readFileSync } from "node:fs";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-OCVLGT5T.js";
|
|
15
|
+
import "./chunk-TZLQJVUQ.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6EM7SHCK.js";
|
|
19
19
|
import {
|
|
20
20
|
__name,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ETYXUFUN.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/presets/vitePlugins/vite-inject-mocker/plugin.ts
|
|
25
25
|
import { readFileSync } from "node:fs";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-OCVLGT5T.js";
|
|
15
|
+
import "./chunk-TZLQJVUQ.js";
|
|
16
16
|
import {
|
|
17
17
|
require_gen_mapping_umd,
|
|
18
18
|
require_trace_mapping_umd
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VWAQR7SK.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__name,
|
|
23
23
|
__require
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ETYXUFUN.js";
|
|
25
25
|
|
|
26
26
|
// ../node_modules/lodash/_freeGlobal.js
|
|
27
27
|
var require_freeGlobal = __commonJS({
|
package/dist/_node-chunks/{webpack-mock-plugin-PU6SBAYY.js → webpack-mock-plugin-BYKVULFT.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
getIsExternal,
|
|
16
16
|
resolveExternalModule,
|
|
17
17
|
resolveWithExtensions
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AWXGSZGM.js";
|
|
19
|
+
import "./chunk-TZLQJVUQ.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ETYXUFUN.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/presets/webpack/plugins/webpack-mock-plugin.ts
|
|
25
25
|
import { createRequire } from "node:module";
|
package/dist/babel/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
recast,
|
|
23
23
|
traverse,
|
|
24
24
|
types
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-XIGLO64N.js";
|
|
26
|
+
import "../_node-chunks/chunk-VWAQR7SK.js";
|
|
27
|
+
import "../_node-chunks/chunk-KHRYPC5C.js";
|
|
28
|
+
import "../_node-chunks/chunk-ROPO5JHR.js";
|
|
29
|
+
import "../_node-chunks/chunk-ETYXUFUN.js";
|
|
30
30
|
var export_transformSync = import_core.transformSync;
|
|
31
31
|
export {
|
|
32
32
|
BabelFileClass,
|
package/dist/bin/core.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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 "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-H7H5VH4N.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-CKZNJYLM.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-6EM7SHCK.js";
|
|
21
21
|
import {
|
|
22
22
|
require_picocolors
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-ROPO5JHR.js";
|
|
24
24
|
import {
|
|
25
25
|
__commonJS,
|
|
26
26
|
__name,
|
|
27
27
|
__require,
|
|
28
28
|
__toESM
|
|
29
|
-
} from "../_node-chunks/chunk-
|
|
29
|
+
} from "../_node-chunks/chunk-ETYXUFUN.js";
|
|
30
30
|
|
|
31
31
|
// ../node_modules/commander/lib/error.js
|
|
32
32
|
var require_error = __commonJS({
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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
|
versions_default
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-OGLI2H2L.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-OCVLGT5T.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-TZLQJVUQ.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-6EM7SHCK.js";
|
|
25
25
|
import {
|
|
26
26
|
__name,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-ETYXUFUN.js";
|
|
29
29
|
|
|
30
30
|
// src/bin/dispatcher.ts
|
|
31
31
|
import { spawn } from "node:child_process";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-VV7UYTM2.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-6EM7SHCK.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-ETYXUFUN.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/loader.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/cli/index.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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
|
boxen
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-WONPUF7K.js";
|
|
15
|
+
import "../_node-chunks/chunk-A4LTSGWA.js";
|
|
16
16
|
import {
|
|
17
17
|
Settings,
|
|
18
18
|
_clearGlobalSettings,
|
|
19
19
|
globalSettings
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-CKZNJYLM.js";
|
|
21
21
|
import {
|
|
22
22
|
any,
|
|
23
23
|
up2 as up
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-2PVUQY5V.js";
|
|
25
25
|
import {
|
|
26
26
|
invariant
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-RQM73BBF.js";
|
|
28
28
|
import {
|
|
29
29
|
resolvePackageDir
|
|
30
|
-
} from "../_node-chunks/chunk-
|
|
31
|
-
import "../_node-chunks/chunk-
|
|
30
|
+
} from "../_node-chunks/chunk-OCVLGT5T.js";
|
|
31
|
+
import "../_node-chunks/chunk-TZLQJVUQ.js";
|
|
32
32
|
import {
|
|
33
33
|
require_prompts
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-YQWCYFNY.js";
|
|
35
35
|
import {
|
|
36
36
|
require_dist
|
|
37
|
-
} from "../_node-chunks/chunk-
|
|
37
|
+
} from "../_node-chunks/chunk-6EM7SHCK.js";
|
|
38
38
|
import {
|
|
39
39
|
babelParse,
|
|
40
40
|
recast,
|
|
41
41
|
traverse,
|
|
42
42
|
types
|
|
43
|
-
} from "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
43
|
+
} from "../_node-chunks/chunk-XIGLO64N.js";
|
|
44
|
+
import "../_node-chunks/chunk-VWAQR7SK.js";
|
|
45
|
+
import "../_node-chunks/chunk-KHRYPC5C.js";
|
|
46
46
|
import {
|
|
47
47
|
require_picocolors
|
|
48
|
-
} from "../_node-chunks/chunk-
|
|
48
|
+
} from "../_node-chunks/chunk-ROPO5JHR.js";
|
|
49
49
|
import {
|
|
50
50
|
__commonJS,
|
|
51
51
|
__name,
|
|
52
52
|
__require,
|
|
53
53
|
__toESM
|
|
54
|
-
} from "../_node-chunks/chunk-
|
|
54
|
+
} from "../_node-chunks/chunk-ETYXUFUN.js";
|
|
55
55
|
|
|
56
56
|
// ../node_modules/wrappy/wrappy.js
|
|
57
57
|
var require_wrappy = __commonJS({
|
package/dist/common/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { ConfigFile } from 'storybook/internal/csf-tools';
|
|
|
10
10
|
declare const _default: {
|
|
11
11
|
'@storybook/addon-a11y': string;
|
|
12
12
|
'@storybook/addon-docs': string;
|
|
13
|
-
'@storybook/addon-jest': string;
|
|
14
13
|
'@storybook/addon-links': string;
|
|
15
14
|
'@storybook/addon-onboarding': string;
|
|
16
15
|
'storybook-addon-pseudo-states': string;
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -83,11 +83,11 @@ import {
|
|
|
83
83
|
transformImportFiles,
|
|
84
84
|
validateConfigurationFiles,
|
|
85
85
|
validateFrameworkName
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
87
|
-
import "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-EJX3QGDP.js";
|
|
87
|
+
import "../_node-chunks/chunk-H3OKFQ7Y.js";
|
|
88
88
|
import {
|
|
89
89
|
versions_default
|
|
90
|
-
} from "../_node-chunks/chunk-
|
|
90
|
+
} from "../_node-chunks/chunk-OGLI2H2L.js";
|
|
91
91
|
import {
|
|
92
92
|
findFilesUp,
|
|
93
93
|
getProjectRoot,
|
|
@@ -99,22 +99,22 @@ import {
|
|
|
99
99
|
optionalEnvToBoolean,
|
|
100
100
|
stringifyEnvs,
|
|
101
101
|
stringifyProcessEnvs
|
|
102
|
-
} from "../_node-chunks/chunk-
|
|
103
|
-
import "../_node-chunks/chunk-
|
|
104
|
-
import "../_node-chunks/chunk-
|
|
102
|
+
} from "../_node-chunks/chunk-EIAGLK2S.js";
|
|
103
|
+
import "../_node-chunks/chunk-2PVUQY5V.js";
|
|
104
|
+
import "../_node-chunks/chunk-RQM73BBF.js";
|
|
105
105
|
import {
|
|
106
106
|
importMetaResolve,
|
|
107
107
|
importModule,
|
|
108
108
|
resolvePackageDir,
|
|
109
109
|
safeResolveModule
|
|
110
|
-
} from "../_node-chunks/chunk-
|
|
111
|
-
import "../_node-chunks/chunk-
|
|
112
|
-
import "../_node-chunks/chunk-
|
|
113
|
-
import "../_node-chunks/chunk-
|
|
114
|
-
import "../_node-chunks/chunk-
|
|
115
|
-
import "../_node-chunks/chunk-
|
|
116
|
-
import "../_node-chunks/chunk-
|
|
117
|
-
import "../_node-chunks/chunk-
|
|
110
|
+
} from "../_node-chunks/chunk-OCVLGT5T.js";
|
|
111
|
+
import "../_node-chunks/chunk-TZLQJVUQ.js";
|
|
112
|
+
import "../_node-chunks/chunk-YQWCYFNY.js";
|
|
113
|
+
import "../_node-chunks/chunk-MJUX6QTP.js";
|
|
114
|
+
import "../_node-chunks/chunk-VWDE4KGF.js";
|
|
115
|
+
import "../_node-chunks/chunk-6EM7SHCK.js";
|
|
116
|
+
import "../_node-chunks/chunk-ROPO5JHR.js";
|
|
117
|
+
import "../_node-chunks/chunk-ETYXUFUN.js";
|
|
118
118
|
export {
|
|
119
119
|
COMMON_ENV_VARS,
|
|
120
120
|
DEFAULT_FILES_PATTERN,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_lsrbdpi9o7c from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_lsrbdpi9o7c from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_lsrbdpi9o7c.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_lsrbdpi9o7c.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_lsrbdpi9o7c.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_pretty_hrtime
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-KBIRRRF3.js";
|
|
15
15
|
import {
|
|
16
16
|
boxen,
|
|
17
17
|
require_string_width
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-WONPUF7K.js";
|
|
19
|
+
import "../_node-chunks/chunk-A4LTSGWA.js";
|
|
20
20
|
import {
|
|
21
21
|
StatusTypeIdMismatchError,
|
|
22
22
|
StorybookError
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-66ENUZM3.js";
|
|
24
24
|
import {
|
|
25
25
|
getErrorLevel,
|
|
26
26
|
mapStaticDir,
|
|
@@ -28,59 +28,59 @@ import {
|
|
|
28
28
|
sendTelemetryError,
|
|
29
29
|
useStatics,
|
|
30
30
|
withTelemetry
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
32
|
-
import "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-BM3XDPHW.js";
|
|
32
|
+
import "../_node-chunks/chunk-CE25WRUD.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
35
|
+
} from "../_node-chunks/chunk-XFXHZ5JF.js";
|
|
36
|
+
import "../_node-chunks/chunk-H7H5VH4N.js";
|
|
37
37
|
import {
|
|
38
38
|
userOrAutoTitleFromSpecifier
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
40
|
-
import "../_node-chunks/chunk-
|
|
41
|
-
import "../_node-chunks/chunk-
|
|
42
|
-
import "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-EJX3QGDP.js";
|
|
40
|
+
import "../_node-chunks/chunk-H3OKFQ7Y.js";
|
|
41
|
+
import "../_node-chunks/chunk-OGLI2H2L.js";
|
|
42
|
+
import "../_node-chunks/chunk-CKZNJYLM.js";
|
|
43
43
|
import {
|
|
44
44
|
optionalEnvToBoolean,
|
|
45
45
|
require_cross_spawn
|
|
46
|
-
} from "../_node-chunks/chunk-
|
|
46
|
+
} from "../_node-chunks/chunk-EIAGLK2S.js";
|
|
47
47
|
import {
|
|
48
48
|
up2 as up
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-2PVUQY5V.js";
|
|
50
50
|
import {
|
|
51
51
|
invariant
|
|
52
|
-
} from "../_node-chunks/chunk-
|
|
52
|
+
} from "../_node-chunks/chunk-RQM73BBF.js";
|
|
53
53
|
import {
|
|
54
54
|
importModule,
|
|
55
55
|
resolvePackageDir
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-OCVLGT5T.js";
|
|
57
57
|
import {
|
|
58
58
|
resolve
|
|
59
|
-
} from "../_node-chunks/chunk-
|
|
59
|
+
} from "../_node-chunks/chunk-TZLQJVUQ.js";
|
|
60
60
|
import {
|
|
61
61
|
require_prompts
|
|
62
|
-
} from "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
62
|
+
} from "../_node-chunks/chunk-YQWCYFNY.js";
|
|
63
|
+
import "../_node-chunks/chunk-MJUX6QTP.js";
|
|
64
64
|
import {
|
|
65
65
|
slash
|
|
66
|
-
} from "../_node-chunks/chunk-
|
|
66
|
+
} from "../_node-chunks/chunk-VWDE4KGF.js";
|
|
67
67
|
import {
|
|
68
68
|
require_dist
|
|
69
|
-
} from "../_node-chunks/chunk-
|
|
69
|
+
} from "../_node-chunks/chunk-6EM7SHCK.js";
|
|
70
70
|
import {
|
|
71
71
|
require_lib,
|
|
72
72
|
require_src
|
|
73
|
-
} from "../_node-chunks/chunk-
|
|
73
|
+
} from "../_node-chunks/chunk-KHRYPC5C.js";
|
|
74
74
|
import {
|
|
75
75
|
require_picocolors
|
|
76
|
-
} from "../_node-chunks/chunk-
|
|
76
|
+
} from "../_node-chunks/chunk-ROPO5JHR.js";
|
|
77
77
|
import {
|
|
78
78
|
__commonJS,
|
|
79
79
|
__export,
|
|
80
80
|
__name,
|
|
81
81
|
__require,
|
|
82
82
|
__toESM
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-ETYXUFUN.js";
|
|
84
84
|
|
|
85
85
|
// ../node_modules/tsconfig-paths/lib/filesystem.js
|
|
86
86
|
var require_filesystem = __commonJS({
|
|
@@ -8715,7 +8715,7 @@ var StoryIndexGenerator = class _StoryIndexGenerator {
|
|
|
8715
8715
|
}
|
|
8716
8716
|
const pathToSubIndex = {};
|
|
8717
8717
|
const fullGlob = slash(join(specifier.directory, specifier.files));
|
|
8718
|
-
const { globby } = await import("../_node-chunks/globby-
|
|
8718
|
+
const { globby } = await import("../_node-chunks/globby-YL2WN4IM.js");
|
|
8719
8719
|
const files = await globby(fullGlob, {
|
|
8720
8720
|
absolute: true,
|
|
8721
8721
|
cwd: workingDir,
|
|
@@ -8973,7 +8973,7 @@ var StoryIndexGenerator = class _StoryIndexGenerator {
|
|
|
8973
8973
|
const normalizedPath = normalizeStoryPath(relativePath);
|
|
8974
8974
|
const importPath = slash(normalizedPath);
|
|
8975
8975
|
const content = await readFile(absolutePath, { encoding: "utf8" });
|
|
8976
|
-
const { analyze } = await import("../_node-chunks/dist-
|
|
8976
|
+
const { analyze } = await import("../_node-chunks/dist-4LTP5352.js");
|
|
8977
8977
|
const result2 = await analyze(content);
|
|
8978
8978
|
if (result2.isTemplate) {
|
|
8979
8979
|
return false;
|
|
@@ -9316,7 +9316,7 @@ __name(print, "print");
|
|
|
9316
9316
|
// src/core-server/utils/get-builders.ts
|
|
9317
9317
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
9318
9318
|
async function getManagerBuilder() {
|
|
9319
|
-
return await import("../_node-chunks/builder-manager-
|
|
9319
|
+
return await import("../_node-chunks/builder-manager-L3MZVMZ5.js");
|
|
9320
9320
|
}
|
|
9321
9321
|
__name(getManagerBuilder, "getManagerBuilder");
|
|
9322
9322
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
@@ -16560,7 +16560,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
16560
16560
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
16561
16561
|
basename2(specifier.files)
|
|
16562
16562
|
);
|
|
16563
|
-
const { globby } = await import("../_node-chunks/globby-
|
|
16563
|
+
const { globby } = await import("../_node-chunks/globby-YL2WN4IM.js");
|
|
16564
16564
|
const addedFiles = await globby(slash(dirGlob), commonGlobOptions2(dirGlob));
|
|
16565
16565
|
addedFiles.forEach((filePath) => {
|
|
16566
16566
|
const fileImportPath = toImportPath(filePath);
|