storybook 10.1.0-alpha.0 → 10.1.0-alpha.2
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/{chunk-I74EUU5O.js → chunk-B3S3ROIP.js} +2 -1
- package/dist/_node-chunks/{builder-manager-OTO33TIA.js → builder-manager-XRIDLU42.js} +12 -12
- package/dist/_node-chunks/camelcase-3IIGGJ6N.js +18 -0
- package/dist/_node-chunks/{chunk-27W6KHQ2.js → chunk-2L3QAN3W.js} +7 -7
- package/dist/_node-chunks/{chunk-XI2VU32X.js → chunk-3AR5SJTX.js} +7 -7
- package/dist/_node-chunks/{chunk-SV7ZHC5Z.js → chunk-5RN3IJGF.js} +7 -7
- package/dist/_node-chunks/{chunk-LOF6SIRE.js → chunk-6TX2TV3E.js} +12 -12
- package/dist/_node-chunks/{chunk-FWW4IJCM.js → chunk-6WXUZSNC.js} +10 -10
- package/dist/_node-chunks/{chunk-O4KUWXD6.js → chunk-BAE27Z3H.js} +8 -8
- package/dist/_node-chunks/{chunk-3ICYWJ3N.js → chunk-BB3ZKTWJ.js} +7 -7
- package/dist/_node-chunks/{chunk-2WZNP46P.js → chunk-BYQZFXRF.js} +8 -8
- package/dist/_node-chunks/{chunk-FDDQACQD.js → chunk-D43KJFPO.js} +7 -7
- package/dist/_node-chunks/{chunk-L5WAZZY3.js → chunk-EKPHXLN6.js} +7 -7
- package/dist/_node-chunks/{chunk-A6T2YN75.js → chunk-FI6CLUVL.js} +15 -15
- package/dist/_node-chunks/{chunk-NTB3C5XQ.js → chunk-FWBIPR34.js} +7 -7
- package/dist/_node-chunks/{chunk-ZFRTME73.js → chunk-GWSFLQQQ.js} +22 -21
- package/dist/_node-chunks/{chunk-NTAOH664.js → chunk-HFHQNHRU.js} +9 -9
- package/dist/_node-chunks/{chunk-HYNQ2IX4.js → chunk-IK3K67LJ.js} +7 -7
- package/dist/_node-chunks/{chunk-RKANIOER.js → chunk-L5J4RBU5.js} +8 -8
- package/dist/_node-chunks/{chunk-HHTKRAIE.js → chunk-LJPS53G5.js} +25 -7
- package/dist/_node-chunks/chunk-N3ZE2FCS.js +61 -0
- package/dist/_node-chunks/{chunk-HIGKW2KB.js → chunk-OM4TBMP7.js} +7 -7
- package/dist/_node-chunks/{chunk-Q4CZSEBO.js → chunk-Q5JSLT56.js} +7 -7
- package/dist/_node-chunks/{chunk-6M2IPO4E.js → chunk-QFET4WIW.js} +6 -6
- package/dist/_node-chunks/{chunk-YS6OLN4N.js → chunk-QS5MMNF7.js} +7 -7
- package/dist/_node-chunks/{chunk-AITYHU22.js → chunk-RIPSSVT6.js} +7 -7
- package/dist/_node-chunks/{chunk-6C7OBGYG.js → chunk-RQKELEE4.js} +7 -7
- package/dist/_node-chunks/{chunk-VL6WDGIU.js → chunk-RUJOX3JR.js} +6 -6
- package/dist/_node-chunks/{chunk-RR6Q3657.js → chunk-S6RYOO4I.js} +9 -9
- package/dist/_node-chunks/chunk-U6VJQXTG.js +18 -0
- package/dist/_node-chunks/{chunk-Q6QFW2Y7.js → chunk-VEZ6C62C.js} +39 -24
- package/dist/_node-chunks/{chunk-EFJRT54D.js → chunk-WHOPLOGE.js} +7 -7
- package/dist/_node-chunks/{chunk-OYGAWJQE.js → chunk-XVXUF5GE.js} +7 -7
- package/dist/_node-chunks/{chunk-O3OJUFKU.js → chunk-ZI3WVJBS.js} +8 -8
- package/dist/_node-chunks/{chunk-QOI32MCO.js → chunk-ZN2EDLIJ.js} +7 -7
- package/dist/_node-chunks/{chunk-VW3GGAQI.js → chunk-ZTHTAFLY.js} +12 -12
- package/dist/_node-chunks/{dist-BA2GAJJB.js → dist-Q25SOSXX.js} +9 -9
- package/dist/_node-chunks/{globby-4HAI4KJH.js → globby-I54LIY47.js} +9 -9
- package/dist/_node-chunks/{lib-ITRY6RT7.js → lib-KQD2WJWJ.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-7PULFTZI.js → mdx-N42X6CFJ-CT3A7SBK.js} +8 -8
- package/dist/_node-chunks/{p-limit-63FY4KTG.js → p-limit-2NBKFARM.js} +7 -7
- package/dist/_node-chunks/{plugin-JEBMTDIB.js → plugin-2CCCBGGB.js} +10 -10
- package/dist/_node-chunks/{plugin-2BSKCSMA.js → plugin-RF5FICSG.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-AZ7YPMMD.js → webpack-inject-mocker-runtime-plugin-RY56E77L.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-7IF6PA2O.js → webpack-mock-plugin-6VDFRSC4.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.d.ts +21 -2
- package/dist/common/index.js +22 -20
- package/dist/components/index.js +1 -1
- package/dist/core-server/index.js +150 -103
- package/dist/core-server/presets/common-manager.js +1 -1
- 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-tools/index.d.ts +8 -4
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +5 -4
- 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/runtime.js +2 -2
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +24 -24
- package/dist/test/index.js +2 -2
- package/dist/types/index.d.ts +45 -5
- package/package.json +1 -1
- package/dist/_node-chunks/camelcase-HURSU73A.js +0 -18
- package/dist/_node-chunks/chunk-P7ZABCRS.js +0 -18
- package/dist/_node-chunks/chunk-QWBT2XCX.js +0 -61
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QFET4WIW.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RQKELEE4.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZI3WVJBS.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LJPS53G5.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EKPHXLN6.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__esm,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
__require,
|
|
37
37
|
__toCommonJS,
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RUJOX3JR.js";
|
|
40
40
|
|
|
41
41
|
// ../node_modules/tslib/tslib.es6.mjs
|
|
42
42
|
var tslib_es6_exports = {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
camelCase
|
|
14
|
+
} from "./chunk-5RN3IJGF.js";
|
|
15
|
+
import "./chunk-RUJOX3JR.js";
|
|
16
|
+
export {
|
|
17
|
+
camelCase as default
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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_viqf41uklqm.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RUJOX3JR.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-RUJOX3JR.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/empathic/resolve.mjs
|
|
17
17
|
import { createRequire } from "node:module";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-RUJOX3JR.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/camelcase/index.js
|
|
17
17
|
var UPPERCASE = /[\p{Lu}]/u;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,23 +12,23 @@ var require = CJS_COMPAT_NODE_MODULE_viqf41uklqm.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
any,
|
|
14
14
|
up2 as up
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3AR5SJTX.js";
|
|
16
16
|
import {
|
|
17
17
|
invariant
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D43KJFPO.js";
|
|
19
19
|
import {
|
|
20
20
|
resolvePackageDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZI3WVJBS.js";
|
|
22
22
|
import {
|
|
23
23
|
require_prompts
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BB3ZKTWJ.js";
|
|
25
25
|
import {
|
|
26
26
|
require_picocolors
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2L3QAN3W.js";
|
|
28
28
|
import {
|
|
29
29
|
__name,
|
|
30
30
|
__toESM
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RUJOX3JR.js";
|
|
32
32
|
|
|
33
33
|
// src/cli/project_types.ts
|
|
34
34
|
import { minVersion, validRange } from "semver";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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_viqf41uklqm.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-FWBIPR34.js";
|
|
16
16
|
import {
|
|
17
17
|
require_lib,
|
|
18
18
|
require_src
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QS5MMNF7.js";
|
|
20
20
|
import {
|
|
21
21
|
require_picocolors
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2L3QAN3W.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__name,
|
|
26
26
|
__require,
|
|
27
27
|
__toESM
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RUJOX3JR.js";
|
|
29
29
|
|
|
30
30
|
// ../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
31
31
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-LJPS53G5.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RUJOX3JR.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/mocking-utils/resolve.ts
|
|
25
25
|
import { readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-RUJOX3JR.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/kleur/index.js
|
|
19
19
|
var require_kleur = __commonJS({
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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
|
camelCase
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5RN3IJGF.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RUJOX3JR.js";
|
|
20
20
|
|
|
21
21
|
// ../node_modules/boxen/node_modules/emoji-regex/index.js
|
|
22
22
|
var require_emoji_regex = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-RUJOX3JR.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-RUJOX3JR.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/slash/index.js
|
|
17
17
|
function slash(path) {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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 "./chunk-
|
|
14
|
+
} from "./chunk-U6VJQXTG.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
resolvePathInStorybookCache,
|
|
18
18
|
up
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GWSFLQQQ.js";
|
|
20
20
|
import {
|
|
21
21
|
globalSettings
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-L5J4RBU5.js";
|
|
23
23
|
import {
|
|
24
24
|
execaCommand,
|
|
25
25
|
getProjectRoot
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S6RYOO4I.js";
|
|
27
27
|
import {
|
|
28
28
|
getSessionId,
|
|
29
29
|
nanoid,
|
|
30
30
|
set
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OM4TBMP7.js";
|
|
32
32
|
import {
|
|
33
33
|
resolvePackageDir
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZI3WVJBS.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-EKPHXLN6.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2L3QAN3W.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-RUJOX3JR.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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_viqf41uklqm.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RUJOX3JR.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js
|
|
18
18
|
var require_resolve_uri_umd = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-XVXUF5GE.js";
|
|
15
15
|
import {
|
|
16
16
|
versions_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-N3ZE2FCS.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-S6RYOO4I.js";
|
|
31
31
|
import {
|
|
32
32
|
any,
|
|
33
33
|
from,
|
|
34
34
|
up2 as up
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3AR5SJTX.js";
|
|
36
36
|
import {
|
|
37
37
|
invariant
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-D43KJFPO.js";
|
|
39
39
|
import {
|
|
40
40
|
importModule,
|
|
41
41
|
resolveModulePath,
|
|
42
42
|
resolvePackageDir,
|
|
43
43
|
safeResolveModule
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZI3WVJBS.js";
|
|
45
45
|
import {
|
|
46
46
|
join,
|
|
47
47
|
parse,
|
|
48
48
|
resolve
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LJPS53G5.js";
|
|
50
50
|
import {
|
|
51
51
|
require_prompts
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BB3ZKTWJ.js";
|
|
53
53
|
import {
|
|
54
54
|
glob,
|
|
55
55
|
globSync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-Q5JSLT56.js";
|
|
57
57
|
import {
|
|
58
58
|
slash
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-EKPHXLN6.js";
|
|
60
60
|
import {
|
|
61
61
|
require_dist
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-IK3K67LJ.js";
|
|
63
63
|
import {
|
|
64
64
|
require_picocolors
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-2L3QAN3W.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-RUJOX3JR.js";
|
|
75
75
|
|
|
76
76
|
// ../node_modules/@yarnpkg/fslib/node_modules/tslib/tslib.es6.js
|
|
77
77
|
var tslib_es6_exports = {};
|
|
@@ -14164,7 +14164,7 @@ async function scanAndTransformFiles({
|
|
|
14164
14164
|
initial: defaultGlob
|
|
14165
14165
|
});
|
|
14166
14166
|
console.log("Scanning for affected files...");
|
|
14167
|
-
const globby = (await import("./globby-
|
|
14167
|
+
const globby = (await import("./globby-I54LIY47.js")).globby;
|
|
14168
14168
|
const sourceFiles = await globby([glob2], {
|
|
14169
14169
|
...commonGlobOptions(""),
|
|
14170
14170
|
ignore: ["**/node_modules/**"],
|
|
@@ -14194,7 +14194,7 @@ function transformImports(source, renamedImports) {
|
|
|
14194
14194
|
__name(transformImports, "transformImports");
|
|
14195
14195
|
var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
|
|
14196
14196
|
const errors = [];
|
|
14197
|
-
const { default: pLimit } = await import("./p-limit-
|
|
14197
|
+
const { default: pLimit } = await import("./p-limit-2NBKFARM.js");
|
|
14198
14198
|
const limit = pLimit(10);
|
|
14199
14199
|
await Promise.all(
|
|
14200
14200
|
files.map(
|
|
@@ -14280,6 +14280,7 @@ export {
|
|
|
14280
14280
|
getPreviewHeadTemplate,
|
|
14281
14281
|
validateFrameworkName,
|
|
14282
14282
|
satisfies2 as satisfies,
|
|
14283
|
+
getPrettier,
|
|
14283
14284
|
formatFileContent,
|
|
14284
14285
|
posix3 as posix,
|
|
14285
14286
|
getStoryId,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gimmxetvr7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gimmxetvr7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gimmxetvr7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gimmxetvr7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gimmxetvr7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gimmxetvr7.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-IK3K67LJ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2L3QAN3W.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RUJOX3JR.js";
|
|
22
22
|
|
|
23
23
|
// src/server-errors.ts
|
|
24
24
|
var import_picocolors = __toESM(require_picocolors(), 1);
|