storybook 10.1.0 → 10.1.1
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-TBVQZVCU.js → builder-manager-C7JEYIYJ.js} +12 -12
- package/dist/_node-chunks/{camelcase-GL7MRGAO.js → camelcase-EKJLJYXS.js} +7 -7
- package/dist/_node-chunks/{chunk-3KKQC5PO.js → chunk-22GRWY3A.js} +7 -7
- package/dist/_node-chunks/chunk-3AUMHWKR.js +18 -0
- package/dist/_node-chunks/{chunk-IEYUK7LB.js → chunk-4U2MVVKV.js} +7 -7
- package/dist/_node-chunks/{chunk-SMFX664O.js → chunk-7GNG7DZN.js} +10 -10
- package/dist/_node-chunks/{chunk-SE2MGKVJ.js → chunk-BHHIOLJA.js} +6 -6
- package/dist/_node-chunks/{chunk-G2K7S3M2.js → chunk-CPQFWCXT.js} +9 -9
- package/dist/_node-chunks/{chunk-OOIMV6PC.js → chunk-DJWEMHR5.js} +13 -13
- package/dist/_node-chunks/chunk-DPZJ3NQJ.js +61 -0
- package/dist/_node-chunks/{chunk-AY574RLF.js → chunk-EDWQNQRS.js} +7 -7
- package/dist/_node-chunks/{chunk-D66GRLGY.js → chunk-GAA4H3VB.js} +35 -34
- package/dist/_node-chunks/{chunk-43EZZW55.js → chunk-GCHB45RE.js} +6 -6
- package/dist/_node-chunks/{chunk-UUGKJ4LL.js → chunk-GDGPRHGO.js} +7 -7
- package/dist/_node-chunks/{chunk-3H6TSCUK.js → chunk-GVZHV3RA.js} +20 -20
- package/dist/_node-chunks/{chunk-SF2DKOPT.js → chunk-HS7MLKJ7.js} +13 -13
- package/dist/_node-chunks/{chunk-OZOF7Z4L.js → chunk-HZC2SB7B.js} +8 -8
- package/dist/_node-chunks/{chunk-TLS5NEN4.js → chunk-IG2ALTN6.js} +8 -8
- package/dist/_node-chunks/chunk-JJ5YIJTU.js +23 -0
- package/dist/_node-chunks/{chunk-4HOGBBWW.js → chunk-JN2WIVPA.js} +6 -6
- package/dist/_node-chunks/{chunk-S5WYA56W.js → chunk-LIHOGGYQ.js} +6 -6
- package/dist/_node-chunks/{chunk-ZM6IRVDJ.js → chunk-N7ITOTDA.js} +7 -7
- package/dist/_node-chunks/{chunk-EZFFXFBR.js → chunk-NYOGOMNG.js} +7 -7
- package/dist/_node-chunks/{chunk-ID62YRSB.js → chunk-O75LHYHE.js} +7 -7
- package/dist/_node-chunks/chunk-Q4NGPXRM.js +20 -0
- package/dist/_node-chunks/{chunk-ZQBOEJL3.js → chunk-SCGML3ZY.js} +6 -6
- package/dist/_node-chunks/{chunk-BUM2PW4Q.js → chunk-TXFQGVOT.js} +7 -7
- package/dist/_node-chunks/{chunk-ECQTJTVF.js → chunk-U46HN6HR.js} +6 -6
- package/dist/_node-chunks/{chunk-27P77OTT.js → chunk-V55OPUPS.js} +9 -9
- package/dist/_node-chunks/{chunk-5TTETS4K.js → chunk-VCTH7NVT.js} +6 -6
- package/dist/_node-chunks/{dist-7C7BHY55.js → dist-U4P7LQQN.js} +9 -9
- package/dist/_node-chunks/{globby-QG573UKS.js → globby-MZKLH3YV.js} +9 -9
- package/dist/_node-chunks/{lib-LFINDS7W.js → lib-2N65EL7H.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-Z5CA274Q.js → mdx-N42X6CFJ-BH36LL45.js} +8 -8
- package/dist/_node-chunks/{p-limit-WBJVQT4H.js → p-limit-IRSB2ECY.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 +1 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +19 -19
- 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 +25 -25
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -0
- 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/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-EYPUSWTN.js +0 -20
- package/dist/_node-chunks/chunk-L2IGA3QO.js +0 -61
- package/dist/_node-chunks/chunk-LPS2U25K.js +0 -18
- package/dist/_node-chunks/chunk-SJZFPUUP.js +0 -23
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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-GCHB45RE.js";
|
|
17
17
|
import {
|
|
18
18
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GDGPRHGO.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveModulePath,
|
|
22
22
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N7ITOTDA.js";
|
|
24
24
|
import {
|
|
25
25
|
join,
|
|
26
26
|
parse
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JN2WIVPA.js";
|
|
28
28
|
import {
|
|
29
29
|
slash
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Q4NGPXRM.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__require,
|
|
34
34
|
__toESM
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-SCGML3ZY.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_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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-SCGML3ZY.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,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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-SCGML3ZY.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/picocolors/picocolors.js
|
|
17
17
|
var require_picocolors = __commonJS({
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
// package.json
|
|
14
|
+
var version = "10.1.1";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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-SCGML3ZY.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,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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-VCTH7NVT.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TXFQGVOT.js";
|
|
18
18
|
import {
|
|
19
19
|
require_picocolors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-22GRWY3A.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SCGML3ZY.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_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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_eb0hv8ko635.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
require_lib,
|
|
14
14
|
require_src
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NYOGOMNG.js";
|
|
16
16
|
import {
|
|
17
17
|
require_picocolors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-22GRWY3A.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__require,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SCGML3ZY.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_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
version
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3AUMHWKR.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
execa,
|
|
@@ -19,25 +19,25 @@ import {
|
|
|
19
19
|
getProjectRoot,
|
|
20
20
|
resolvePathInStorybookCache,
|
|
21
21
|
up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GVZHV3RA.js";
|
|
23
23
|
import {
|
|
24
24
|
getSessionId,
|
|
25
25
|
nanoid,
|
|
26
26
|
set
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LIHOGGYQ.js";
|
|
28
28
|
import {
|
|
29
29
|
globalSettings
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-V55OPUPS.js";
|
|
31
31
|
import {
|
|
32
32
|
resolvePackageDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-N7ITOTDA.js";
|
|
34
34
|
import {
|
|
35
35
|
slash
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Q4NGPXRM.js";
|
|
37
37
|
import {
|
|
38
38
|
__commonJS,
|
|
39
39
|
__toESM
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SCGML3ZY.js";
|
|
41
41
|
|
|
42
42
|
// ../node_modules/fetch-retry/index.js
|
|
43
43
|
var require_fetch_retry = __commonJS({
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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.1",
|
|
16
|
+
"@storybook/addon-docs": "10.1.1",
|
|
17
|
+
"@storybook/addon-links": "10.1.1",
|
|
18
|
+
"@storybook/addon-onboarding": "10.1.1",
|
|
19
|
+
"storybook-addon-pseudo-states": "10.1.1",
|
|
20
|
+
"@storybook/addon-themes": "10.1.1",
|
|
21
|
+
"@storybook/addon-vitest": "10.1.1",
|
|
22
|
+
"@storybook/builder-vite": "10.1.1",
|
|
23
|
+
"@storybook/builder-webpack5": "10.1.1",
|
|
24
|
+
storybook: "10.1.1",
|
|
25
|
+
"@storybook/angular": "10.1.1",
|
|
26
|
+
"@storybook/ember": "10.1.1",
|
|
27
|
+
"@storybook/html-vite": "10.1.1",
|
|
28
|
+
"@storybook/nextjs": "10.1.1",
|
|
29
|
+
"@storybook/nextjs-vite": "10.1.1",
|
|
30
|
+
"@storybook/preact-vite": "10.1.1",
|
|
31
|
+
"@storybook/react-native-web-vite": "10.1.1",
|
|
32
|
+
"@storybook/react-vite": "10.1.1",
|
|
33
|
+
"@storybook/react-webpack5": "10.1.1",
|
|
34
|
+
"@storybook/server-webpack5": "10.1.1",
|
|
35
|
+
"@storybook/svelte-vite": "10.1.1",
|
|
36
|
+
"@storybook/sveltekit": "10.1.1",
|
|
37
|
+
"@storybook/vue3-vite": "10.1.1",
|
|
38
|
+
"@storybook/web-components-vite": "10.1.1",
|
|
39
|
+
sb: "10.1.1",
|
|
40
|
+
"@storybook/cli": "10.1.1",
|
|
41
|
+
"@storybook/codemod": "10.1.1",
|
|
42
|
+
"@storybook/core-webpack": "10.1.1",
|
|
43
|
+
"create-storybook": "10.1.1",
|
|
44
|
+
"@storybook/csf-plugin": "10.1.1",
|
|
45
|
+
"eslint-plugin-storybook": "10.1.1",
|
|
46
|
+
"@storybook/react-dom-shim": "10.1.1",
|
|
47
|
+
"@storybook/preset-create-react-app": "10.1.1",
|
|
48
|
+
"@storybook/preset-react-webpack": "10.1.1",
|
|
49
|
+
"@storybook/preset-server-webpack": "10.1.1",
|
|
50
|
+
"@storybook/html": "10.1.1",
|
|
51
|
+
"@storybook/preact": "10.1.1",
|
|
52
|
+
"@storybook/react": "10.1.1",
|
|
53
|
+
"@storybook/server": "10.1.1",
|
|
54
|
+
"@storybook/svelte": "10.1.1",
|
|
55
|
+
"@storybook/vue3": "10.1.1",
|
|
56
|
+
"@storybook/web-components": "10.1.1"
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
versions_default
|
|
61
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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_eb0hv8ko635.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SCGML3ZY.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_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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-U46HN6HR.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N7ITOTDA.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TXFQGVOT.js";
|
|
23
23
|
import {
|
|
24
24
|
babelParse,
|
|
25
25
|
recast,
|
|
26
26
|
traverse,
|
|
27
27
|
types
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CPQFWCXT.js";
|
|
29
29
|
import {
|
|
30
30
|
require_picocolors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-22GRWY3A.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SCGML3ZY.js";
|
|
37
37
|
|
|
38
38
|
// ../node_modules/esprima/dist/esprima.js
|
|
39
39
|
var require_esprima = __commonJS({
|
|
@@ -4861,8 +4861,12 @@ import { join as join2 } from "node:path";
|
|
|
4861
4861
|
import { Readable as Readable2 } from "node:stream";
|
|
4862
4862
|
import { pipeline as pipeline2 } from "node:stream/promises";
|
|
4863
4863
|
import { createGunzip } from "node:zlib";
|
|
4864
|
-
import {
|
|
4865
|
-
|
|
4864
|
+
import {
|
|
4865
|
+
frameworkPackages,
|
|
4866
|
+
rendererPackages,
|
|
4867
|
+
temporaryDirectory,
|
|
4868
|
+
versions
|
|
4869
|
+
} from "storybook/internal/common";
|
|
4866
4870
|
|
|
4867
4871
|
// ../node_modules/get-npm-tarball-url/lib/index.mjs
|
|
4868
4872
|
function src_default(pkgName, pkgVersion, opts) {
|
|
@@ -5373,21 +5377,7 @@ function createFSHandler(directoryPath, options) {
|
|
|
5373
5377
|
}
|
|
5374
5378
|
|
|
5375
5379
|
// src/cli/dirs.ts
|
|
5376
|
-
var
|
|
5377
|
-
{ name: SupportedFramework.QWIK, packageName: "storybook-framework-qwik" },
|
|
5378
|
-
{
|
|
5379
|
-
name: SupportedFramework.SOLID,
|
|
5380
|
-
packageName: "storybook-solidjs-vite",
|
|
5381
|
-
frameworks: ["storybook-solidjs-vite"],
|
|
5382
|
-
renderer: "storybook-solidjs-vite"
|
|
5383
|
-
},
|
|
5384
|
-
{
|
|
5385
|
-
name: SupportedFramework.NUXT,
|
|
5386
|
-
packageName: "@storybook-vue/nuxt",
|
|
5387
|
-
frameworks: ["@storybook-vue/nuxt"],
|
|
5388
|
-
renderer: "@storybook/vue3"
|
|
5389
|
-
}
|
|
5390
|
-
], resolveUsingBranchInstall = async (packageManager, request) => {
|
|
5380
|
+
var resolveUsingBranchInstall = async (packageManager, request) => {
|
|
5391
5381
|
let tempDirectory = await temporaryDirectory(), version = versions[request] || await packageManager.latestVersion(request), url = (src_default.default || src_default)(request, version, {
|
|
5392
5382
|
registry: await packageManager.getRegistryURL()
|
|
5393
5383
|
}), response = await fetch(url);
|
|
@@ -5400,14 +5390,19 @@ var externalFrameworks = [
|
|
|
5400
5390
|
), join2(tempDirectory, "package");
|
|
5401
5391
|
};
|
|
5402
5392
|
async function getRendererDir(packageManager, renderer) {
|
|
5403
|
-
let externalFramework =
|
|
5393
|
+
let [externalFramework] = Object.entries({ ...frameworkPackages, ...rendererPackages }).find(
|
|
5394
|
+
([key, value]) => value === renderer
|
|
5395
|
+
) ?? [];
|
|
5396
|
+
if (!externalFramework)
|
|
5397
|
+
return null;
|
|
5398
|
+
let packageJsonPath = join2(externalFramework, "package.json"), errors = [];
|
|
5404
5399
|
try {
|
|
5405
|
-
return resolvePackageDir(
|
|
5400
|
+
return resolvePackageDir(externalFramework, process.cwd());
|
|
5406
5401
|
} catch (e) {
|
|
5407
5402
|
invariant(e instanceof Error), errors.push(e);
|
|
5408
5403
|
}
|
|
5409
5404
|
try {
|
|
5410
|
-
return await resolveUsingBranchInstall(packageManager,
|
|
5405
|
+
return await resolveUsingBranchInstall(packageManager, externalFramework);
|
|
5411
5406
|
} catch (e) {
|
|
5412
5407
|
invariant(e instanceof Error), errors.push(e);
|
|
5413
5408
|
}
|
|
@@ -5485,7 +5480,10 @@ async function copyTemplateFiles({
|
|
|
5485
5480
|
[SupportedLanguage.JAVASCRIPT]: "js",
|
|
5486
5481
|
[SupportedLanguage.TYPESCRIPT]: "ts"
|
|
5487
5482
|
}, templatePath = async () => {
|
|
5488
|
-
let baseDir = await getRendererDir(packageManager, templateLocation)
|
|
5483
|
+
let baseDir = await getRendererDir(packageManager, templateLocation);
|
|
5484
|
+
if (!baseDir)
|
|
5485
|
+
return null;
|
|
5486
|
+
let assetsDir = join3(baseDir, "template", "cli"), assetsLanguage = join3(assetsDir, languageFolderMapping[language]), assetsJS = join3(assetsDir, languageFolderMapping[SupportedLanguage.JAVASCRIPT]), assetsTS = join3(assetsDir, languageFolderMapping.typescript);
|
|
5489
5487
|
if (existsSync(assetsLanguage))
|
|
5490
5488
|
return assetsLanguage;
|
|
5491
5489
|
if (existsSync(assetsTS))
|
|
@@ -5496,7 +5494,9 @@ async function copyTemplateFiles({
|
|
|
5496
5494
|
return assetsDir;
|
|
5497
5495
|
throw new Error(`Unsupported renderer: ${templateLocation} (${baseDir})`);
|
|
5498
5496
|
}, destinationPath = destination ?? await cliStoriesTargetPath(), filter = (file) => features.has(Feature.DOCS) || !file.endsWith(".mdx");
|
|
5499
|
-
|
|
5497
|
+
commonAssetsDir && await cp(commonAssetsDir, destinationPath, { recursive: !0, filter });
|
|
5498
|
+
let tmpPath = await templatePath();
|
|
5499
|
+
if (tmpPath && await cp(tmpPath, destinationPath, { recursive: !0, filter }), commonAssetsDir && features.has(Feature.DOCS)) {
|
|
5500
5500
|
let rendererType = frameworkToRenderer[templateLocation] || "react";
|
|
5501
5501
|
await adjustTemplate(join3(destinationPath, "Configure.mdx"), { renderer: rendererType });
|
|
5502
5502
|
}
|
|
@@ -5818,6 +5818,7 @@ var SUPPORTED_FRAMEWORKS = [
|
|
|
5818
5818
|
"preact-vite" /* PREACT_VITE */,
|
|
5819
5819
|
"react-native-web-vite" /* REACT_NATIVE_WEB_VITE */,
|
|
5820
5820
|
"react-vite" /* REACT_VITE */,
|
|
5821
|
+
"solid" /* SOLID */,
|
|
5821
5822
|
"svelte-vite" /* SVELTE_VITE */,
|
|
5822
5823
|
"sveltekit" /* SVELTEKIT */,
|
|
5823
5824
|
"vue3-vite" /* VUE3_VITE */,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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_rvkdaqpp8e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_rvkdaqpp8e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_rvkdaqpp8e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_rvkdaqpp8e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_rvkdaqpp8e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_rvkdaqpp8e.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_eb0hv8ko635.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SCGML3ZY.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/totalist/sync/index.js
|
|
18
18
|
var require_sync = __commonJS({
|