storybook 10.0.1 → 10.0.3
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-DR2RPQ4B.js → builder-manager-E4GQADE3.js} +12 -12
- package/dist/_node-chunks/camelcase-OHE5UKDS.js +18 -0
- package/dist/_node-chunks/{chunk-PO2UPJBZ.js → chunk-2LBTK4WC.js} +6 -6
- package/dist/_node-chunks/{chunk-VD2J3X4C.js → chunk-2R3IKO2U.js} +9 -9
- package/dist/_node-chunks/chunk-3GGHF3GB.js +61 -0
- package/dist/_node-chunks/chunk-3NVSSI6P.js +18 -0
- package/dist/_node-chunks/{chunk-KTSSIF7Y.js → chunk-4A2MRLKF.js} +7 -7
- package/dist/_node-chunks/{chunk-N3WVW3QB.js → chunk-4JELMOWY.js} +12 -12
- package/dist/_node-chunks/{chunk-XWVRU2IK.js → chunk-4OM5HH7C.js} +7 -7
- package/dist/_node-chunks/{chunk-U3IFUXZ6.js → chunk-6CXT2WNC.js} +10 -10
- package/dist/_node-chunks/{chunk-SQL6MCLB.js → chunk-6FLER2RK.js} +7 -7
- package/dist/_node-chunks/{chunk-KMMSVT6C.js → chunk-AAI7GAKC.js} +15 -15
- package/dist/_node-chunks/{chunk-ALAKQHSL.js → chunk-B4V7TTVD.js} +7 -7
- package/dist/_node-chunks/{chunk-TZ4UIEXE.js → chunk-CSY3WJXM.js} +7 -7
- package/dist/_node-chunks/{chunk-3WVO2BEW.js → chunk-EJMSHHNX.js} +7 -7
- package/dist/_node-chunks/{chunk-H7T5PULI.js → chunk-FJIMK54N.js} +9 -9
- package/dist/_node-chunks/{chunk-LHE3P5D2.js → chunk-HJVHA6UV.js} +7 -7
- package/dist/_node-chunks/{chunk-3VZU4AAT.js → chunk-HQPOTMHL.js} +36 -43
- package/dist/_node-chunks/{chunk-Z4E4GMT4.js → chunk-HVWOO2MA.js} +7 -7
- package/dist/_node-chunks/{chunk-PGIKVXE4.js → chunk-JO5FEXMV.js} +8 -8
- package/dist/_node-chunks/{chunk-MIQYCSH7.js → chunk-KDCKTIEA.js} +8 -8
- package/dist/_node-chunks/{chunk-5XEXP6NE.js → chunk-KHBCZXHG.js} +7 -7
- package/dist/_node-chunks/{chunk-66QE27AA.js → chunk-LWPHQ56E.js} +6 -6
- package/dist/_node-chunks/{chunk-2JPQ2CE4.js → chunk-OOOQPZ6Z.js} +25 -7
- package/dist/_node-chunks/{chunk-UJ4ZMDJ4.js → chunk-QAOM3DO5.js} +8 -8
- package/dist/_node-chunks/{chunk-FRIAWOAY.js → chunk-QQJAAKUD.js} +21 -21
- package/dist/_node-chunks/{chunk-SLGIE3DQ.js → chunk-S2SBPOU7.js} +7 -7
- package/dist/_node-chunks/{chunk-7KB3AWJU.js → chunk-TWSFNGL6.js} +7 -7
- package/dist/_node-chunks/{chunk-CH4AJIRC.js → chunk-UXEZ5D26.js} +8 -8
- package/dist/_node-chunks/{chunk-WBKG2WYK.js → chunk-VKPUBN6X.js} +12 -12
- package/dist/_node-chunks/{chunk-T2FMLYDK.js → chunk-VMJKE4R6.js} +7 -7
- package/dist/_node-chunks/{chunk-K2XXTVMC.js → chunk-WQESBUOQ.js} +7 -7
- package/dist/_node-chunks/{chunk-RS5NK4UP.js → chunk-XWWVIMQ7.js} +7 -7
- package/dist/_node-chunks/{chunk-KBHZ3GEC.js → chunk-YTKYZK7T.js} +7 -7
- package/dist/_node-chunks/{chunk-BZKNXOCX.js → chunk-ZXI44ZBV.js} +7 -7
- package/dist/_node-chunks/{dist-YCWHNHED.js → dist-TTYJRHMC.js} +9 -9
- package/dist/_node-chunks/{globby-C6VT7FAK.js → globby-RQKPSV62.js} +9 -9
- package/dist/_node-chunks/{lib-GV2USFDI.js → lib-NBPM4XMA.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-FALWHS63.js → mdx-N42X6CFJ-JZMYU3TK.js} +8 -8
- package/dist/_node-chunks/{p-limit-ZLIA3PMB.js → p-limit-G7RUWL5Q.js} +7 -7
- package/dist/_node-chunks/{plugin-VBK5MDIY.js → plugin-75MDANON.js} +10 -10
- package/dist/_node-chunks/{plugin-TTZELBHN.js → plugin-WKVGUVZF.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-PSO63NLP.js → webpack-inject-mocker-runtime-plugin-VU5RC5QA.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-RGGBGU33.js → webpack-mock-plugin-OAQT3XX3.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/components/index.js +5743 -73
- package/dist/core-server/index.js +96 -97
- package/dist/core-server/presets/common-manager.js +14 -20
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +27 -27
- 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/index.js +2 -2
- package/dist/csf-tools/index.d.ts +7 -0
- 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 +67 -68
- package/dist/preview-api/index.js +5 -5
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/package.json +1 -1
- package/dist/_browser-chunks/chunk-I74EUU5O.js +0 -5809
- package/dist/_node-chunks/camelcase-KA7E7LOC.js +0 -18
- package/dist/_node-chunks/chunk-DQGSFKJM.js +0 -18
- package/dist/_node-chunks/chunk-M5Q5VRK5.js +0 -61
- package/dist/_browser-chunks/{chunk-W4QKLQSC.js → chunk-RW5PKMWM.js} +5 -5
- package/dist/_browser-chunks/{syntaxhighlighter-DK2ODWXH.js → syntaxhighlighter-CAVLW7PM.js} +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-LWPHQ56E.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/totalist/sync/index.js
|
|
19
19
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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_cwg9097nbiq.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LWPHQ56E.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/ts-dedent/dist/index.js
|
|
18
18
|
var require_dist = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-LWPHQ56E.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/kleur/index.js
|
|
19
19
|
var require_kleur = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-LWPHQ56E.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/empathic/resolve.mjs
|
|
17
17
|
import { createRequire } from "node:module";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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
|
toEstree
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4OM5HH7C.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LWPHQ56E.js";
|
|
18
18
|
|
|
19
19
|
// ../node_modules/@storybook/docs-mdx/dist/index.js
|
|
20
20
|
var getAttr = /* @__PURE__ */ __name((elt, what) => elt.attributes.find((n) => n.type === "JSXAttribute" && n.name.name === what), "getAttr");
|
|
@@ -161,7 +161,7 @@ var analyze = /* @__PURE__ */ __name(async (code) => {
|
|
|
161
161
|
metaTags: void 0,
|
|
162
162
|
imports: void 0
|
|
163
163
|
};
|
|
164
|
-
const { compile } = await import("./mdx-N42X6CFJ-
|
|
164
|
+
const { compile } = await import("./mdx-N42X6CFJ-JZMYU3TK.js");
|
|
165
165
|
await compile(code, {
|
|
166
166
|
rehypePlugins: [[plugin, store]]
|
|
167
167
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,16 +12,16 @@ var require = CJS_COMPAT_NODE_MODULE_cwg9097nbiq.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KHBCZXHG.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EJMSHHNX.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
22
22
|
__require,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LWPHQ56E.js";
|
|
25
25
|
|
|
26
26
|
// ../node_modules/fast-glob/out/utils/array.js
|
|
27
27
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LWPHQ56E.js";
|
|
18
18
|
|
|
19
19
|
// ../node_modules/app-root-dir/lib/index.js
|
|
20
20
|
var require_lib = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-4OM5HH7C.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-TWSFNGL6.js";
|
|
15
15
|
import {
|
|
16
16
|
babelParser,
|
|
17
17
|
extractMockCalls,
|
|
18
18
|
getRealPath,
|
|
19
19
|
rewriteSbMockImportCalls
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JO5FEXMV.js";
|
|
21
21
|
import {
|
|
22
22
|
normalize
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OOOQPZ6Z.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-QAOM3DO5.js";
|
|
15
|
+
import "./chunk-OOOQPZ6Z.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XWWVIMQ7.js";
|
|
19
19
|
import {
|
|
20
20
|
__name,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-QAOM3DO5.js";
|
|
15
|
+
import "./chunk-OOOQPZ6Z.js";
|
|
16
16
|
import {
|
|
17
17
|
require_gen_mapping_umd,
|
|
18
18
|
require_trace_mapping_umd
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-B4V7TTVD.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__name,
|
|
23
23
|
__require
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LWPHQ56E.js";
|
|
25
25
|
|
|
26
26
|
// ../node_modules/lodash/_freeGlobal.js
|
|
27
27
|
var require_freeGlobal = __commonJS({
|
package/dist/_node-chunks/{webpack-mock-plugin-RGGBGU33.js → webpack-mock-plugin-OAQT3XX3.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-JO5FEXMV.js";
|
|
19
|
+
import "./chunk-OOOQPZ6Z.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-6CXT2WNC.js";
|
|
26
|
+
import "../_node-chunks/chunk-B4V7TTVD.js";
|
|
27
|
+
import "../_node-chunks/chunk-VMJKE4R6.js";
|
|
28
|
+
import "../_node-chunks/chunk-6FLER2RK.js";
|
|
29
|
+
import "../_node-chunks/chunk-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-3NVSSI6P.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-KDCKTIEA.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-XWWVIMQ7.js";
|
|
21
21
|
import {
|
|
22
22
|
require_picocolors
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-6FLER2RK.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-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-3GGHF3GB.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-QAOM3DO5.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-OOOQPZ6Z.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-XWWVIMQ7.js";
|
|
25
25
|
import {
|
|
26
26
|
__name,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-LWPHQ56E.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_blcpg4hqjve from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_blcpg4hqjve from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_blcpg4hqjve from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_blcpg4hqjve.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_blcpg4hqjve.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_blcpg4hqjve.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-2LBTK4WC.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-XWWVIMQ7.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-LWPHQ56E.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/loader.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|