storybook 10.1.0-beta.5 → 10.1.0-beta.6
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-DKZOFL36.js → builder-manager-OYPBAOYY.js} +12 -12
- package/dist/_node-chunks/{camelcase-OYLEV2Q6.js → camelcase-KHLD4CBZ.js} +7 -7
- package/dist/_node-chunks/{chunk-AWAJ6MNP.js → chunk-3YPPVXVV.js} +10 -10
- package/dist/_node-chunks/chunk-4JHERXHJ.js +61 -0
- package/dist/_node-chunks/{chunk-VEUCEGV5.js → chunk-4K5Y3HIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-S3FEVISB.js → chunk-5VOKWTHJ.js} +6 -6
- package/dist/_node-chunks/{chunk-XEZ4YPF3.js → chunk-676RYYTC.js} +7 -7
- package/dist/_node-chunks/{chunk-VVQNCKWG.js → chunk-6O2EILDG.js} +8 -8
- package/dist/_node-chunks/{chunk-DKJWN7NS.js → chunk-6SDCYDUQ.js} +9 -9
- package/dist/_node-chunks/{chunk-3R7S7OBR.js → chunk-AIU56TIK.js} +7 -7
- package/dist/_node-chunks/{chunk-3VCEM4KX.js → chunk-CDT6SGHG.js} +6 -6
- package/dist/_node-chunks/{chunk-WP2HYYIX.js → chunk-DCDE2LZP.js} +9 -9
- package/dist/_node-chunks/{chunk-WXJLEHGP.js → chunk-F67RSVRX.js} +7 -7
- package/dist/_node-chunks/{chunk-FPWWB56H.js → chunk-GRWEJWC6.js} +10 -9
- package/dist/_node-chunks/{chunk-ITQ5LAB5.js → chunk-IZ4CTLAY.js} +6 -6
- package/dist/_node-chunks/{chunk-IKGF3NTB.js → chunk-JKZ5HEMT.js} +36 -20
- package/dist/_node-chunks/chunk-K43XPHKR.js +20 -0
- package/dist/_node-chunks/{chunk-O4VEAB4L.js → chunk-KNKOGWDU.js} +6 -6
- package/dist/_node-chunks/chunk-KXDN7S7Y.js +23 -0
- package/dist/_node-chunks/chunk-L3S6HFZ7.js +18 -0
- package/dist/_node-chunks/{chunk-U55VVTKI.js → chunk-MKHH5E6J.js} +7 -7
- package/dist/_node-chunks/{chunk-Q6Q7GGYG.js → chunk-NHZRDKD5.js} +6 -6
- package/dist/_node-chunks/{chunk-O6MAIGNQ.js → chunk-OR5YQT2Y.js} +13 -13
- package/dist/_node-chunks/{chunk-WP55QOFC.js → chunk-QWPDENGK.js} +7 -7
- package/dist/_node-chunks/{chunk-RV4TIB2A.js → chunk-R4N2FLEZ.js} +7 -7
- package/dist/_node-chunks/{chunk-ULRPJDQG.js → chunk-RNG6NQRW.js} +7 -7
- package/dist/_node-chunks/{chunk-UAAE3CFN.js → chunk-VZ6EDE7M.js} +6 -6
- package/dist/_node-chunks/{chunk-LE77BUC7.js → chunk-WXWHNHZE.js} +16 -16
- package/dist/_node-chunks/{chunk-LGS44CQ3.js → chunk-XC4RJ4LY.js} +14 -21
- package/dist/_node-chunks/{chunk-5ZLC6NEA.js → chunk-YOAOSHXI.js} +7 -7
- package/dist/_node-chunks/{dist-CYJGIQZ4.js → dist-BS45SS3Y.js} +9 -9
- package/dist/_node-chunks/{globby-QGM6GHYQ.js → globby-WIEUQD7O.js} +9 -9
- package/dist/_node-chunks/{lib-R7D5AM5W.js → lib-UNDA723W.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-WSYY7WM6.js → mdx-N42X6CFJ-ABE6VGZM.js} +8 -8
- package/dist/_node-chunks/{p-limit-S3E66PR5.js → p-limit-XD6JNZJT.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 +3 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.d.ts +3 -1
- package/dist/common/index.js +19 -19
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- 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/preview-api/index.d.ts +67 -68
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-3SEQ2GLE.js +0 -20
- package/dist/_node-chunks/chunk-BQ4MHK5P.js +0 -23
- package/dist/_node-chunks/chunk-LJNPOMKR.js +0 -61
- package/dist/_node-chunks/chunk-P5K26BIZ.js +0 -18
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-NHZRDKD5.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RNG6NQRW.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-676RYYTC.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4K5Y3HIQ.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K43XPHKR.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
36
36
|
|
|
37
37
|
// ../node_modules/ejs/lib/utils.js
|
|
38
38
|
var require_utils = __commonJS({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-5VOKWTHJ.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,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-CDT6SGHG.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-R4N2FLEZ.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-F67RSVRX.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5VOKWTHJ.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);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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.1.0-beta.6",
|
|
16
|
+
"@storybook/addon-docs": "10.1.0-beta.6",
|
|
17
|
+
"@storybook/addon-links": "10.1.0-beta.6",
|
|
18
|
+
"@storybook/addon-onboarding": "10.1.0-beta.6",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.1.0-beta.6",
|
|
20
|
+
"@storybook/addon-themes": "10.1.0-beta.6",
|
|
21
|
+
"@storybook/addon-vitest": "10.1.0-beta.6",
|
|
22
|
+
"@storybook/builder-vite": "10.1.0-beta.6",
|
|
23
|
+
"@storybook/builder-webpack5": "10.1.0-beta.6",
|
|
24
|
+
storybook: "10.1.0-beta.6",
|
|
25
|
+
"@storybook/angular": "10.1.0-beta.6",
|
|
26
|
+
"@storybook/ember": "10.1.0-beta.6",
|
|
27
|
+
"@storybook/html-vite": "10.1.0-beta.6",
|
|
28
|
+
"@storybook/nextjs": "10.1.0-beta.6",
|
|
29
|
+
"@storybook/nextjs-vite": "10.1.0-beta.6",
|
|
30
|
+
"@storybook/preact-vite": "10.1.0-beta.6",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.1.0-beta.6",
|
|
32
|
+
"@storybook/react-vite": "10.1.0-beta.6",
|
|
33
|
+
"@storybook/react-webpack5": "10.1.0-beta.6",
|
|
34
|
+
"@storybook/server-webpack5": "10.1.0-beta.6",
|
|
35
|
+
"@storybook/svelte-vite": "10.1.0-beta.6",
|
|
36
|
+
"@storybook/sveltekit": "10.1.0-beta.6",
|
|
37
|
+
"@storybook/vue3-vite": "10.1.0-beta.6",
|
|
38
|
+
"@storybook/web-components-vite": "10.1.0-beta.6",
|
|
39
|
+
sb: "10.1.0-beta.6",
|
|
40
|
+
"@storybook/cli": "10.1.0-beta.6",
|
|
41
|
+
"@storybook/codemod": "10.1.0-beta.6",
|
|
42
|
+
"@storybook/core-webpack": "10.1.0-beta.6",
|
|
43
|
+
"create-storybook": "10.1.0-beta.6",
|
|
44
|
+
"@storybook/csf-plugin": "10.1.0-beta.6",
|
|
45
|
+
"eslint-plugin-storybook": "10.1.0-beta.6",
|
|
46
|
+
"@storybook/react-dom-shim": "10.1.0-beta.6",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.1.0-beta.6",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.1.0-beta.6",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.1.0-beta.6",
|
|
50
|
+
"@storybook/html": "10.1.0-beta.6",
|
|
51
|
+
"@storybook/preact": "10.1.0-beta.6",
|
|
52
|
+
"@storybook/react": "10.1.0-beta.6",
|
|
53
|
+
"@storybook/server": "10.1.0-beta.6",
|
|
54
|
+
"@storybook/svelte": "10.1.0-beta.6",
|
|
55
|
+
"@storybook/vue3": "10.1.0-beta.6",
|
|
56
|
+
"@storybook/web-components": "10.1.0-beta.6"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
dirname,
|
|
14
14
|
join
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4K5Y3HIQ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/exsolve/dist/index.mjs
|
|
18
18
|
import fs, { lstatSync, realpathSync, statSync } from "node:fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-R4N2FLEZ.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
18
18
|
|
|
19
19
|
// src/csf-tools/CsfFile.ts
|
|
20
20
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-KNKOGWDU.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-R4N2FLEZ.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
22
22
|
|
|
23
23
|
// src/cli/globalSettings.ts
|
|
24
24
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picomatch/lib/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_1232wqooqc3l.createRequire(import.meta.url)
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YOAOSHXI.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F67RSVRX.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
24
24
|
|
|
25
25
|
// ../node_modules/@babel/types/lib/utils/shallowEqual.js
|
|
26
26
|
var require_shallowEqual = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-5VOKWTHJ.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-F67RSVRX.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__export,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5VOKWTHJ.js";
|
|
21
21
|
|
|
22
22
|
// ../node_modules/are-we-there-yet/lib/tracker-base.js
|
|
23
23
|
var require_tracker_base = __commonJS({
|
|
@@ -3164,7 +3164,8 @@ var import_picocolors4 = __toESM(require_picocolors(), 1), CLI_COLORS = {
|
|
|
3164
3164
|
success: import_picocolors4.default.green,
|
|
3165
3165
|
error: import_picocolors4.default.red,
|
|
3166
3166
|
warning: import_picocolors4.default.yellow,
|
|
3167
|
-
|
|
3167
|
+
// Improve contrast on dark terminals by using cyan for info on all platforms
|
|
3168
|
+
info: import_picocolors4.default.cyan,
|
|
3168
3169
|
debug: import_picocolors4.default.gray,
|
|
3169
3170
|
// Only color a link if it is the primary call to action, otherwise links shouldn't be colored
|
|
3170
3171
|
cta: import_picocolors4.default.cyan,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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_3knniutvqo4 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_3knniutvqo4 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_3knniutvqo4 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_3knniutvqo4.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_3knniutvqo4.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_3knniutvqo4.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-4JHERXHJ.js";
|
|
15
15
|
import {
|
|
16
16
|
require_picomatch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AIU56TIK.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GRWEJWC6.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-VZ6EDE7M.js";
|
|
28
28
|
import {
|
|
29
29
|
importModule,
|
|
30
30
|
resolveModulePath,
|
|
31
31
|
resolvePackageDir,
|
|
32
32
|
safeResolveModule
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-676RYYTC.js";
|
|
34
34
|
import {
|
|
35
35
|
join,
|
|
36
36
|
parse,
|
|
37
37
|
resolve
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4K5Y3HIQ.js";
|
|
39
39
|
import {
|
|
40
40
|
glob,
|
|
41
41
|
globSync
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-MKHH5E6J.js";
|
|
43
43
|
import {
|
|
44
44
|
slash
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-K43XPHKR.js";
|
|
46
46
|
import {
|
|
47
47
|
require_dist
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-R4N2FLEZ.js";
|
|
49
49
|
import {
|
|
50
50
|
require_picocolors
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-F67RSVRX.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-5VOKWTHJ.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-UNDA723W.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 || "",
|
|
@@ -13719,6 +13719,9 @@ var NPM_ERROR_REGEX = /npm ERR! code (\w+)/, NPM_ERROR_CODES = {
|
|
|
13719
13719
|
getRemoteRunCommand(pkg, args, specifier) {
|
|
13720
13720
|
return `bunx ${pkg}${specifier ? `@${specifier}` : ""} ${args.join(" ")}`;
|
|
13721
13721
|
}
|
|
13722
|
+
getPackageCommand(args) {
|
|
13723
|
+
return `bunx ${args.join(" ")}`;
|
|
13724
|
+
}
|
|
13722
13725
|
async getModulePackageJSON(packageName) {
|
|
13723
13726
|
let wantedPath = join11("node_modules", packageName, "package.json"), packageJsonPath = up2(wantedPath, {
|
|
13724
13727
|
cwd: this.primaryPackageJson.operationDir,
|
|
@@ -13912,6 +13915,9 @@ var NPM_ERROR_REGEX2 = /npm (ERR!|error) (code|errno) (\w+)/i, NPM_ERROR_CODES2
|
|
|
13912
13915
|
getInstallArgs() {
|
|
13913
13916
|
return this.installArgs || (this.installArgs = []), this.installArgs;
|
|
13914
13917
|
}
|
|
13918
|
+
getPackageCommand(args) {
|
|
13919
|
+
return `npx ${args.join(" ")}`;
|
|
13920
|
+
}
|
|
13915
13921
|
runPackageCommand(options) {
|
|
13916
13922
|
return executeCommand({
|
|
13917
13923
|
command: "npx",
|
|
@@ -14066,6 +14072,9 @@ var PNPM_ERROR_REGEX = /(ELIFECYCLE|ERR_PNPM_[A-Z_]+)\s+(.*)/i, PNPMProxy = clas
|
|
|
14066
14072
|
getInstallArgs() {
|
|
14067
14073
|
return this.installArgs || (this.installArgs = [], this.detectWorkspaceRoot() && this.installArgs.push("-w")), this.installArgs;
|
|
14068
14074
|
}
|
|
14075
|
+
getPackageCommand(args) {
|
|
14076
|
+
return `pnpm exec ${args.join(" ")}`;
|
|
14077
|
+
}
|
|
14069
14078
|
runPackageCommand({
|
|
14070
14079
|
args,
|
|
14071
14080
|
...options
|
|
@@ -14229,6 +14238,10 @@ var YARN1_ERROR_REGEX = /^error\s(.*)$/gm, Yarn1Proxy = class extends JsPackageM
|
|
|
14229
14238
|
getRunCommand(command) {
|
|
14230
14239
|
return `yarn ${command}`;
|
|
14231
14240
|
}
|
|
14241
|
+
getPackageCommand(args) {
|
|
14242
|
+
let [command, ...rest] = args;
|
|
14243
|
+
return `yarn exec ${command} -- ${rest.join(" ")}`;
|
|
14244
|
+
}
|
|
14232
14245
|
runPackageCommand({
|
|
14233
14246
|
args,
|
|
14234
14247
|
...options
|
|
@@ -14419,6 +14432,9 @@ var CRITICAL_YARN2_ERROR_CODES = {
|
|
|
14419
14432
|
getRunCommand(command) {
|
|
14420
14433
|
return `yarn ${command}`;
|
|
14421
14434
|
}
|
|
14435
|
+
getPackageCommand(args) {
|
|
14436
|
+
return `yarn exec ${args.join(" ")}`;
|
|
14437
|
+
}
|
|
14422
14438
|
runPackageCommand({
|
|
14423
14439
|
args,
|
|
14424
14440
|
...options
|
|
@@ -14727,7 +14743,7 @@ async function scanAndTransformFiles({
|
|
|
14727
14743
|
initialValue: defaultGlob
|
|
14728
14744
|
});
|
|
14729
14745
|
logger13.log("Scanning for affected files...");
|
|
14730
|
-
let globby = (await import("./globby-
|
|
14746
|
+
let globby = (await import("./globby-WIEUQD7O.js")).globby, sourceFiles = await globby([glob2], {
|
|
14731
14747
|
...commonGlobOptions(""),
|
|
14732
14748
|
ignore: ["**/node_modules/**"],
|
|
14733
14749
|
dot: !0,
|
|
@@ -14748,7 +14764,7 @@ function transformImports(source, renamedImports) {
|
|
|
14748
14764
|
return hasChanges ? transformed : null;
|
|
14749
14765
|
}
|
|
14750
14766
|
var transformImportFiles = async (files, renamedImports, dryRun) => {
|
|
14751
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
14767
|
+
let errors = [], { default: pLimit } = await import("./p-limit-XD6JNZJT.js"), limit = pLimit(10);
|
|
14752
14768
|
return await Promise.all(
|
|
14753
14769
|
files.map(
|
|
14754
14770
|
(file) => limit(async () => {
|