storybook 10.4.3 → 10.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node-chunks/{builder-manager-S4AMI67M.js → builder-manager-ML5UXL3U.js} +13 -12
- package/dist/_node-chunks/{camelcase-EGNQ2JHN.js → camelcase-OQUPHNXH.js} +7 -7
- package/dist/_node-chunks/{chunk-QTJ23TAE.js → chunk-3FBJJ3J7.js} +20 -20
- package/dist/_node-chunks/{chunk-6GLEZUPS.js → chunk-3X73JSWN.js} +8 -8
- package/dist/_node-chunks/{chunk-YPTE6EJM.js → chunk-4CKOOAKX.js} +9 -9
- package/dist/_node-chunks/{chunk-44YWME5V.js → chunk-75LGFSSP.js} +6 -6
- package/dist/_node-chunks/{chunk-7HUVSFHY.js → chunk-AVCEQXMX.js} +6 -6
- package/dist/_node-chunks/{chunk-C4KI5RNF.js → chunk-DKPTV7OY.js} +7 -7
- package/dist/_node-chunks/{chunk-XAXODSDY.js → chunk-FS7UJHJO.js} +10 -10
- package/dist/_node-chunks/{chunk-RYS4RAEO.js → chunk-H3J77TM6.js} +6 -6
- package/dist/_node-chunks/{chunk-SA3UWYRW.js → chunk-HT5O7ZWA.js} +8 -8
- package/dist/_node-chunks/{chunk-OCHY2TY6.js → chunk-L64YPGUF.js} +7 -7
- package/dist/_node-chunks/{chunk-Y5XIETER.js → chunk-LGWDBQCF.js} +6 -6
- package/dist/_node-chunks/{chunk-7NHIPC5Z.js → chunk-MI22B6QL.js} +19 -19
- package/dist/_node-chunks/{chunk-HM6QFLRG.js → chunk-NMZ2FUOR.js} +7 -7
- package/dist/_node-chunks/{chunk-W2YN4DWA.js → chunk-NXMYSVH6.js} +12 -12
- package/dist/_node-chunks/chunk-ONBWXGRU.js +84 -0
- package/dist/_node-chunks/{chunk-DDXC5KYD.js → chunk-OOFBFCWG.js} +7 -7
- package/dist/_node-chunks/{chunk-W6G6WTNU.js → chunk-OPKU3YFW.js} +7 -7
- package/dist/_node-chunks/{chunk-7LMLRE2Q.js → chunk-OPPP3ZVD.js} +9 -9
- package/dist/_node-chunks/{chunk-NP3B2HKL.js → chunk-Q6DQCNHY.js} +7 -7
- package/dist/_node-chunks/chunk-RLSKSEJD.js +18 -0
- package/dist/_node-chunks/{chunk-SSZGIGV7.js → chunk-SIHYXN6T.js} +6 -6
- package/dist/_node-chunks/{chunk-NU6RNHCQ.js → chunk-SSLFYQA4.js} +7 -7
- package/dist/_node-chunks/{chunk-JL6WVRJP.js → chunk-TPRFXFAJ.js} +7 -7
- package/dist/_node-chunks/{chunk-ZQ5NLTS2.js → chunk-TQLYOGGH.js} +19 -19
- package/dist/_node-chunks/{chunk-SOCOANKH.js → chunk-ULZBLQ6I.js} +7 -7
- package/dist/_node-chunks/{chunk-IROO3KK3.js → chunk-UX445D4A.js} +6 -6
- package/dist/_node-chunks/{chunk-66M6CYI3.js → chunk-WVKUKJCY.js} +9 -9
- package/dist/_node-chunks/{chunk-VWS27CF2.js → chunk-X7PI2AKG.js} +6 -6
- package/dist/_node-chunks/{chunk-SJTHLB7E.js → chunk-XZNPZNTE.js} +9 -9
- package/dist/_node-chunks/{chunk-NGVYRHZL.js → chunk-YELFZJ2B.js} +6 -6
- package/dist/_node-chunks/{globby-VANCOAKK.js → globby-W5ZVMK2K.js} +9 -9
- package/dist/_node-chunks/{lib-U4CGBRN4.js → lib-RAUDNJ5V.js} +7 -7
- package/dist/_node-chunks/p-limit-RUP5WM5V.js +20 -0
- package/dist/_node-chunks/session-id-ZD2SDJCL.js +22 -0
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +19 -19
- package/dist/common/index.js +20 -20
- package/dist/core-server/index.js +35 -35
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +26 -26
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- 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/telemetry/index.js +25 -25
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-ADQFWPTE.js +0 -18
- package/dist/_node-chunks/chunk-DUA3THVM.js +0 -84
- package/dist/_node-chunks/p-limit-EKBALEI3.js +0 -20
- package/dist/_node-chunks/session-id-2Y46JNBI.js +0 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET,
|
|
15
15
|
SUPPORTED_FEATURES
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SIHYXN6T.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L64YPGUF.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ULZBLQ6I.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-75LGFSSP.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-X7PI2AKG.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-H3J77TM6.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1242,6 +1242,7 @@ var exports_default = {
|
|
|
1242
1242
|
"CoreWebpackCompiler",
|
|
1243
1243
|
"Feature",
|
|
1244
1244
|
"SupportedBuilder",
|
|
1245
|
+
"SupportedFramework",
|
|
1245
1246
|
"SupportedLanguage",
|
|
1246
1247
|
"SupportedRenderer"
|
|
1247
1248
|
]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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-H3J77TM6.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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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-OOFBFCWG.js";
|
|
17
17
|
import {
|
|
18
18
|
versions_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ONBWXGRU.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3X73JSWN.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-OPPP3ZVD.js";
|
|
33
33
|
import {
|
|
34
34
|
any,
|
|
35
35
|
detectIndent,
|
|
@@ -37,31 +37,31 @@ import {
|
|
|
37
37
|
invariant,
|
|
38
38
|
up,
|
|
39
39
|
up2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LGWDBQCF.js";
|
|
41
41
|
import {
|
|
42
42
|
importModule,
|
|
43
43
|
resolveModulePath,
|
|
44
44
|
resolvePackageDir,
|
|
45
45
|
safeResolveModule
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ULZBLQ6I.js";
|
|
47
47
|
import {
|
|
48
48
|
join,
|
|
49
49
|
parse,
|
|
50
50
|
resolve
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-75LGFSSP.js";
|
|
52
52
|
import {
|
|
53
53
|
require_dist
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-DKPTV7OY.js";
|
|
55
55
|
import {
|
|
56
56
|
require_picocolors
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-Q6DQCNHY.js";
|
|
58
58
|
import {
|
|
59
59
|
slash
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-X7PI2AKG.js";
|
|
61
61
|
import {
|
|
62
62
|
glob,
|
|
63
63
|
globSync
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OPKU3YFW.js";
|
|
65
65
|
import {
|
|
66
66
|
__commonJS,
|
|
67
67
|
__esm,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
__require,
|
|
70
70
|
__toCommonJS,
|
|
71
71
|
__toESM
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-H3J77TM6.js";
|
|
73
73
|
|
|
74
74
|
// ../../node_modules/resolve/lib/homedir.js
|
|
75
75
|
var require_homedir = __commonJS({
|
|
@@ -17639,7 +17639,7 @@ async function scanAndTransformFiles({
|
|
|
17639
17639
|
initialValue: defaultGlob
|
|
17640
17640
|
});
|
|
17641
17641
|
logger16.log("Scanning for affected files...");
|
|
17642
|
-
let globby = (await import("./globby-
|
|
17642
|
+
let globby = (await import("./globby-W5ZVMK2K.js")).globby, sourceFiles = await globby([glob2], {
|
|
17643
17643
|
...commonGlobOptions(""),
|
|
17644
17644
|
ignore: ["**/node_modules/**"],
|
|
17645
17645
|
dot: !0,
|
|
@@ -17660,7 +17660,7 @@ function transformImports(source, renamedImports) {
|
|
|
17660
17660
|
return hasChanges ? transformed : null;
|
|
17661
17661
|
}
|
|
17662
17662
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
17663
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
17663
|
+
let errors = [], { default: pLimit } = await import("./p-limit-RUP5WM5V.js"), limit = pLimit(10);
|
|
17664
17664
|
return await Promise.all(
|
|
17665
17665
|
files.map(
|
|
17666
17666
|
(file) => limit(async () => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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_picocolors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Q6DQCNHY.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-H3J77TM6.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_3nzk4esy03a.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SSLFYQA4.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Q6DQCNHY.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-H3J77TM6.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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-H3J77TM6.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,16 +12,16 @@ var require = CJS_COMPAT_NODE_MODULE_3nzk4esy03a.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
StatusTypeIdMismatchError,
|
|
14
14
|
StorybookError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XZNPZNTE.js";
|
|
16
16
|
import {
|
|
17
17
|
any
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LGWDBQCF.js";
|
|
19
19
|
import {
|
|
20
20
|
require_dist
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DKPTV7OY.js";
|
|
22
22
|
import {
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H3J77TM6.js";
|
|
25
25
|
|
|
26
26
|
// src/cli/detect.ts
|
|
27
27
|
async function detectPnp() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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-DKPTV7OY.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-H3J77TM6.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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_3nzk4esy03a.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H3J77TM6.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,17 +12,17 @@ var require = CJS_COMPAT_NODE_MODULE_3nzk4esy03a.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
getSessionId,
|
|
14
14
|
nanoid
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AVCEQXMX.js";
|
|
16
16
|
import {
|
|
17
17
|
version
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RLSKSEJD.js";
|
|
19
19
|
import {
|
|
20
20
|
createFileSystemCache,
|
|
21
21
|
execa,
|
|
22
22
|
execaCommand,
|
|
23
23
|
resolvePathInStorybookCache,
|
|
24
24
|
up
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3FBJJ3J7.js";
|
|
26
26
|
import {
|
|
27
27
|
DATA_FETCHING_PACKAGES,
|
|
28
28
|
I18N_PACKAGES,
|
|
@@ -33,23 +33,23 @@ import {
|
|
|
33
33
|
UI_LIBRARY_PACKAGES,
|
|
34
34
|
matchesPackagePattern,
|
|
35
35
|
set
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-NMZ2FUOR.js";
|
|
37
37
|
import {
|
|
38
38
|
getProjectRoot
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OPPP3ZVD.js";
|
|
40
40
|
import {
|
|
41
41
|
globalSettings
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WVKUKJCY.js";
|
|
43
43
|
import {
|
|
44
44
|
resolvePackageDir
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ULZBLQ6I.js";
|
|
46
46
|
import {
|
|
47
47
|
slash
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-X7PI2AKG.js";
|
|
49
49
|
import {
|
|
50
50
|
__commonJS,
|
|
51
51
|
__toESM
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-H3J77TM6.js";
|
|
53
53
|
|
|
54
54
|
// ../../node_modules/fetch-retry/index.js
|
|
55
55
|
var require_fetch_retry = __commonJS({
|
|
@@ -971,14 +971,14 @@ var retryingFetch = (0, import_fetch_retry.default)(fetch), URL = process.env.ST
|
|
|
971
971
|
nodeVersion: process.versions.node,
|
|
972
972
|
storybookVersion: getVersionNumber()
|
|
973
973
|
}, prepareRequest = async (data, context, options) => {
|
|
974
|
-
let { eventType, payload, metadata, ...rest } = data, sessionId = await getSessionId(), eventId = nanoid(), body = { ...rest, eventType, eventId, sessionId, metadata, payload, context };
|
|
974
|
+
let { eventType, payload, metadata, ...rest } = data, sessionId = await getSessionId(), eventId = nanoid(), body = { ...rest, eventType, eventId, sessionId, metadata, payload, context }, signal = AbortSignal.timeout(3e4), maxRetries = 3;
|
|
975
975
|
return retryingFetch(URL, {
|
|
976
976
|
method: "post",
|
|
977
977
|
body: JSON.stringify(body),
|
|
978
978
|
headers: { "Content-Type": "application/json" },
|
|
979
|
-
|
|
980
|
-
retryOn:
|
|
981
|
-
|
|
979
|
+
retryDelay: (attempt) => 2 ** attempt * (typeof options?.retryDelay == "number" && !Number.isNaN(options?.retryDelay) ? options.retryDelay : 1e3),
|
|
980
|
+
retryOn: (attempt, error, response) => signal.aborted || attempt >= maxRetries ? !1 : !!error || response?.status === 503 || response?.status === 504,
|
|
981
|
+
signal
|
|
982
982
|
});
|
|
983
983
|
};
|
|
984
984
|
function getVersionNumber() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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-ZD2SDJCL.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_pt912roydgi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_pt912roydgi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_pt912roydgi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_pt912roydgi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_pt912roydgi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_pt912roydgi.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-4CKOOAKX.js";
|
|
18
18
|
import {
|
|
19
19
|
any,
|
|
20
20
|
detectIndent,
|
|
21
21
|
invariant,
|
|
22
22
|
up2 as up
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LGWDBQCF.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePackageDir
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ULZBLQ6I.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DKPTV7OY.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picocolors
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Q6DQCNHY.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
36
36
|
__toESM
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H3J77TM6.js";
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/esprima/dist/esprima.js
|
|
40
40
|
var require_esprima = __commonJS({
|