storybook 10.0.0-beta.11 → 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-VLFDK43H.js → builder-manager-L3MZVMZ5.js} +12 -12
- package/dist/_node-chunks/camelcase-SBGRHZU6.js +18 -0
- package/dist/_node-chunks/{chunk-7MUMULSR.js → chunk-2PVUQY5V.js} +7 -7
- package/dist/_node-chunks/{chunk-SDZVOIZI.js → chunk-66ENUZM3.js} +9 -9
- package/dist/_node-chunks/{chunk-EBLOP2C5.js → chunk-6EM7SHCK.js} +7 -7
- package/dist/_node-chunks/{chunk-ER2UQBIA.js → chunk-6R3ENJUF.js} +7 -7
- package/dist/_node-chunks/{chunk-HYMBYTGJ.js → chunk-A4LTSGWA.js} +7 -7
- package/dist/_node-chunks/{chunk-UAMXREF3.js → chunk-AWXGSZGM.js} +8 -8
- package/dist/_node-chunks/{chunk-H2YBWE3T.js → chunk-BM3XDPHW.js} +12 -12
- package/dist/_node-chunks/{chunk-XYFEBEHY.js → chunk-CE25WRUD.js} +7 -7
- package/dist/_node-chunks/{chunk-XKPJCSPD.js → chunk-CKZNJYLM.js} +8 -8
- package/dist/_node-chunks/{chunk-S2RQAF7K.js → chunk-EIAGLK2S.js} +9 -9
- package/dist/_node-chunks/{chunk-DVY3VWHZ.js → chunk-EJX3QGDP.js} +29 -26
- package/dist/_node-chunks/{chunk-Q5IJJX3T.js → chunk-ETYXUFUN.js} +6 -6
- package/dist/_node-chunks/{chunk-5NSMDC6F.js → chunk-H3OKFQ7Y.js} +7 -7
- package/dist/_node-chunks/chunk-H7H5VH4N.js +18 -0
- package/dist/_node-chunks/{chunk-QLRMR54O.js → chunk-KBIRRRF3.js} +7 -7
- package/dist/_node-chunks/{chunk-EF56ZUQY.js → chunk-KHRYPC5C.js} +7 -7
- package/dist/_node-chunks/{chunk-XWCQWB3R.js → chunk-MJUX6QTP.js} +7 -7
- package/dist/_node-chunks/{chunk-4WZFG35Z.js → chunk-NR3HISO5.js} +7 -7
- package/dist/_node-chunks/{chunk-7QAAJL75.js → chunk-OCVLGT5T.js} +14 -10
- package/dist/_node-chunks/chunk-OGLI2H2L.js +61 -0
- package/dist/_node-chunks/{chunk-UC6O5PNX.js → chunk-OJHR3DEG.js} +8 -8
- package/dist/_node-chunks/{chunk-ZHBCPKYD.js → chunk-ROPO5JHR.js} +7 -7
- package/dist/_node-chunks/{chunk-VFUP6Z4J.js → chunk-RQM73BBF.js} +7 -7
- package/dist/_node-chunks/{chunk-U2UIPLJI.js → chunk-TZLQJVUQ.js} +7 -7
- package/dist/_node-chunks/{chunk-SGJZDMJW.js → chunk-VV7UYTM2.js} +6 -6
- package/dist/_node-chunks/{chunk-4SPBIDJV.js → chunk-VWAQR7SK.js} +7 -7
- package/dist/_node-chunks/{chunk-5THWZTEL.js → chunk-VWDE4KGF.js} +7 -7
- package/dist/_node-chunks/{chunk-GYBN5GXT.js → chunk-WONPUF7K.js} +8 -8
- package/dist/_node-chunks/{chunk-TJOIDMXP.js → chunk-XFXHZ5JF.js} +14 -14
- package/dist/_node-chunks/{chunk-5K7G6NFK.js → chunk-XIGLO64N.js} +10 -10
- package/dist/_node-chunks/{chunk-QSNDRP62.js → chunk-YQWCYFNY.js} +7 -7
- package/dist/_node-chunks/{dist-A2RPEHEC.js → dist-4LTP5352.js} +9 -9
- package/dist/_node-chunks/{globby-3TWPXGQS.js → globby-YL2WN4IM.js} +9 -9
- package/dist/_node-chunks/{lib-MUNM6ZJ6.js → lib-H6VRT3L6.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-QQDHJZQ3.js → mdx-N42X6CFJ-PUU6DJRU.js} +8 -8
- package/dist/_node-chunks/{p-limit-FEN55OV6.js → p-limit-B4XGNEDI.js} +7 -7
- package/dist/_node-chunks/{plugin-GDMP3JPR.js → plugin-FTK7LQSU.js} +10 -10
- package/dist/_node-chunks/{plugin-ESAYNJ5V.js → plugin-WPIGKPJE.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-5AKTLYIV.js → webpack-inject-mocker-runtime-plugin-ZVJPX75F.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-AWGZ65AQ.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 +5 -3
- 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 +24 -21
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.js +24 -21
- package/dist/node-logger/index.js +18 -15
- 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-RENSEFK6.js +0 -18
- package/dist/_node-chunks/chunk-GHICGP2P.js +0 -18
- package/dist/_node-chunks/chunk-YAEIMHFX.js +0 -62
|
@@ -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
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
start,
|
|
24
24
|
toEstree,
|
|
25
25
|
unreachable
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6R3ENJUF.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ETYXUFUN.js";
|
|
30
30
|
|
|
31
31
|
// ../node_modules/@storybook/docs-mdx/dist/mdx-N42X6CFJ.js
|
|
32
32
|
import { default as default2 } from "path";
|
|
@@ -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-AWGZ65AQ.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;
|
|
@@ -1106,9 +1105,10 @@ declare function getInterpretedFile(pathToFile: string): string | undefined;
|
|
|
1106
1105
|
|
|
1107
1106
|
declare function serverRequire(filePath: string | string[]): Promise<any> | null;
|
|
1108
1107
|
|
|
1109
|
-
declare function loadMainConfig({ configDir, cwd, }: {
|
|
1108
|
+
declare function loadMainConfig({ configDir, cwd, skipCache, }: {
|
|
1110
1109
|
configDir: string;
|
|
1111
1110
|
cwd?: string;
|
|
1111
|
+
skipCache?: boolean;
|
|
1112
1112
|
}): Promise<StorybookConfig>;
|
|
1113
1113
|
|
|
1114
1114
|
declare function loadManagerOrAddonsFile({ configDir }: {
|
|
@@ -1272,7 +1272,9 @@ declare const resolvePackageDir: (pkg: Parameters<ImportMeta["resolve"]>[0], par
|
|
|
1272
1272
|
* // Returns the default export or the entire module
|
|
1273
1273
|
* ```
|
|
1274
1274
|
*/
|
|
1275
|
-
declare function importModule(path: string
|
|
1275
|
+
declare function importModule(path: string, { skipCache }?: {
|
|
1276
|
+
skipCache?: boolean;
|
|
1277
|
+
}): Promise<any>;
|
|
1276
1278
|
/**
|
|
1277
1279
|
* Safely resolves a module specifier to its absolute file path.
|
|
1278
1280
|
*
|
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,
|