storybook 10.0.0-beta.0 → 10.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{WithTooltip-2E62HIBN.js → WithTooltip-ERFLZL6W.js} +1 -1
- package/dist/_browser-chunks/{chunk-FWKO3E35.js → chunk-EOILZP2R.js} +3 -1
- package/dist/_node-chunks/{builder-manager-OW6YGKXV.js → builder-manager-KCNW2J74.js} +13 -13
- package/dist/_node-chunks/{camelcase-2K3EMR6G.js → camelcase-FH5EGUIB.js} +7 -7
- package/dist/_node-chunks/{chunk-6JSVPEAU.js → chunk-2E5IZBC2.js} +7 -7
- package/dist/_node-chunks/{chunk-JDKH3XYB.js → chunk-2VH25RMB.js} +7 -7
- package/dist/_node-chunks/{chunk-FWUE7SRE.js → chunk-2VOEBWNF.js} +7 -7
- package/dist/_node-chunks/{chunk-IQAUGVYR.js → chunk-63VGATS4.js} +7 -7
- package/dist/_node-chunks/{chunk-5HLANIBM.js → chunk-6A2WP6N7.js} +7 -7
- package/dist/_node-chunks/{chunk-YWGNEBRO.js → chunk-6B3CXS7K.js} +7 -7
- package/dist/_node-chunks/{chunk-G46DWX7Z.js → chunk-6FPFMFFH.js} +8 -8
- package/dist/_node-chunks/{chunk-UHHZPSP7.js → chunk-7DWWXKIE.js} +6 -6
- package/dist/_node-chunks/{chunk-MUD3GH3L.js → chunk-B7L5A4BQ.js} +9 -9
- package/dist/_node-chunks/{chunk-GZZDIJIB.js → chunk-CGY2ITTD.js} +8 -8
- package/dist/_node-chunks/{chunk-GZUNYRFU.js → chunk-CIIY3F53.js} +7 -7
- package/dist/_node-chunks/{chunk-CD3IP6HA.js → chunk-CMFB2H3U.js} +12 -12
- package/dist/_node-chunks/{chunk-3QB3ZG6H.js → chunk-DPF2NDLD.js} +7 -7
- package/dist/_node-chunks/{chunk-2H7LZ2SD.js → chunk-FXPYWCQE.js} +7 -7
- package/dist/_node-chunks/{chunk-ANEKBWDX.js → chunk-HSI4BG2J.js} +16 -25
- package/dist/_node-chunks/{chunk-UIREEOC7.js → chunk-HSS67Y6T.js} +7 -7
- package/dist/_node-chunks/chunk-IAAPNJG4.js +62 -0
- package/dist/_node-chunks/{chunk-W6GKFQ7F.js → chunk-IBC4BVDB.js} +7 -7
- package/dist/_node-chunks/{chunk-NOQITS3C.js → chunk-JWFNAC5N.js} +7 -7
- package/dist/_node-chunks/{chunk-I3YCPGZJ.js → chunk-JZ7ZEAK6.js} +7 -7
- package/dist/_node-chunks/{chunk-IBXERYDG.js → chunk-KDKM7KMS.js} +7 -7
- package/dist/_node-chunks/{chunk-H5LTFJHQ.js → chunk-MX77OTGN.js} +46 -45
- package/dist/_node-chunks/chunk-NNJMYLJM.js +18 -0
- package/dist/_node-chunks/{chunk-FBMMEEO4.js → chunk-NTXIDMDM.js} +7 -7
- package/dist/_node-chunks/{chunk-7TISOZS6.js → chunk-NUODGCJN.js} +7 -7
- package/dist/_node-chunks/{chunk-X5GAZ3EW.js → chunk-NWTLWMJN.js} +8 -8
- package/dist/_node-chunks/{chunk-LH3BEEIR.js → chunk-PTT3CRNJ.js} +6 -6
- package/dist/_node-chunks/{chunk-NZGJJABJ.js → chunk-RSG3AEWL.js} +16 -16
- package/dist/_node-chunks/{chunk-VKKLKNFC.js → chunk-TLM4ECJN.js} +9 -9
- package/dist/_node-chunks/{chunk-R7RKO2DC.js → chunk-WBRWBEAS.js} +47029 -18559
- package/dist/_node-chunks/{chunk-LKB7KRSV.js → chunk-XWJNZVOR.js} +8 -8
- package/dist/_node-chunks/{chunk-BFXER3XW.js → chunk-ZF6AXYHM.js} +7 -7
- package/dist/_node-chunks/{default-browser-id-Z6WQ7DZA.js → default-browser-id-YRAH7IMC.js} +7 -7
- package/dist/_node-chunks/{dist-465RSKRC.js → dist-G5THJIW5.js} +9 -9
- package/dist/_node-chunks/{globby-LJ3MVB6M.js → globby-FGF2JG5Z.js} +9 -9
- package/dist/_node-chunks/{lib-OW3DENXB.js → lib-OPOVJQIO.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-PYX2IFUO.js → mdx-N42X6CFJ-N5MJA4NM.js} +8 -8
- package/dist/_node-chunks/{p-limit-X4OG45RB.js → p-limit-JNDYEQZX.js} +8 -8
- package/dist/_node-chunks/{plugin-GE36R32R.js → plugin-6GW4GYGS.js} +10 -12
- package/dist/_node-chunks/{plugin-ALTIQMDE.js → plugin-ZL4ZLDWE.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-NLCAF7S6.js → webpack-inject-mocker-runtime-plugin-F6BXWV4R.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-BRYODMCC.js → webpack-mock-plugin-5QNP4V3B.js} +9 -11
- package/dist/babel/index.js +11 -12
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +8 -8
- package/dist/cli/index.js +20 -21
- package/dist/common/index.js +22 -22
- package/dist/components/index.d.ts +234 -2
- package/dist/components/index.js +3 -6
- package/dist/core-server/index.d.ts +540 -39
- package/dist/core-server/index.js +36 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +22 -31
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -11
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -12
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +4 -5
- package/dist/manager/runtime.js +90 -48
- package/dist/manager-api/index.d.ts +527 -26
- package/dist/manager-api/index.js +1 -1
- package/dist/manager-errors.d.ts +527 -0
- package/dist/node-logger/index.js +14 -14
- package/dist/preview-errors.d.ts +527 -0
- package/dist/router/index.d.ts +668 -10
- package/dist/server-errors.d.ts +527 -0
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +25 -25
- package/dist/types/index.d.ts +523 -9
- package/package.json +1 -3
- package/dist/_node-chunks/chunk-27W2Z6VL.js +0 -28502
- package/dist/_node-chunks/chunk-T23YQHYB.js +0 -62
- package/dist/_node-chunks/chunk-YUYBO6S7.js +0 -18
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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.0.0-beta.2",
|
|
16
|
+
"@storybook/addon-docs": "10.0.0-beta.2",
|
|
17
|
+
"@storybook/addon-jest": "10.0.0-beta.2",
|
|
18
|
+
"@storybook/addon-links": "10.0.0-beta.2",
|
|
19
|
+
"@storybook/addon-onboarding": "10.0.0-beta.2",
|
|
20
|
+
"storybook-addon-pseudo-states": "10.0.0-beta.2",
|
|
21
|
+
"@storybook/addon-themes": "10.0.0-beta.2",
|
|
22
|
+
"@storybook/addon-vitest": "10.0.0-beta.2",
|
|
23
|
+
"@storybook/builder-vite": "10.0.0-beta.2",
|
|
24
|
+
"@storybook/builder-webpack5": "10.0.0-beta.2",
|
|
25
|
+
storybook: "10.0.0-beta.2",
|
|
26
|
+
"@storybook/angular": "10.0.0-beta.2",
|
|
27
|
+
"@storybook/ember": "10.0.0-beta.2",
|
|
28
|
+
"@storybook/html-vite": "10.0.0-beta.2",
|
|
29
|
+
"@storybook/nextjs": "10.0.0-beta.2",
|
|
30
|
+
"@storybook/nextjs-vite": "10.0.0-beta.2",
|
|
31
|
+
"@storybook/preact-vite": "10.0.0-beta.2",
|
|
32
|
+
"@storybook/react-native-web-vite": "10.0.0-beta.2",
|
|
33
|
+
"@storybook/react-vite": "10.0.0-beta.2",
|
|
34
|
+
"@storybook/react-webpack5": "10.0.0-beta.2",
|
|
35
|
+
"@storybook/server-webpack5": "10.0.0-beta.2",
|
|
36
|
+
"@storybook/svelte-vite": "10.0.0-beta.2",
|
|
37
|
+
"@storybook/sveltekit": "10.0.0-beta.2",
|
|
38
|
+
"@storybook/vue3-vite": "10.0.0-beta.2",
|
|
39
|
+
"@storybook/web-components-vite": "10.0.0-beta.2",
|
|
40
|
+
sb: "10.0.0-beta.2",
|
|
41
|
+
"@storybook/cli": "10.0.0-beta.2",
|
|
42
|
+
"@storybook/codemod": "10.0.0-beta.2",
|
|
43
|
+
"@storybook/core-webpack": "10.0.0-beta.2",
|
|
44
|
+
"create-storybook": "10.0.0-beta.2",
|
|
45
|
+
"@storybook/csf-plugin": "10.0.0-beta.2",
|
|
46
|
+
"eslint-plugin-storybook": "10.0.0-beta.2",
|
|
47
|
+
"@storybook/react-dom-shim": "10.0.0-beta.2",
|
|
48
|
+
"@storybook/preset-create-react-app": "10.0.0-beta.2",
|
|
49
|
+
"@storybook/preset-react-webpack": "10.0.0-beta.2",
|
|
50
|
+
"@storybook/preset-server-webpack": "10.0.0-beta.2",
|
|
51
|
+
"@storybook/html": "10.0.0-beta.2",
|
|
52
|
+
"@storybook/preact": "10.0.0-beta.2",
|
|
53
|
+
"@storybook/react": "10.0.0-beta.2",
|
|
54
|
+
"@storybook/server": "10.0.0-beta.2",
|
|
55
|
+
"@storybook/svelte": "10.0.0-beta.2",
|
|
56
|
+
"@storybook/vue3": "10.0.0-beta.2",
|
|
57
|
+
"@storybook/web-components": "10.0.0-beta.2"
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
versions_default
|
|
62
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/yocto-queue/index.js
|
|
17
17
|
var Node = class {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/totalist/sync/index.js
|
|
19
19
|
var require_sync = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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_qlimw951jq.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/ts-dedent/dist/index.js
|
|
18
18
|
var require_dist = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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_qlimw951jq.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
16
16
|
|
|
17
17
|
// ../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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_picomatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2VOEBWNF.js";
|
|
15
15
|
import {
|
|
16
16
|
parseNodeModulePath,
|
|
17
17
|
resolvePathSync
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2VH25RMB.js";
|
|
19
19
|
import {
|
|
20
20
|
versions_default
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IAAPNJG4.js";
|
|
22
22
|
import {
|
|
23
23
|
BUN_LOCKFILE,
|
|
24
24
|
BUN_LOCKFILE_BINARY,
|
|
@@ -30,42 +30,42 @@ import {
|
|
|
30
30
|
getProjectRoot,
|
|
31
31
|
normalizeStoryPath,
|
|
32
32
|
require_cross_spawn
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-TLM4ECJN.js";
|
|
34
34
|
import {
|
|
35
35
|
findUp,
|
|
36
36
|
findUpMultipleSync,
|
|
37
37
|
findUpSync,
|
|
38
38
|
locatePathSync
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6FPFMFFH.js";
|
|
40
40
|
import {
|
|
41
41
|
invariant
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-HSS67Y6T.js";
|
|
43
43
|
import {
|
|
44
44
|
importModule,
|
|
45
45
|
resolvePackageDir,
|
|
46
46
|
safeResolveModule
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-CGY2ITTD.js";
|
|
48
48
|
import {
|
|
49
49
|
join,
|
|
50
50
|
parse,
|
|
51
51
|
resolve
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6A2WP6N7.js";
|
|
53
53
|
import {
|
|
54
54
|
require_prompts
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NTXIDMDM.js";
|
|
56
56
|
import {
|
|
57
57
|
glob,
|
|
58
58
|
globSync
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-63VGATS4.js";
|
|
60
60
|
import {
|
|
61
61
|
slash
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-DPF2NDLD.js";
|
|
63
63
|
import {
|
|
64
64
|
require_dist
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-JZ7ZEAK6.js";
|
|
66
66
|
import {
|
|
67
67
|
require_picocolors
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-KDKM7KMS.js";
|
|
69
69
|
import {
|
|
70
70
|
__commonJS,
|
|
71
71
|
__esm,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
__require,
|
|
75
75
|
__toCommonJS,
|
|
76
76
|
__toESM
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
78
78
|
|
|
79
79
|
// ../node_modules/common-path-prefix/index.js
|
|
80
80
|
var require_common_path_prefix = __commonJS({
|
|
@@ -13015,15 +13015,15 @@ var BUNProxy = class extends JsPackageManager {
|
|
|
13015
13015
|
});
|
|
13016
13016
|
}, "exec");
|
|
13017
13017
|
try {
|
|
13018
|
-
const
|
|
13019
|
-
const result = await
|
|
13018
|
+
const process4 = await exec({ packageDepth: depth });
|
|
13019
|
+
const result = await process4;
|
|
13020
13020
|
const commandResult = result.stdout ?? "";
|
|
13021
13021
|
const parsedOutput = JSON.parse(commandResult);
|
|
13022
13022
|
return this.mapDependencies(parsedOutput, pattern);
|
|
13023
13023
|
} catch (e) {
|
|
13024
13024
|
try {
|
|
13025
|
-
const
|
|
13026
|
-
const result = await
|
|
13025
|
+
const process4 = await exec({ packageDepth: 0 });
|
|
13026
|
+
const result = await process4;
|
|
13027
13027
|
const commandResult = result.stdout ?? "";
|
|
13028
13028
|
const parsedOutput = JSON.parse(commandResult);
|
|
13029
13029
|
return this.mapDependencies(parsedOutput, pattern);
|
|
@@ -13050,13 +13050,13 @@ var BUNProxy = class extends JsPackageManager {
|
|
|
13050
13050
|
});
|
|
13051
13051
|
}
|
|
13052
13052
|
async getRegistryURL() {
|
|
13053
|
-
const
|
|
13053
|
+
const process4 = this.executeCommand({
|
|
13054
13054
|
command: "npm",
|
|
13055
13055
|
// "npm config" commands are not allowed in workspaces per default
|
|
13056
13056
|
// https://github.com/npm/cli/issues/6099#issuecomment-1847584792
|
|
13057
13057
|
args: ["config", "get", "registry", "-ws=false", "-iwr"]
|
|
13058
13058
|
});
|
|
13059
|
-
const result = await
|
|
13059
|
+
const result = await process4;
|
|
13060
13060
|
const url = (result.stdout ?? "").trim();
|
|
13061
13061
|
return url === "undefined" ? void 0 : url;
|
|
13062
13062
|
}
|
|
@@ -13075,11 +13075,11 @@ var BUNProxy = class extends JsPackageManager {
|
|
|
13075
13075
|
async runGetVersions(packageName, fetchAllVersions) {
|
|
13076
13076
|
const args = fetchAllVersions ? ["versions", "--json"] : ["version"];
|
|
13077
13077
|
try {
|
|
13078
|
-
const
|
|
13078
|
+
const process4 = this.executeCommand({
|
|
13079
13079
|
command: "npm",
|
|
13080
13080
|
args: ["info", packageName, ...args]
|
|
13081
13081
|
});
|
|
13082
|
-
const result = await
|
|
13082
|
+
const result = await process4;
|
|
13083
13083
|
const commandResult = result.stdout ?? "";
|
|
13084
13084
|
const parsedOutput = fetchAllVersions ? JSON.parse(commandResult) : commandResult.trim();
|
|
13085
13085
|
if (parsedOutput.error?.summary) {
|
|
@@ -13295,13 +13295,13 @@ var NPMProxy = class extends JsPackageManager {
|
|
|
13295
13295
|
});
|
|
13296
13296
|
}
|
|
13297
13297
|
async getRegistryURL() {
|
|
13298
|
-
const
|
|
13298
|
+
const process4 = this.executeCommand({
|
|
13299
13299
|
command: "npm",
|
|
13300
13300
|
// "npm config" commands are not allowed in workspaces per default
|
|
13301
13301
|
// https://github.com/npm/cli/issues/6099#issuecomment-1847584792
|
|
13302
13302
|
args: ["config", "get", "registry", "-ws=false", "-iwr"]
|
|
13303
13303
|
});
|
|
13304
|
-
const result = await
|
|
13304
|
+
const result = await process4;
|
|
13305
13305
|
const url = (result.stdout ?? "").trim();
|
|
13306
13306
|
return url === "undefined" ? void 0 : url;
|
|
13307
13307
|
}
|
|
@@ -13320,11 +13320,11 @@ var NPMProxy = class extends JsPackageManager {
|
|
|
13320
13320
|
async runGetVersions(packageName, fetchAllVersions) {
|
|
13321
13321
|
const args = fetchAllVersions ? ["versions", "--json"] : ["version"];
|
|
13322
13322
|
try {
|
|
13323
|
-
const
|
|
13323
|
+
const process4 = this.executeCommand({
|
|
13324
13324
|
command: "npm",
|
|
13325
13325
|
args: ["info", packageName, ...args]
|
|
13326
13326
|
});
|
|
13327
|
-
const result = await
|
|
13327
|
+
const result = await process4;
|
|
13328
13328
|
const commandResult = result.stdout ?? "";
|
|
13329
13329
|
const parsedOutput = fetchAllVersions ? JSON.parse(commandResult) : commandResult.trim();
|
|
13330
13330
|
if (parsedOutput.error?.summary) {
|
|
@@ -13554,11 +13554,11 @@ var PNPMProxy = class extends JsPackageManager {
|
|
|
13554
13554
|
async runGetVersions(packageName, fetchAllVersions) {
|
|
13555
13555
|
const args = fetchAllVersions ? ["versions", "--json"] : ["version"];
|
|
13556
13556
|
try {
|
|
13557
|
-
const
|
|
13557
|
+
const process4 = this.executeCommand({
|
|
13558
13558
|
command: "pnpm",
|
|
13559
13559
|
args: ["info", packageName, ...args]
|
|
13560
13560
|
});
|
|
13561
|
-
const result = await
|
|
13561
|
+
const result = await process4;
|
|
13562
13562
|
const commandResult = result.stdout ?? "";
|
|
13563
13563
|
const parsedOutput = fetchAllVersions ? JSON.parse(commandResult) : commandResult.trim();
|
|
13564
13564
|
if (parsedOutput.error?.summary) {
|
|
@@ -13629,6 +13629,7 @@ var PNPMProxy = class extends JsPackageManager {
|
|
|
13629
13629
|
// src/common/js-package-manager/Yarn1Proxy.ts
|
|
13630
13630
|
import { existsSync as existsSync7, readFileSync as readFileSync8 } from "node:fs";
|
|
13631
13631
|
import { join as join12 } from "node:path";
|
|
13632
|
+
import process3 from "node:process";
|
|
13632
13633
|
import { prompt as prompt4 } from "storybook/internal/node-logger";
|
|
13633
13634
|
import { FindPackageVersionsError as FindPackageVersionsError4 } from "storybook/internal/server-errors";
|
|
13634
13635
|
|
|
@@ -13653,7 +13654,7 @@ var Yarn1Proxy = class extends JsPackageManager {
|
|
|
13653
13654
|
}
|
|
13654
13655
|
getInstallArgs() {
|
|
13655
13656
|
if (!this.installArgs) {
|
|
13656
|
-
this.installArgs = ["--ignore-workspace-root-check"];
|
|
13657
|
+
this.installArgs = process3.env.CI ? [] : ["--ignore-workspace-root-check"];
|
|
13657
13658
|
}
|
|
13658
13659
|
return this.installArgs;
|
|
13659
13660
|
}
|
|
@@ -13704,7 +13705,7 @@ var Yarn1Proxy = class extends JsPackageManager {
|
|
|
13704
13705
|
yarnArgs.push("--recursive");
|
|
13705
13706
|
}
|
|
13706
13707
|
try {
|
|
13707
|
-
const
|
|
13708
|
+
const process4 = this.executeCommand({
|
|
13708
13709
|
command: "yarn",
|
|
13709
13710
|
args: yarnArgs.concat(pattern),
|
|
13710
13711
|
env: {
|
|
@@ -13712,7 +13713,7 @@ var Yarn1Proxy = class extends JsPackageManager {
|
|
|
13712
13713
|
},
|
|
13713
13714
|
cwd: this.instanceDir
|
|
13714
13715
|
});
|
|
13715
|
-
const result = await
|
|
13716
|
+
const result = await process4;
|
|
13716
13717
|
const commandResult = result.stdout ?? "";
|
|
13717
13718
|
const parsedOutput = JSON.parse(commandResult);
|
|
13718
13719
|
return this.mapDependencies(parsedOutput, pattern);
|
|
@@ -13751,11 +13752,11 @@ var Yarn1Proxy = class extends JsPackageManager {
|
|
|
13751
13752
|
async runGetVersions(packageName, fetchAllVersions) {
|
|
13752
13753
|
const args = [fetchAllVersions ? "versions" : "version", "--json"];
|
|
13753
13754
|
try {
|
|
13754
|
-
const
|
|
13755
|
+
const process4 = this.executeCommand({
|
|
13755
13756
|
command: "yarn",
|
|
13756
13757
|
args: ["info", packageName, ...args]
|
|
13757
13758
|
});
|
|
13758
|
-
const result = await
|
|
13759
|
+
const result = await process4;
|
|
13759
13760
|
const commandResult = result.stdout ?? "";
|
|
13760
13761
|
const parsedOutput = JSON.parse(commandResult);
|
|
13761
13762
|
if (parsedOutput.type === "inspect") {
|
|
@@ -14007,11 +14008,11 @@ var Yarn2Proxy = class extends JsPackageManager {
|
|
|
14007
14008
|
});
|
|
14008
14009
|
}
|
|
14009
14010
|
async getRegistryURL() {
|
|
14010
|
-
const
|
|
14011
|
+
const process4 = this.executeCommand({
|
|
14011
14012
|
command: "yarn",
|
|
14012
14013
|
args: ["config", "get", "npmRegistryServer"]
|
|
14013
14014
|
});
|
|
14014
|
-
const result = await
|
|
14015
|
+
const result = await process4;
|
|
14015
14016
|
const url = (result.stdout ?? "").trim();
|
|
14016
14017
|
return url === "undefined" ? void 0 : url;
|
|
14017
14018
|
}
|
|
@@ -14019,11 +14020,11 @@ var Yarn2Proxy = class extends JsPackageManager {
|
|
|
14019
14020
|
const field = fetchAllVersions ? "versions" : "version";
|
|
14020
14021
|
const args = ["--fields", field, "--json"];
|
|
14021
14022
|
try {
|
|
14022
|
-
const
|
|
14023
|
+
const process4 = this.executeCommand({
|
|
14023
14024
|
command: "yarn",
|
|
14024
14025
|
args: ["npm", "info", packageName, ...args]
|
|
14025
14026
|
});
|
|
14026
|
-
const result = await
|
|
14027
|
+
const result = await process4;
|
|
14027
14028
|
const commandResult = result.stdout ?? "";
|
|
14028
14029
|
const parsedOutput = JSON.parse(commandResult);
|
|
14029
14030
|
return parsedOutput[field];
|
|
@@ -14281,7 +14282,7 @@ async function scanAndTransformFiles({
|
|
|
14281
14282
|
initial: defaultGlob
|
|
14282
14283
|
});
|
|
14283
14284
|
console.log("Scanning for affected files...");
|
|
14284
|
-
const globby = (await import("./globby-
|
|
14285
|
+
const globby = (await import("./globby-FGF2JG5Z.js")).globby;
|
|
14285
14286
|
const sourceFiles = await globby([glob2], {
|
|
14286
14287
|
...commonGlobOptions(""),
|
|
14287
14288
|
ignore: ["**/node_modules/**"],
|
|
@@ -14311,7 +14312,7 @@ function transformImports(source, renamedImports) {
|
|
|
14311
14312
|
__name(transformImports, "transformImports");
|
|
14312
14313
|
var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
|
|
14313
14314
|
const errors = [];
|
|
14314
|
-
const { default: pLimit } = await import("./p-limit-
|
|
14315
|
+
const { default: pLimit } = await import("./p-limit-JNDYEQZX.js");
|
|
14315
14316
|
const limit = pLimit(10);
|
|
14316
14317
|
await Promise.all(
|
|
14317
14318
|
files.map(
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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.0.0-beta.2";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
version
|
|
18
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/kleur/index.js
|
|
19
19
|
var require_kleur = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
17
17
|
var comma = ",".charCodeAt(0);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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-JZ7ZEAK6.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
19
19
|
|
|
20
20
|
// src/csf-tools/CsfFile.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qfbekemo7ri from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qfbekemo7ri from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qfbekemo7ri from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qfbekemo7ri.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qfbekemo7ri.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qfbekemo7ri.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-NNJMYLJM.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileSystemCache,
|
|
17
17
|
resolvePathInStorybookCache
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MX77OTGN.js";
|
|
19
19
|
import {
|
|
20
20
|
globalSettings
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XWJNZVOR.js";
|
|
22
22
|
import {
|
|
23
23
|
execaCommand,
|
|
24
24
|
getProjectRoot
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TLM4ECJN.js";
|
|
26
26
|
import {
|
|
27
27
|
findUp
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6FPFMFFH.js";
|
|
29
29
|
import {
|
|
30
30
|
resolvePackageDir
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CGY2ITTD.js";
|
|
32
32
|
import {
|
|
33
33
|
join
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6A2WP6N7.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-DPF2NDLD.js";
|
|
38
38
|
import {
|
|
39
39
|
require_picocolors
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-KDKM7KMS.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__name,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PTT3CRNJ.js";
|
|
46
46
|
|
|
47
47
|
// ../node_modules/fetch-retry/index.js
|
|
48
48
|
var require_fetch_retry = __commonJS({
|