storybook 10.0.2 → 10.0.4
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-C7MTI43L.js → builder-manager-TLHTVHEZ.js} +12 -12
- package/dist/_node-chunks/camelcase-KGP6XNUQ.js +18 -0
- package/dist/_node-chunks/{chunk-G4DMUZF3.js → chunk-222IW72E.js} +36 -43
- package/dist/_node-chunks/chunk-2FUNGPJA.js +61 -0
- package/dist/_node-chunks/{chunk-Y5ZIS3CB.js → chunk-3JDJHMFF.js} +7 -7
- package/dist/_node-chunks/chunk-4MH3277D.js +18 -0
- package/dist/_node-chunks/{chunk-M7JK3PHD.js → chunk-4WHWOQIK.js} +6 -6
- package/dist/_node-chunks/{chunk-CJ3GT3HG.js → chunk-5YDJHNJV.js} +12 -12
- package/dist/_node-chunks/{chunk-RUXRGKI6.js → chunk-6OZ7PM6U.js} +8 -8
- package/dist/_node-chunks/{chunk-IWA2OXWT.js → chunk-AEJQCMUB.js} +8 -8
- package/dist/_node-chunks/{chunk-PEW3VSI4.js → chunk-AJXHJIQB.js} +7 -7
- package/dist/_node-chunks/{chunk-CRYOLMTP.js → chunk-AUFNFGVS.js} +7 -7
- package/dist/_node-chunks/{chunk-5TEMW2HS.js → chunk-B2VWNE6A.js} +7 -7
- package/dist/_node-chunks/{chunk-45XSYU5U.js → chunk-DQS7GIBV.js} +7 -7
- package/dist/_node-chunks/{chunk-YT3QOQMF.js → chunk-E6X227GT.js} +7 -7
- package/dist/_node-chunks/{chunk-NDS5Q5MQ.js → chunk-EQF4GJEA.js} +6 -6
- package/dist/_node-chunks/{chunk-7ARNGY5C.js → chunk-G7OHM4NC.js} +12 -12
- package/dist/_node-chunks/{chunk-BZE33562.js → chunk-GCITKSOH.js} +9 -9
- package/dist/_node-chunks/{chunk-OL4ZPH5W.js → chunk-HS5SBWIB.js} +7 -7
- package/dist/_node-chunks/{chunk-TLGQ3DFY.js → chunk-K74AJMJL.js} +21 -21
- package/dist/_node-chunks/{chunk-6M2MHIE4.js → chunk-KAOO6H2Y.js} +7 -7
- package/dist/_node-chunks/{chunk-Q5A4LYDI.js → chunk-KP63VZPN.js} +7 -7
- package/dist/_node-chunks/{chunk-MAJVPF6M.js → chunk-KRKU2BRJ.js} +15 -15
- package/dist/_node-chunks/{chunk-PHHWFZ53.js → chunk-MESRJ2FJ.js} +7 -7
- package/dist/_node-chunks/{chunk-BEHQEHCV.js → chunk-NCTZ52WV.js} +7 -7
- package/dist/_node-chunks/{chunk-V6EPMCDK.js → chunk-NDR6CJ2O.js} +7 -7
- package/dist/_node-chunks/{chunk-7UFF3UBM.js → chunk-NED6N56K.js} +7 -7
- package/dist/_node-chunks/{chunk-VOOIMEQA.js → chunk-PVLQPTW2.js} +8 -8
- package/dist/_node-chunks/{chunk-GW7GHNWQ.js → chunk-S3LCHRAF.js} +7 -7
- package/dist/_node-chunks/{chunk-BNNW3RUO.js → chunk-S744X6QQ.js} +8 -8
- package/dist/_node-chunks/{chunk-E3ZVPOWE.js → chunk-WNYIV6J2.js} +7 -7
- package/dist/_node-chunks/{chunk-4O7LQOQ7.js → chunk-X4F7B426.js} +7 -7
- package/dist/_node-chunks/{chunk-AB2ZAO3F.js → chunk-YAYYIUOL.js} +7 -7
- package/dist/_node-chunks/{chunk-AQXXWN5J.js → chunk-YZQS6KQF.js} +9 -9
- package/dist/_node-chunks/{chunk-WJEZZCON.js → chunk-ZIHOYEID.js} +10 -10
- package/dist/_node-chunks/{dist-XPX2QJ3C.js → dist-CHMZWMGF.js} +9 -9
- package/dist/_node-chunks/{globby-MTM72QV7.js → globby-LHP4I7VR.js} +9 -9
- package/dist/_node-chunks/{lib-DWYQ4JDM.js → lib-3VTYN55Z.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-5KEDSU5O.js → mdx-N42X6CFJ-4W5R6G4L.js} +8 -8
- package/dist/_node-chunks/{p-limit-DHY3P6KR.js → p-limit-W7UEIFAU.js} +7 -7
- package/dist/_node-chunks/{plugin-QYIRX5CQ.js → plugin-BFAUW6VL.js} +10 -10
- package/dist/_node-chunks/{plugin-U4SQWN4V.js → plugin-M6DBRWDC.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-P4ME6ZAM.js → webpack-inject-mocker-runtime-plugin-EPIBTYDS.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-ZGDNIVUL.js → webpack-mock-plugin-PJOUVLIC.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 +36 -36
- 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 +23 -23
- 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.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-EOASHVUY.js +0 -18
- package/dist/_node-chunks/chunk-TFZ6HPVN.js +0 -18
- package/dist/_node-chunks/chunk-YFJZFOCY.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
any,
|
|
14
14
|
up,
|
|
15
15
|
up2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DQS7GIBV.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__name,
|
|
20
20
|
__require,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4WHWOQIK.js";
|
|
23
23
|
|
|
24
24
|
// ../node_modules/tinyglobby/node_modules/picomatch/lib/constants.js
|
|
25
25
|
var require_constants = __commonJS({
|
|
@@ -3023,7 +3023,7 @@ __name(normalizeStoryPath, "normalizeStoryPath");
|
|
|
3023
3023
|
|
|
3024
3024
|
// src/common/utils/envs.ts
|
|
3025
3025
|
async function loadEnvs(options = {}) {
|
|
3026
|
-
const { getEnvironment } = await import("./lib-
|
|
3026
|
+
const { getEnvironment } = await import("./lib-3VTYN55Z.js");
|
|
3027
3027
|
const defaultNodeEnv = options.production ? "production" : "development";
|
|
3028
3028
|
const env = {
|
|
3029
3029
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_n7xewhgh6ep.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-KAOO6H2Y.js";
|
|
16
16
|
import {
|
|
17
17
|
require_lib,
|
|
18
18
|
require_src
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-S3LCHRAF.js";
|
|
20
20
|
import {
|
|
21
21
|
require_picocolors
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-B2VWNE6A.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__name,
|
|
26
26
|
__require,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4WHWOQIK.js";
|
|
29
29
|
|
|
30
30
|
// ../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
31
31
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-3JDJHMFF.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4WHWOQIK.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-4W5R6G4L.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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_n7xewhgh6ep.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_picomatch,
|
|
14
14
|
require_utils
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HS5SBWIB.js";
|
|
16
16
|
import {
|
|
17
17
|
slash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MESRJ2FJ.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
22
22
|
__require,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-3JDJHMFF.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-4WHWOQIK.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/yocto-queue/index.js
|
|
17
17
|
var Node = class {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-PVLQPTW2.js";
|
|
15
|
+
import "./chunk-KP63VZPN.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WNYIV6J2.js";
|
|
19
19
|
import {
|
|
20
20
|
__name,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4WHWOQIK.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/presets/vitePlugins/vite-inject-mocker/plugin.ts
|
|
25
25
|
import { readFileSync } from "node:fs";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-NED6N56K.js";
|
|
15
15
|
import {
|
|
16
16
|
babelParser,
|
|
17
17
|
extractMockCalls,
|
|
18
18
|
getRealPath,
|
|
19
19
|
rewriteSbMockImportCalls
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S744X6QQ.js";
|
|
21
21
|
import {
|
|
22
22
|
normalize
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KP63VZPN.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4WHWOQIK.js";
|
|
27
27
|
|
|
28
28
|
// src/core-server/presets/vitePlugins/vite-mock/plugin.ts
|
|
29
29
|
import { readFileSync } from "node:fs";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-PVLQPTW2.js";
|
|
15
|
+
import "./chunk-KP63VZPN.js";
|
|
16
16
|
import {
|
|
17
17
|
require_gen_mapping_umd,
|
|
18
18
|
require_trace_mapping_umd
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KAOO6H2Y.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__name,
|
|
23
23
|
__require
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4WHWOQIK.js";
|
|
25
25
|
|
|
26
26
|
// ../node_modules/lodash/_freeGlobal.js
|
|
27
27
|
var require_freeGlobal = __commonJS({
|
package/dist/_node-chunks/{webpack-mock-plugin-ZGDNIVUL.js → webpack-mock-plugin-PJOUVLIC.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-S744X6QQ.js";
|
|
19
|
+
import "./chunk-KP63VZPN.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-ZIHOYEID.js";
|
|
26
|
+
import "../_node-chunks/chunk-KAOO6H2Y.js";
|
|
27
|
+
import "../_node-chunks/chunk-S3LCHRAF.js";
|
|
28
|
+
import "../_node-chunks/chunk-B2VWNE6A.js";
|
|
29
|
+
import "../_node-chunks/chunk-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-4MH3277D.js";
|
|
15
15
|
import {
|
|
16
16
|
globalSettings
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-6OZ7PM6U.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-WNYIV6J2.js";
|
|
21
21
|
import {
|
|
22
22
|
require_picocolors
|
|
23
|
-
} from "../_node-chunks/chunk-
|
|
23
|
+
} from "../_node-chunks/chunk-B2VWNE6A.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-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-2FUNGPJA.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-PVLQPTW2.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-KP63VZPN.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-WNYIV6J2.js";
|
|
25
25
|
import {
|
|
26
26
|
__name,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-4WHWOQIK.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_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.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-EQF4GJEA.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-WNYIV6J2.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-4WHWOQIK.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtyt7p2y5en from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtyt7p2y5en from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtyt7p2y5en from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtyt7p2y5en.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtyt7p2y5en.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtyt7p2y5en.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -42,45 +42,45 @@ import {
|
|
|
42
42
|
supportedTemplates,
|
|
43
43
|
unsupportedTemplate,
|
|
44
44
|
writeFileAsJson
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-G7OHM4NC.js";
|
|
46
46
|
import {
|
|
47
47
|
boxen
|
|
48
|
-
} from "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
48
|
+
} from "../_node-chunks/chunk-AEJQCMUB.js";
|
|
49
|
+
import "../_node-chunks/chunk-X4F7B426.js";
|
|
50
50
|
import {
|
|
51
51
|
Settings,
|
|
52
52
|
_clearGlobalSettings,
|
|
53
53
|
globalSettings
|
|
54
|
-
} from "../_node-chunks/chunk-
|
|
54
|
+
} from "../_node-chunks/chunk-6OZ7PM6U.js";
|
|
55
55
|
import {
|
|
56
56
|
up2 as up
|
|
57
|
-
} from "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
57
|
+
} from "../_node-chunks/chunk-DQS7GIBV.js";
|
|
58
|
+
import "../_node-chunks/chunk-AJXHJIQB.js";
|
|
59
|
+
import "../_node-chunks/chunk-PVLQPTW2.js";
|
|
60
|
+
import "../_node-chunks/chunk-KP63VZPN.js";
|
|
61
61
|
import {
|
|
62
62
|
require_prompts
|
|
63
|
-
} from "../_node-chunks/chunk-
|
|
63
|
+
} from "../_node-chunks/chunk-NCTZ52WV.js";
|
|
64
64
|
import {
|
|
65
65
|
require_dist
|
|
66
|
-
} from "../_node-chunks/chunk-
|
|
66
|
+
} from "../_node-chunks/chunk-WNYIV6J2.js";
|
|
67
67
|
import {
|
|
68
68
|
babelParse,
|
|
69
69
|
recast,
|
|
70
70
|
traverse,
|
|
71
71
|
types
|
|
72
|
-
} from "../_node-chunks/chunk-
|
|
73
|
-
import "../_node-chunks/chunk-
|
|
74
|
-
import "../_node-chunks/chunk-
|
|
72
|
+
} from "../_node-chunks/chunk-ZIHOYEID.js";
|
|
73
|
+
import "../_node-chunks/chunk-KAOO6H2Y.js";
|
|
74
|
+
import "../_node-chunks/chunk-S3LCHRAF.js";
|
|
75
75
|
import {
|
|
76
76
|
require_picocolors
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-B2VWNE6A.js";
|
|
78
78
|
import {
|
|
79
79
|
__commonJS,
|
|
80
80
|
__name,
|
|
81
81
|
__require,
|
|
82
82
|
__toESM
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-4WHWOQIK.js";
|
|
84
84
|
|
|
85
85
|
// ../node_modules/esprima/dist/esprima.js
|
|
86
86
|
var require_esprima = __commonJS({
|