storybook 10.1.5 → 10.1.7
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-ZXJBDRXR.js → builder-manager-EHXLCHEO.js} +13 -12
- package/dist/_node-chunks/{camelcase-WRTIKEO6.js → camelcase-HUGZEXJE.js} +7 -7
- package/dist/_node-chunks/{chunk-WYREEMWZ.js → chunk-53EBCYFK.js} +6 -6
- package/dist/_node-chunks/{chunk-5H7WLGZC.js → chunk-54YSFB4H.js} +7 -7
- package/dist/_node-chunks/{chunk-56BVIMJO.js → chunk-73HUTZ5T.js} +7 -7
- package/dist/_node-chunks/{chunk-GJ5FSAL5.js → chunk-AHASM5XJ.js} +6 -6
- package/dist/_node-chunks/{chunk-HNDTWAF5.js → chunk-BISROKGA.js} +7 -7
- package/dist/_node-chunks/{chunk-KYHFIXVV.js → chunk-BW4TJAUQ.js} +6 -6
- package/dist/_node-chunks/{chunk-RZ3SV46Y.js → chunk-DEZK7IC2.js} +20 -20
- package/dist/_node-chunks/chunk-EMGZAS45.js +23 -0
- package/dist/_node-chunks/{chunk-ZIG3SZMN.js → chunk-ESCHL7QO.js} +8 -8
- package/dist/_node-chunks/{chunk-VGBOM5PD.js → chunk-H5UMVQS5.js} +13 -13
- package/dist/_node-chunks/{chunk-3N5PBWO5.js → chunk-HKD3GHK3.js} +9 -9
- package/dist/_node-chunks/{chunk-FCQVKOY4.js → chunk-IFLLI53E.js} +10 -10
- package/dist/_node-chunks/{chunk-B2EXFXPG.js → chunk-JRNN3ATQ.js} +6 -6
- package/dist/_node-chunks/{chunk-PL7KUITS.js → chunk-JU44GIHO.js} +13 -13
- package/dist/_node-chunks/{chunk-AJ7QOTOZ.js → chunk-M25PLVWJ.js} +76 -19
- package/dist/_node-chunks/{chunk-CUUCEXYW.js → chunk-PFZ3OEEN.js} +6 -6
- package/dist/_node-chunks/chunk-R2CXAJYG.js +18 -0
- package/dist/_node-chunks/{chunk-WUVM2V22.js → chunk-SMIB2SPY.js} +6 -6
- package/dist/_node-chunks/{chunk-255LKCUD.js → chunk-TPDTDPSP.js} +6 -6
- package/dist/_node-chunks/{chunk-52EAUB7R.js → chunk-U4FRSSGR.js} +7 -7
- package/dist/_node-chunks/{chunk-QCZPELNP.js → chunk-VE2GP7PV.js} +7 -7
- package/dist/_node-chunks/chunk-W65P47D7.js +61 -0
- package/dist/_node-chunks/{chunk-SNGQFKE7.js → chunk-XLHRIY7O.js} +7 -7
- package/dist/_node-chunks/{chunk-C3CWELCD.js → chunk-XUGGNSQV.js} +7 -7
- package/dist/_node-chunks/{chunk-XPWMJEXT.js → chunk-ZER2HR4Q.js} +7 -7
- package/dist/_node-chunks/{chunk-ITMM32VP.js → chunk-ZQ4AATPT.js} +9 -9
- package/dist/_node-chunks/{chunk-FD76ZM2X.js → chunk-ZRQQOUXA.js} +8 -8
- package/dist/_node-chunks/{dist-XHCP6OFU.js → dist-I5B62EXZ.js} +9 -9
- package/dist/_node-chunks/{globby-YHL6UTMA.js → globby-VVFDARVQ.js} +9 -9
- package/dist/_node-chunks/{lib-RWWG7TOS.js → lib-YVG6LAMI.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-ZALEYAPJ.js → mdx-N42X6CFJ-7PJHUHEH.js} +8 -8
- package/dist/_node-chunks/{p-limit-LLBQLQ7I.js → p-limit-IZNWVCKJ.js} +7 -7
- 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.d.ts +0 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.js +10 -4
- package/dist/core-events/index.d.ts +4 -2
- package/dist/core-events/index.js +4 -2
- package/dist/core-server/index.js +257 -631
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +26 -28
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +15 -7
- package/dist/manager/runtime.js +20 -5
- 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/preview/runtime.js +9 -3
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +9 -2
- package/dist/telemetry/index.js +27 -25
- package/package.json +2 -2
- package/dist/_node-chunks/chunk-3GJDB3VJ.js +0 -18
- package/dist/_node-chunks/chunk-EBMWZDZG.js +0 -23
- package/dist/_node-chunks/chunk-GUCJOBT7.js +0 -72
- package/dist/_node-chunks/chunk-VRODUWUT.js +0 -61
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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-BW4TJAUQ.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-54YSFB4H.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XLHRIY7O.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PFZ3OEEN.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SMIB2SPY.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-53EBCYFK.js";
|
|
36
36
|
|
|
37
37
|
// ../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1153,6 +1153,7 @@ var exports_default = {
|
|
|
1153
1153
|
"FORCE_REMOUNT",
|
|
1154
1154
|
"FORCE_RE_RENDER",
|
|
1155
1155
|
"GLOBALS_UPDATED",
|
|
1156
|
+
"MANAGER_INERT_ATTRIBUTE_CHANGED",
|
|
1156
1157
|
"NAVIGATE_URL",
|
|
1157
1158
|
"OPEN_IN_EDITOR_REQUEST",
|
|
1158
1159
|
"OPEN_IN_EDITOR_RESPONSE",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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-53EBCYFK.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}])/gu, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, SEPARATORS = /[_.\- ]+/, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp("\\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_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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_16w7d0j2rs7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-53EBCYFK.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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-53EBCYFK.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-53EBCYFK.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
|
|
17
17
|
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __require2 = ((x) => typeof __require < "u" ? __require : typeof Proxy < "u" ? new Proxy(x, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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
|
versions_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W65P47D7.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZER2HR4Q.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZRQQOUXA.js";
|
|
21
21
|
import {
|
|
22
22
|
any,
|
|
23
23
|
from,
|
|
24
24
|
invariant,
|
|
25
25
|
up,
|
|
26
26
|
up2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TPDTDPSP.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XLHRIY7O.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PFZ3OEEN.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-U4FRSSGR.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SMIB2SPY.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VE2GP7PV.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-73HUTZ5T.js";
|
|
52
52
|
import {
|
|
53
53
|
__commonJS,
|
|
54
54
|
__esm,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
__require,
|
|
57
57
|
__toCommonJS,
|
|
58
58
|
__toESM
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-53EBCYFK.js";
|
|
60
60
|
|
|
61
61
|
// ../node_modules/resolve/lib/homedir.js
|
|
62
62
|
var require_homedir = __commonJS({
|
|
@@ -11086,7 +11086,7 @@ function normalizeStoryPath(filename) {
|
|
|
11086
11086
|
|
|
11087
11087
|
// src/common/utils/envs.ts
|
|
11088
11088
|
async function loadEnvs(options = {}) {
|
|
11089
|
-
let { getEnvironment } = await import("./lib-
|
|
11089
|
+
let { getEnvironment } = await import("./lib-YVG6LAMI.js"), defaultNodeEnv = options.production ? "production" : "development", env2 = {
|
|
11090
11090
|
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
11091
11091
|
NODE_ENV: process.env.NODE_ENV || defaultNodeEnv,
|
|
11092
11092
|
NODE_PATH: process.env.NODE_PATH || "",
|
|
@@ -14759,7 +14759,7 @@ async function scanAndTransformFiles({
|
|
|
14759
14759
|
initialValue: defaultGlob
|
|
14760
14760
|
});
|
|
14761
14761
|
logger13.log("Scanning for affected files...");
|
|
14762
|
-
let globby = (await import("./globby-
|
|
14762
|
+
let globby = (await import("./globby-VVFDARVQ.js")).globby, sourceFiles = await globby([glob2], {
|
|
14763
14763
|
...commonGlobOptions(""),
|
|
14764
14764
|
ignore: ["**/node_modules/**"],
|
|
14765
14765
|
dot: !0,
|
|
@@ -14780,7 +14780,7 @@ function transformImports(source, renamedImports) {
|
|
|
14780
14780
|
return hasChanges ? transformed : null;
|
|
14781
14781
|
}
|
|
14782
14782
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
14783
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
14783
|
+
let errors = [], { default: pLimit } = await import("./p-limit-IZNWVCKJ.js"), limit = pLimit(10);
|
|
14784
14784
|
return await Promise.all(
|
|
14785
14785
|
files.map(
|
|
14786
14786
|
(file) => limit(async () => {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
any
|
|
14
|
+
} from "./chunk-TPDTDPSP.js";
|
|
15
|
+
|
|
16
|
+
// src/cli/detect.ts
|
|
17
|
+
async function detectPnp() {
|
|
18
|
+
return !!any([".pnp.js", ".pnp.cjs"]);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
detectPnp
|
|
23
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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-VE2GP7PV.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-53EBCYFK.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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-54YSFB4H.js";
|
|
15
15
|
import {
|
|
16
16
|
StorybookError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JRNN3ATQ.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePackageDir
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XLHRIY7O.js";
|
|
21
21
|
import {
|
|
22
22
|
relative
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PFZ3OEEN.js";
|
|
24
24
|
import {
|
|
25
25
|
require_dist
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VE2GP7PV.js";
|
|
27
27
|
import {
|
|
28
28
|
require_picocolors
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-73HUTZ5T.js";
|
|
30
30
|
import {
|
|
31
31
|
__toESM
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-53EBCYFK.js";
|
|
33
33
|
|
|
34
34
|
// src/core-server/utils/server-statics.ts
|
|
35
35
|
import { existsSync, statSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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_16w7d0j2rs7.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XUGGNSQV.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-73HUTZ5T.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-53EBCYFK.js";
|
|
24
24
|
|
|
25
25
|
// ../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JRNN3ATQ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VE2GP7PV.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-73HUTZ5T.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-53EBCYFK.js";
|
|
24
24
|
|
|
25
25
|
// src/server-errors.ts
|
|
26
26
|
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_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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_hei8jvah5rp from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_hei8jvah5rp from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_hei8jvah5rp from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_hei8jvah5rp.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_hei8jvah5rp.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_hei8jvah5rp.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
|
any,
|
|
14
14
|
invariant,
|
|
15
15
|
up2 as up
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TPDTDPSP.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XLHRIY7O.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VE2GP7PV.js";
|
|
23
23
|
import {
|
|
24
24
|
babelParse,
|
|
25
25
|
recast,
|
|
26
26
|
traverse,
|
|
27
27
|
types
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HKD3GHK3.js";
|
|
29
29
|
import {
|
|
30
30
|
require_picocolors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-73HUTZ5T.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-53EBCYFK.js";
|
|
37
37
|
|
|
38
38
|
// ../node_modules/esprima/dist/esprima.js
|
|
39
39
|
var require_esprima = __commonJS({
|
|
@@ -5594,7 +5594,7 @@ var ANGULAR_JSON_PATH = "angular.json", AngularJSON = class {
|
|
|
5594
5594
|
};
|
|
5595
5595
|
|
|
5596
5596
|
// src/cli/projectTypes.ts
|
|
5597
|
-
var ProjectType = /* @__PURE__ */ ((ProjectType2) => (ProjectType2.ANGULAR = "angular", ProjectType2.EMBER = "ember", ProjectType2.HTML = "html", ProjectType2.NEXTJS = "nextjs", ProjectType2.NUXT = "nuxt", ProjectType2.NX = "nx", ProjectType2.PREACT = "preact", ProjectType2.QWIK = "qwik", ProjectType2.REACT = "react", ProjectType2.REACT_NATIVE = "react_native", ProjectType2.REACT_NATIVE_AND_RNW = "react_native_and_rnw", ProjectType2.REACT_NATIVE_WEB = "react_native_web", ProjectType2.
|
|
5597
|
+
var ProjectType = /* @__PURE__ */ ((ProjectType2) => (ProjectType2.ANGULAR = "angular", ProjectType2.EMBER = "ember", ProjectType2.HTML = "html", ProjectType2.NEXTJS = "nextjs", ProjectType2.NUXT = "nuxt", ProjectType2.NX = "nx", ProjectType2.PREACT = "preact", ProjectType2.QWIK = "qwik", ProjectType2.REACT = "react", ProjectType2.REACT_NATIVE = "react_native", ProjectType2.REACT_NATIVE_AND_RNW = "react_native_and_rnw", ProjectType2.REACT_NATIVE_WEB = "react_native_web", ProjectType2.REACT_SCRIPTS = "react_scripts", ProjectType2.SERVER = "server", ProjectType2.SOLID = "solid", ProjectType2.SVELTE = "svelte", ProjectType2.SVELTEKIT = "sveltekit", ProjectType2.UNDETECTED = "undetected", ProjectType2.UNSUPPORTED = "unsupported", ProjectType2.VUE3 = "vue3", ProjectType2.WEB_COMPONENTS = "web_components", ProjectType2))(ProjectType || {});
|
|
5598
5598
|
|
|
5599
5599
|
// src/cli/eslintPlugin.ts
|
|
5600
5600
|
var import_comment_json = __toESM(require_src2(), 1);
|