storybook 10.5.0 → 10.5.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/_node-chunks/{builder-manager-XIMR4NGJ.js → builder-manager-MDQO5EAE.js} +13 -13
- package/dist/_node-chunks/{camelcase-LHFW4J7B.js → camelcase-6XEUTQUX.js} +7 -7
- package/dist/_node-chunks/{chunk-XGLK2JRA.js → chunk-3Z72BN2O.js} +9 -9
- package/dist/_node-chunks/{chunk-NXH67N4S.js → chunk-6UL4JSXM.js} +7 -7
- package/dist/_node-chunks/{chunk-5SVYOSQR.js → chunk-6ULFHL6K.js} +9 -9
- package/dist/_node-chunks/{chunk-D42WAKAJ.js → chunk-7ECT64CN.js} +9 -9
- package/dist/_node-chunks/{chunk-RIARFK7G.js → chunk-7JNMMTGT.js} +7 -7
- package/dist/_node-chunks/{chunk-ONALV673.js → chunk-A4WJ7EKJ.js} +6 -6
- package/dist/_node-chunks/{chunk-WNYUQAFN.js → chunk-APO3PTLJ.js} +6 -6
- package/dist/_node-chunks/{chunk-VKFJLSIZ.js → chunk-ARFPTUMX.js} +7 -7
- package/dist/_node-chunks/{chunk-HAN44MVS.js → chunk-AWYALHME.js} +6 -6
- package/dist/_node-chunks/{chunk-6BBCMK2E.js → chunk-B4IABTQ3.js} +12 -12
- package/dist/_node-chunks/{chunk-4X66OVAC.js → chunk-BALALD4X.js} +6 -6
- package/dist/_node-chunks/{chunk-IAHCG5SY.js → chunk-COYLOOWU.js} +6 -6
- package/dist/_node-chunks/{chunk-VFV5MDK3.js → chunk-E7RB6U6N.js} +21 -21
- package/dist/_node-chunks/chunk-EA5TPHTI.js +85 -0
- package/dist/_node-chunks/{chunk-IYHL7P35.js → chunk-EEJDL3CO.js} +6 -6
- package/dist/_node-chunks/{chunk-BSSMDXLU.js → chunk-EOPS5YMG.js} +6 -6
- package/dist/_node-chunks/{chunk-Q6LJZFXW.js → chunk-EP62DDR5.js} +7 -7
- package/dist/_node-chunks/{chunk-EONKEATP.js → chunk-EXUHNYQA.js} +6 -6
- package/dist/_node-chunks/{chunk-IX5QBGTT.js → chunk-GQUENEWX.js} +6 -6
- package/dist/_node-chunks/{chunk-HFCMUCGM.js → chunk-HUZAN6KI.js} +9 -9
- package/dist/_node-chunks/{chunk-3I7UZF4L.js → chunk-I6XXMEZR.js} +9 -9
- package/dist/_node-chunks/{chunk-PTVE4JY6.js → chunk-IIQQ23JF.js} +6 -6
- package/dist/_node-chunks/{chunk-KHGPJOK6.js → chunk-JZQNQGOW.js} +6 -6
- package/dist/_node-chunks/{chunk-7H2QWASA.js → chunk-KKTACLFV.js} +14 -14
- package/dist/_node-chunks/{chunk-YOJEDPR4.js → chunk-KLIPUMKK.js} +7 -7
- package/dist/_node-chunks/{chunk-5QBPSITR.js → chunk-L5VWXABX.js} +10 -10
- package/dist/_node-chunks/{chunk-LMAJUNK2.js → chunk-LKXCSQ7V.js} +8 -8
- package/dist/_node-chunks/{chunk-YU24DKXR.js → chunk-LXJZZZ2P.js} +6 -6
- package/dist/_node-chunks/{chunk-BFTJL2HZ.js → chunk-MBTAHAR3.js} +7 -7
- package/dist/_node-chunks/{chunk-3FG4ZIOY.js → chunk-OFTQHXQQ.js} +7 -7
- package/dist/_node-chunks/{chunk-EV2CT3GE.js → chunk-PHW34MLA.js} +6 -6
- package/dist/_node-chunks/{chunk-YXP5YOPH.js → chunk-PPNUHXGF.js} +24 -24
- package/dist/_node-chunks/{chunk-4DVJ2XLD.js → chunk-R4AMWNCV.js} +17 -17
- package/dist/_node-chunks/{chunk-XJ2M3N7X.js → chunk-RCWE4JJE.js} +7 -7
- package/dist/_node-chunks/{chunk-57SVN5FU.js → chunk-TLXKE3II.js} +6 -6
- package/dist/_node-chunks/{chunk-SJMIDNON.js → chunk-VEVLFFRF.js} +7 -7
- package/dist/_node-chunks/{chunk-UM2ZG4W6.js → chunk-VV5PPQIL.js} +7 -7
- package/dist/_node-chunks/{chunk-C2HCSW4Z.js → chunk-WN4AUSLT.js} +6 -6
- package/dist/_node-chunks/{chunk-2XRAUFH3.js → chunk-WWUYXBZF.js} +8 -8
- package/dist/_node-chunks/{chunk-4MJR6CNZ.js → chunk-XYFE5TDF.js} +7 -7
- package/dist/_node-chunks/{chunk-QXYFYOF4.js → chunk-YDTFLIMR.js} +6 -6
- package/dist/_node-chunks/{chunk-A5K36J6C.js → chunk-Z7UBLSJR.js} +10 -10
- package/dist/_node-chunks/{globby-APSF6JYH.js → globby-4AK4FTK3.js} +9 -9
- package/dist/_node-chunks/{lib-HLGV2BK5.js → lib-NHHDBIJ2.js} +7 -7
- package/dist/_node-chunks/{monorepo-NDS5CV6L.js → monorepo-NKZTN4VU.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-34MHHWJM.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-LN5S4DM7.js} +11 -11
- package/dist/_node-chunks/optimized-tests-WXQCKCFB.js +22 -0
- package/dist/_node-chunks/p-limit-WOMCSJ3M.js +20 -0
- package/dist/_node-chunks/{pattern-copy-play-XPHBQ4VN.js → pattern-copy-play-QW7VE366.js} +10 -10
- package/dist/_node-chunks/{relaxed-limits-6U4HLXBS.js → relaxed-limits-UDRPVF5D.js} +11 -11
- package/dist/_node-chunks/session-id-VI37FC67.js +23 -0
- package/dist/_node-chunks/{setup-SN3K7XFX.js → setup-MXEHW2G2.js} +9 -9
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +25 -25
- package/dist/bin/dispatcher.js +12 -12
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +21 -21
- package/dist/common/index.js +25 -25
- package/dist/core-server/index.js +42 -42
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +33 -33
- package/dist/csf-tools/index.js +10 -10
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +9 -9
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +11 -11
- package/dist/oxc-parser/worker.js +11 -11
- package/dist/server-errors.js +10 -10
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +31 -31
- package/dist/test/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-6HPNADJF.js +0 -85
- package/dist/_node-chunks/optimized-tests-R3RO33FS.js +0 -22
- package/dist/_node-chunks/p-limit-HULXHXNL.js +0 -20
- package/dist/_node-chunks/session-id-YXMGQCBN.js +0 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GQUENEWX.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6UL4JSXM.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-WWUYXBZF.js";
|
|
24
|
+
import "./chunk-PHW34MLA.js";
|
|
25
25
|
import {
|
|
26
26
|
join,
|
|
27
27
|
parse
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EOPS5YMG.js";
|
|
29
29
|
import {
|
|
30
30
|
slash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JZQNQGOW.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TLXKE3II.js";
|
|
37
37
|
|
|
38
38
|
// ../../node_modules/ejs/lib/utils.js
|
|
39
39
|
var require_utils = __commonJS({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TLXKE3II.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/camelcase/index.js
|
|
15
15
|
var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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
|
Tag
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BALALD4X.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KLIPUMKK.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TLXKE3II.js";
|
|
21
21
|
|
|
22
22
|
// src/csf-tools/CsfFile.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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_3za304dh1il.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TLXKE3II.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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
|
invariant
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-COYLOOWU.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KLIPUMKK.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TLXKE3II.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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-KLIPUMKK.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picocolors
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VV5PPQIL.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TLXKE3II.js";
|
|
21
21
|
|
|
22
22
|
// src/server-errors.ts
|
|
23
23
|
var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -42,7 +42,7 @@ async function isWithinInitialSession(events) {
|
|
|
42
42
|
let eventTypes = Array.isArray(events) ? events : [events], lastEvents = await getLastEvents(), lastRelevantEvent = lastEvent(lastEvents, eventTypes);
|
|
43
43
|
if (!lastRelevantEvent)
|
|
44
44
|
return !1;
|
|
45
|
-
let { getSessionId } = await import("./session-id-
|
|
45
|
+
let { getSessionId } = await import("./session-id-VI37FC67.js"), sessionId = await getSessionId();
|
|
46
46
|
return !(lastRelevantEvent.body?.sessionId && lastRelevantEvent.body.sessionId !== sessionId);
|
|
47
47
|
} catch {
|
|
48
48
|
return !1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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
|
normalize
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EOPS5YMG.js";
|
|
15
15
|
|
|
16
16
|
// src/shared/open-service/services/module-graph/types.ts
|
|
17
17
|
import { posix, win32 } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,27 +14,27 @@ import {
|
|
|
14
14
|
recast,
|
|
15
15
|
traverse,
|
|
16
16
|
types
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I6XXMEZR.js";
|
|
18
18
|
import {
|
|
19
19
|
any,
|
|
20
20
|
detectIndent,
|
|
21
21
|
invariant,
|
|
22
22
|
up2 as up
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EEJDL3CO.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePackageDir
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WWUYXBZF.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KLIPUMKK.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picocolors
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VV5PPQIL.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
36
36
|
__toESM
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TLXKE3II.js";
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/esprima/dist/esprima.js
|
|
40
40
|
var require_esprima = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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
|
require_picomatch,
|
|
14
14
|
toPath,
|
|
15
15
|
traversePathUp
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OFTQHXQQ.js";
|
|
17
17
|
import {
|
|
18
18
|
versions_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EA5TPHTI.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LKXCSQ7V.js";
|
|
23
23
|
import {
|
|
24
24
|
BUN_LOCKFILE,
|
|
25
25
|
BUN_LOCKFILE_BINARY,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
findFilesUp,
|
|
30
30
|
getProjectRoot,
|
|
31
31
|
normalizeStoryPath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KKTACLFV.js";
|
|
33
33
|
import {
|
|
34
34
|
any,
|
|
35
35
|
detectIndent,
|
|
@@ -37,35 +37,35 @@ import {
|
|
|
37
37
|
invariant,
|
|
38
38
|
up,
|
|
39
39
|
up2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EEJDL3CO.js";
|
|
41
41
|
import {
|
|
42
42
|
importModule,
|
|
43
43
|
resolveModulePath,
|
|
44
44
|
resolvePackageDir,
|
|
45
45
|
safeResolveModule
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WWUYXBZF.js";
|
|
47
47
|
import {
|
|
48
48
|
jsModuleExtensions,
|
|
49
49
|
storybookConfigExtensions
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PHW34MLA.js";
|
|
51
51
|
import {
|
|
52
52
|
require_dist
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-KLIPUMKK.js";
|
|
54
54
|
import {
|
|
55
55
|
require_picocolors
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-VV5PPQIL.js";
|
|
57
57
|
import {
|
|
58
58
|
join,
|
|
59
59
|
parse,
|
|
60
60
|
resolve
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EOPS5YMG.js";
|
|
62
62
|
import {
|
|
63
63
|
slash
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-JZQNQGOW.js";
|
|
65
65
|
import {
|
|
66
66
|
glob,
|
|
67
67
|
globSync
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-MBTAHAR3.js";
|
|
69
69
|
import {
|
|
70
70
|
__commonJS,
|
|
71
71
|
__esm,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
__require,
|
|
74
74
|
__toCommonJS,
|
|
75
75
|
__toESM
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-TLXKE3II.js";
|
|
77
77
|
|
|
78
78
|
// ../../node_modules/isexe/windows.js
|
|
79
79
|
var require_windows = __commonJS({
|
|
@@ -22220,7 +22220,7 @@ async function scanAndTransformFiles({
|
|
|
22220
22220
|
initialValue: defaultGlob
|
|
22221
22221
|
});
|
|
22222
22222
|
logger17.log("Scanning for affected files...");
|
|
22223
|
-
let globby = (await import("./globby-
|
|
22223
|
+
let globby = (await import("./globby-4AK4FTK3.js")).globby, sourceFiles = await globby([glob2], {
|
|
22224
22224
|
...commonGlobOptions(""),
|
|
22225
22225
|
ignore: ["**/node_modules/**"],
|
|
22226
22226
|
dot: !0,
|
|
@@ -22241,7 +22241,7 @@ function transformImports(source, renamedImports) {
|
|
|
22241
22241
|
return hasChanges ? transformed : null;
|
|
22242
22242
|
}
|
|
22243
22243
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
22244
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
22244
|
+
let errors = [], { default: pLimit } = await import("./p-limit-WOMCSJ3M.js"), limit = pLimit(10);
|
|
22245
22245
|
return await Promise.all(
|
|
22246
22246
|
files.map(
|
|
22247
22247
|
(file) => limit(async () => {
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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.5.2",
|
|
16
|
+
"@storybook/addon-docs": "10.5.2",
|
|
17
|
+
"@storybook/addon-links": "10.5.2",
|
|
18
|
+
"@storybook/addon-onboarding": "10.5.2",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.5.2",
|
|
20
|
+
"@storybook/addon-themes": "10.5.2",
|
|
21
|
+
"@storybook/addon-vitest": "10.5.2",
|
|
22
|
+
"@storybook/builder-vite": "10.5.2",
|
|
23
|
+
"@storybook/builder-webpack5": "10.5.2",
|
|
24
|
+
storybook: "10.5.2",
|
|
25
|
+
"@storybook/angular": "10.5.2",
|
|
26
|
+
"@storybook/angular-vite": "10.5.2",
|
|
27
|
+
"@storybook/ember": "10.5.2",
|
|
28
|
+
"@storybook/html-vite": "10.5.2",
|
|
29
|
+
"@storybook/nextjs": "10.5.2",
|
|
30
|
+
"@storybook/nextjs-vite": "10.5.2",
|
|
31
|
+
"@storybook/preact-vite": "10.5.2",
|
|
32
|
+
"@storybook/react-native-web-vite": "10.5.2",
|
|
33
|
+
"@storybook/react-vite": "10.5.2",
|
|
34
|
+
"@storybook/react-webpack5": "10.5.2",
|
|
35
|
+
"@storybook/server-webpack5": "10.5.2",
|
|
36
|
+
"@storybook/svelte-vite": "10.5.2",
|
|
37
|
+
"@storybook/sveltekit": "10.5.2",
|
|
38
|
+
"@storybook/tanstack-react": "10.5.2",
|
|
39
|
+
"@storybook/vue3-vite": "10.5.2",
|
|
40
|
+
"@storybook/web-components-vite": "10.5.2",
|
|
41
|
+
sb: "10.5.2",
|
|
42
|
+
"@storybook/cli": "10.5.2",
|
|
43
|
+
"@storybook/codemod": "10.5.2",
|
|
44
|
+
"@storybook/core-webpack": "10.5.2",
|
|
45
|
+
"create-storybook": "10.5.2",
|
|
46
|
+
"@storybook/csf-plugin": "10.5.2",
|
|
47
|
+
"eslint-plugin-storybook": "10.5.2",
|
|
48
|
+
"@storybook/react-dom-shim": "10.5.2",
|
|
49
|
+
"@storybook/preset-create-react-app": "10.5.2",
|
|
50
|
+
"@storybook/preset-react-webpack": "10.5.2",
|
|
51
|
+
"@storybook/preset-server-webpack": "10.5.2",
|
|
52
|
+
"@storybook/html": "10.5.2",
|
|
53
|
+
"@storybook/preact": "10.5.2",
|
|
54
|
+
"@storybook/react": "10.5.2",
|
|
55
|
+
"@storybook/server": "10.5.2",
|
|
56
|
+
"@storybook/svelte": "10.5.2",
|
|
57
|
+
"@storybook/vue3": "10.5.2",
|
|
58
|
+
"@storybook/web-components": "10.5.2"
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
// src/common/node-version.ts
|
|
62
|
+
import { satisfies } from "semver";
|
|
63
|
+
var MIN_SUPPORTED_NODE_VERSIONS = [
|
|
64
|
+
{ major: 20, minor: 19, patch: 0 },
|
|
65
|
+
{ major: 22, minor: 12, patch: 0 }
|
|
66
|
+
];
|
|
67
|
+
function formatMinVersion(v) {
|
|
68
|
+
return v.minor === 0 && v.patch === 0 ? `${v.major}+` : v.patch === 0 ? `${v.major}.${v.minor}+` : `${v.major}.${v.minor}.${v.patch}+`;
|
|
69
|
+
}
|
|
70
|
+
var MIN_SUPPORTED_NODE_DESCRIPTION = MIN_SUPPORTED_NODE_VERSIONS.map(formatMinVersion).join(" or ");
|
|
71
|
+
function isNodeVersionSupported(major, minor, patch) {
|
|
72
|
+
let sortedMinimums = [...MIN_SUPPORTED_NODE_VERSIONS].sort((a, b) => a.major - b.major), supportedRange = sortedMinimums.map((min, index) => {
|
|
73
|
+
let next = sortedMinimums[index + 1], lowerBound = `>=${min.major}.${min.minor}.${min.patch}`;
|
|
74
|
+
return next ? `${lowerBound} <${next.major}.0.0` : lowerBound;
|
|
75
|
+
}).join(" || ");
|
|
76
|
+
return satisfies(`${major}.${minor}.${patch}`, supportedRange);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export {
|
|
80
|
+
versions_default,
|
|
81
|
+
MIN_SUPPORTED_NODE_VERSIONS,
|
|
82
|
+
formatMinVersion,
|
|
83
|
+
MIN_SUPPORTED_NODE_DESCRIPTION,
|
|
84
|
+
isNodeVersionSupported
|
|
85
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.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_qr9p03ym1e9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qr9p03ym1e9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qr9p03ym1e9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qr9p03ym1e9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qr9p03ym1e9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qr9p03ym1e9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|