storybook 10.0.0-rc.1 → 10.0.0-rc.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/_browser-chunks/{Color-KPLIACXP.js → Color-7ZNS6F6B.js} +112 -5
- package/dist/_browser-chunks/chunk-AB7OOPUX.js +12 -0
- package/dist/_browser-chunks/{chunk-6E2SHJSL.js → chunk-B4A3ADP3.js} +2 -2
- package/dist/_browser-chunks/chunk-FSBVR7H5.js +106 -0
- package/dist/_browser-chunks/{chunk-2DK2T7MP.js → chunk-SYS437NN.js} +38 -1
- package/dist/_browser-chunks/chunk-U46RQHA4.js +12 -0
- package/dist/_browser-chunks/{chunk-QK3L5AXO.js → chunk-UTNZYD2N.js} +87 -148
- package/dist/_browser-chunks/{chunk-OTSQMN22.js → chunk-W4QKLQSC.js} +7 -7
- package/dist/_browser-chunks/{chunk-JJZMHC3A.js → chunk-ZNRFDIVA.js} +35 -203
- package/dist/_node-chunks/{builder-manager-UDVVFBHZ.js → builder-manager-NIOGGLFD.js} +12 -12
- package/dist/_node-chunks/camelcase-CTANPQBN.js +18 -0
- package/dist/_node-chunks/{chunk-VFMZOJVS.js → chunk-34ZACDOC.js} +10 -10
- package/dist/_node-chunks/{chunk-BQLZIX2Q.js → chunk-3SEBVSWT.js} +7 -7
- package/dist/_node-chunks/{chunk-Y5P4UWNE.js → chunk-5WPK6ACG.js} +7 -7
- package/dist/_node-chunks/{chunk-3R5LD45Z.js → chunk-5ZVI7NBO.js} +7 -7
- package/dist/_node-chunks/{chunk-2BDCE3L3.js → chunk-6PQVBT5D.js} +7 -7
- package/dist/_node-chunks/{chunk-SIW4GO4H.js → chunk-AF3TJ6R5.js} +7 -7
- package/dist/_node-chunks/{chunk-IPXSLDLA.js → chunk-AZH4HEPP.js} +15 -15
- package/dist/_node-chunks/{chunk-SV4BYPXK.js → chunk-CTMEFFNW.js} +8 -8
- package/dist/_node-chunks/{chunk-CRG33JWE.js → chunk-CUEWGHOL.js} +6 -6
- package/dist/_node-chunks/{chunk-GHCHUCI6.js → chunk-EDGA22VS.js} +7 -7
- package/dist/_node-chunks/chunk-EOW64HJZ.js +1518 -0
- package/dist/_node-chunks/{chunk-LU3G37SK.js → chunk-FUCVPILC.js} +9 -9
- package/dist/_node-chunks/{chunk-VUU6O7VI.js → chunk-G5VN3ASC.js} +7 -7
- package/dist/_node-chunks/{chunk-WRNOJIKJ.js → chunk-HGZID3CI.js} +7 -7
- package/dist/_node-chunks/{chunk-UJWKT624.js → chunk-I37OZGFX.js} +7 -7
- package/dist/_node-chunks/{chunk-WT75CKIP.js → chunk-JYCXWPO6.js} +7 -7
- package/dist/_node-chunks/{chunk-P2Y2WO7H.js → chunk-KUXWX4RV.js} +12 -12
- package/dist/_node-chunks/{chunk-NWPHCXHG.js → chunk-ML3GTXPM.js} +6 -6
- package/dist/_node-chunks/{chunk-O6V3EWUU.js → chunk-NSYINCG4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZCRAXS3E.js → chunk-OAP27YU5.js} +8 -8
- package/dist/_node-chunks/{chunk-2WCW6WBN.js → chunk-QPB4P2Q3.js} +7 -7
- package/dist/_node-chunks/{chunk-YIM5CHEY.js → chunk-R2FDNWFD.js} +9 -9
- package/dist/_node-chunks/{chunk-S27PS53I.js → chunk-SZ6FXTRU.js} +7 -7
- package/dist/_node-chunks/{chunk-6EIKR7ZS.js → chunk-TLUDPMLR.js} +8 -8
- package/dist/_node-chunks/chunk-UQKRSNK7.js +61 -0
- package/dist/_node-chunks/{chunk-VF6KHP6R.js → chunk-VDVDOBNV.js} +7 -7
- package/dist/_node-chunks/{chunk-ETMGL223.js → chunk-VHDA7UQR.js} +8 -8
- package/dist/_node-chunks/{chunk-HB37PYB7.js → chunk-WE7755VW.js} +24 -21
- package/dist/_node-chunks/{chunk-7MPLFWHG.js → chunk-WRCI3EYU.js} +7 -7
- package/dist/_node-chunks/{chunk-N2JV6FZG.js → chunk-WSINFVEL.js} +7 -7
- package/dist/_node-chunks/{chunk-UVZAIPBG.js → chunk-XA5ZNWSM.js} +7 -7
- package/dist/_node-chunks/chunk-XC2HC4KH.js +18 -0
- package/dist/_node-chunks/{chunk-FJPST7C2.js → chunk-XFBFSXFJ.js} +8 -8
- package/dist/_node-chunks/{dist-KKBN5NK7.js → dist-SXAIWZGI.js} +9 -9
- package/dist/_node-chunks/{globby-DCTHVPS7.js → globby-W4JFDHUY.js} +9 -9
- package/dist/_node-chunks/{lib-AAIV2OLH.js → lib-PMWBRG3N.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-7FIB6GQ2.js → mdx-N42X6CFJ-IVVYYMYF.js} +8 -8
- package/dist/_node-chunks/{p-limit-Y5VDO334.js → p-limit-PE5BWDZH.js} +7 -7
- package/dist/_node-chunks/{plugin-AOOT7HFP.js → plugin-OGRBN4O7.js} +10 -10
- package/dist/_node-chunks/{plugin-ZUT5HESO.js → plugin-ZVWKMXMK.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-6H3PHE5K.js → webpack-inject-mocker-runtime-plugin-SXMOGYNE.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-RSJCOU6H.js → webpack-mock-plugin-X64FENVZ.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 +237 -20326
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +721 -7715
- package/dist/core-server/presets/common-manager.js +12 -11
- 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 +6 -6
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +5 -5
- package/dist/manager/globals-runtime.js +105 -7186
- package/dist/manager/runtime.js +309 -7317
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +15 -45
- package/dist/node-logger/index.js +14 -14
- package/dist/preview/runtime.js +106 -7187
- package/dist/preview-api/index.js +6 -6
- package/dist/router/index.js +5 -3
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/dist/test/index.js +104 -7185
- package/dist/types/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/_browser-chunks/chunk-FA42P6MO.js +0 -107
- package/dist/_browser-chunks/chunk-G33S6YM3.js +0 -521
- package/dist/_browser-chunks/chunk-KSCAWCCE.js +0 -6093
- package/dist/_browser-chunks/chunk-WKCVJYVJ.js +0 -0
- package/dist/_node-chunks/camelcase-OLULABBT.js +0 -18
- package/dist/_node-chunks/chunk-V6MYZCMZ.js +0 -61
- package/dist/_node-chunks/chunk-XNSVOMTF.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-WSINFVEL.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__name,
|
|
20
20
|
__require,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CUEWGHOL.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-PMWBRG3N.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_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-CUEWGHOL.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/kleur/index.js
|
|
19
19
|
var require_kleur = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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_xqgzht15kj.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__name,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CUEWGHOL.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
18
18
|
var __create = Object.create;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-CUEWGHOL.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/slash/index.js
|
|
17
17
|
function slash(path) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-CUEWGHOL.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/picomatch/lib/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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_build
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRCI3EYU.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OAP27YU5.js";
|
|
18
18
|
import {
|
|
19
19
|
require_prompts
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-G5VN3ASC.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3SEBVSWT.js";
|
|
24
24
|
import {
|
|
25
25
|
require_picocolors
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5WPK6ACG.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CUEWGHOL.js";
|
|
31
31
|
|
|
32
32
|
// src/core-server/utils/server-statics.ts
|
|
33
33
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-CUEWGHOL.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/ms/index.js
|
|
19
19
|
var require_ms = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_xqgzht15kj.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AF3TJ6R5.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CUEWGHOL.js";
|
|
19
19
|
|
|
20
20
|
// ../node_modules/exsolve/dist/index.mjs
|
|
21
21
|
import fs, { realpathSync, statSync, lstatSync } from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-CUEWGHOL.js";
|
|
15
15
|
|
|
16
16
|
// src/telemetry/event-cache.ts
|
|
17
17
|
import { cache } from "storybook/internal/common";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3SEBVSWT.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5WPK6ACG.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CUEWGHOL.js";
|
|
22
22
|
|
|
23
23
|
// src/server-errors.ts
|
|
24
24
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CUEWGHOL.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/pretty-hrtime/index.js
|
|
17
17
|
var require_pretty_hrtime = __commonJS({
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3SEBVSWT.js";
|
|
15
15
|
import {
|
|
16
16
|
__export,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CUEWGHOL.js";
|
|
20
20
|
|
|
21
21
|
// src/cli/globalSettings.ts
|
|
22
22
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// src/common/versions.ts
|
|
14
|
+
var versions_default = {
|
|
15
|
+
"@storybook/addon-a11y": "10.0.0-rc.3",
|
|
16
|
+
"@storybook/addon-docs": "10.0.0-rc.3",
|
|
17
|
+
"@storybook/addon-links": "10.0.0-rc.3",
|
|
18
|
+
"@storybook/addon-onboarding": "10.0.0-rc.3",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.0.0-rc.3",
|
|
20
|
+
"@storybook/addon-themes": "10.0.0-rc.3",
|
|
21
|
+
"@storybook/addon-vitest": "10.0.0-rc.3",
|
|
22
|
+
"@storybook/builder-vite": "10.0.0-rc.3",
|
|
23
|
+
"@storybook/builder-webpack5": "10.0.0-rc.3",
|
|
24
|
+
storybook: "10.0.0-rc.3",
|
|
25
|
+
"@storybook/angular": "10.0.0-rc.3",
|
|
26
|
+
"@storybook/ember": "10.0.0-rc.3",
|
|
27
|
+
"@storybook/html-vite": "10.0.0-rc.3",
|
|
28
|
+
"@storybook/nextjs": "10.0.0-rc.3",
|
|
29
|
+
"@storybook/nextjs-vite": "10.0.0-rc.3",
|
|
30
|
+
"@storybook/preact-vite": "10.0.0-rc.3",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.0.0-rc.3",
|
|
32
|
+
"@storybook/react-vite": "10.0.0-rc.3",
|
|
33
|
+
"@storybook/react-webpack5": "10.0.0-rc.3",
|
|
34
|
+
"@storybook/server-webpack5": "10.0.0-rc.3",
|
|
35
|
+
"@storybook/svelte-vite": "10.0.0-rc.3",
|
|
36
|
+
"@storybook/sveltekit": "10.0.0-rc.3",
|
|
37
|
+
"@storybook/vue3-vite": "10.0.0-rc.3",
|
|
38
|
+
"@storybook/web-components-vite": "10.0.0-rc.3",
|
|
39
|
+
sb: "10.0.0-rc.3",
|
|
40
|
+
"@storybook/cli": "10.0.0-rc.3",
|
|
41
|
+
"@storybook/codemod": "10.0.0-rc.3",
|
|
42
|
+
"@storybook/core-webpack": "10.0.0-rc.3",
|
|
43
|
+
"create-storybook": "10.0.0-rc.3",
|
|
44
|
+
"@storybook/csf-plugin": "10.0.0-rc.3",
|
|
45
|
+
"eslint-plugin-storybook": "10.0.0-rc.3",
|
|
46
|
+
"@storybook/react-dom-shim": "10.0.0-rc.3",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.0.0-rc.3",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.0.0-rc.3",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.0.0-rc.3",
|
|
50
|
+
"@storybook/html": "10.0.0-rc.3",
|
|
51
|
+
"@storybook/preact": "10.0.0-rc.3",
|
|
52
|
+
"@storybook/react": "10.0.0-rc.3",
|
|
53
|
+
"@storybook/server": "10.0.0-rc.3",
|
|
54
|
+
"@storybook/svelte": "10.0.0-rc.3",
|
|
55
|
+
"@storybook/vue3": "10.0.0-rc.3",
|
|
56
|
+
"@storybook/web-components": "10.0.0-rc.3"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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-CUEWGHOL.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
17
17
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
join,
|
|
17
17
|
normalize,
|
|
18
18
|
resolve
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AF3TJ6R5.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CUEWGHOL.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/mocking-utils/resolve.ts
|
|
25
25
|
import { readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gf85phjy0t from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gf85phjy0t from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gf85phjy0t from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gf85phjy0t.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gf85phjy0t.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gf85phjy0t.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_picomatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JYCXWPO6.js";
|
|
15
15
|
import {
|
|
16
16
|
versions_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UQKRSNK7.js";
|
|
18
18
|
import {
|
|
19
19
|
BUN_LOCKFILE,
|
|
20
20
|
BUN_LOCKFILE_BINARY,
|
|
@@ -27,42 +27,42 @@ import {
|
|
|
27
27
|
getProjectRoot,
|
|
28
28
|
normalizeStoryPath,
|
|
29
29
|
require_cross_spawn
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FUCVPILC.js";
|
|
31
31
|
import {
|
|
32
32
|
any,
|
|
33
33
|
from,
|
|
34
34
|
up2 as up
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WSINFVEL.js";
|
|
36
36
|
import {
|
|
37
37
|
invariant
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5ZVI7NBO.js";
|
|
39
39
|
import {
|
|
40
40
|
importModule,
|
|
41
41
|
resolveModulePath,
|
|
42
42
|
resolvePackageDir,
|
|
43
43
|
safeResolveModule
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OAP27YU5.js";
|
|
45
45
|
import {
|
|
46
46
|
join,
|
|
47
47
|
parse,
|
|
48
48
|
resolve
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-AF3TJ6R5.js";
|
|
50
50
|
import {
|
|
51
51
|
require_prompts
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-G5VN3ASC.js";
|
|
53
53
|
import {
|
|
54
54
|
glob,
|
|
55
55
|
globSync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-XA5ZNWSM.js";
|
|
57
57
|
import {
|
|
58
58
|
slash
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-I37OZGFX.js";
|
|
60
60
|
import {
|
|
61
61
|
require_dist
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-3SEBVSWT.js";
|
|
63
63
|
import {
|
|
64
64
|
require_picocolors
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-5WPK6ACG.js";
|
|
66
66
|
import {
|
|
67
67
|
__commonJS,
|
|
68
68
|
__esm,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
__require,
|
|
72
72
|
__toCommonJS,
|
|
73
73
|
__toESM
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-CUEWGHOL.js";
|
|
75
75
|
|
|
76
76
|
// ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
|
|
77
77
|
var tslib_es6_exports = {};
|
|
@@ -11633,6 +11633,7 @@ var JsPackageManager = class _JsPackageManager {
|
|
|
11633
11633
|
}
|
|
11634
11634
|
return execaProcess;
|
|
11635
11635
|
}
|
|
11636
|
+
// TODO: Remove pnp compatibility code in SB11
|
|
11636
11637
|
/** Returns the installed (within node_modules or pnp zip) version of a specified package */
|
|
11637
11638
|
async getInstalledVersion(packageName) {
|
|
11638
11639
|
const cacheKey = packageName;
|
|
@@ -13378,6 +13379,7 @@ var PNPMProxy = class extends JsPackageManager {
|
|
|
13378
13379
|
return void 0;
|
|
13379
13380
|
}
|
|
13380
13381
|
}
|
|
13382
|
+
// TODO: Remove pnp compatibility code in SB11
|
|
13381
13383
|
async getModulePackageJSON(packageName) {
|
|
13382
13384
|
const pnpapiPath = any([".pnp.js", ".pnp.cjs"], {
|
|
13383
13385
|
cwd: this.primaryPackageJson.operationDir,
|
|
@@ -13818,6 +13820,7 @@ var Yarn2Proxy = class extends JsPackageManager {
|
|
|
13818
13820
|
return void 0;
|
|
13819
13821
|
}
|
|
13820
13822
|
}
|
|
13823
|
+
// TODO: Remove pnp compatibility code in SB11
|
|
13821
13824
|
async getModulePackageJSON(packageName) {
|
|
13822
13825
|
const pnpapiPath = any([".pnp.js", ".pnp.cjs"], {
|
|
13823
13826
|
cwd: this.cwd,
|
|
@@ -14162,7 +14165,7 @@ async function scanAndTransformFiles({
|
|
|
14162
14165
|
initial: defaultGlob
|
|
14163
14166
|
});
|
|
14164
14167
|
console.log("Scanning for affected files...");
|
|
14165
|
-
const globby = (await import("./globby-
|
|
14168
|
+
const globby = (await import("./globby-W4JFDHUY.js")).globby;
|
|
14166
14169
|
const sourceFiles = await globby([glob2], {
|
|
14167
14170
|
...commonGlobOptions(""),
|
|
14168
14171
|
ignore: ["**/node_modules/**"],
|
|
@@ -14192,7 +14195,7 @@ function transformImports(source, renamedImports) {
|
|
|
14192
14195
|
__name(transformImports, "transformImports");
|
|
14193
14196
|
var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
|
|
14194
14197
|
const errors = [];
|
|
14195
|
-
const { default: pLimit } = await import("./p-limit-
|
|
14198
|
+
const { default: pLimit } = await import("./p-limit-PE5BWDZH.js");
|
|
14196
14199
|
const limit = pLimit(10);
|
|
14197
14200
|
await Promise.all(
|
|
14198
14201
|
files.map(
|