storybook 9.0.0-alpha.2 → 9.0.0-alpha.21
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/README.md +1 -1
- package/assets/docs/addon-backgrounds.gif +0 -0
- package/assets/docs/addon-controls-args-annotated.png +0 -0
- package/assets/docs/addon-controls-args-background-color.png +0 -0
- package/assets/docs/addon-controls-args-background-string.png +0 -0
- package/assets/docs/addon-controls-args-docs.png +0 -0
- package/assets/docs/addon-controls-args-logging.png +0 -0
- package/assets/docs/addon-controls-args-no-annotation.png +0 -0
- package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
- package/assets/docs/addon-controls-args-reflow.png +0 -0
- package/assets/docs/addon-controls-args-template.png +0 -0
- package/assets/docs/addon-controls-expanded.png +0 -0
- package/assets/docs/addon-controls-hero.gif +0 -0
- package/assets/docs/addon-controls-install.png +0 -0
- package/assets/docs/hero.gif +0 -0
- package/assets/docs/highlight.png +0 -0
- package/assets/docs/viewport.png +0 -0
- package/assets/server/base-preview-head.html +1 -3
- package/bin/index.cjs +2 -2
- package/dist/actions/decorator.d.ts +6 -0
- package/dist/actions/decorator.js +134 -0
- package/dist/actions/index.cjs +123 -0
- package/dist/actions/index.d.ts +102 -0
- package/dist/actions/index.js +108 -0
- package/dist/actions/preview.cjs +161 -0
- package/dist/actions/preview.d.ts +54 -0
- package/dist/actions/preview.js +152 -0
- package/dist/babel/index.cjs +822 -816
- package/dist/babel/index.js +822 -816
- package/dist/backgrounds/index.cjs +148 -0
- package/dist/backgrounds/index.d.ts +91 -0
- package/dist/backgrounds/index.js +130 -0
- package/dist/backgrounds/preview.cjs +143 -0
- package/dist/backgrounds/preview.d.ts +54 -0
- package/dist/backgrounds/preview.js +127 -0
- package/dist/bin/index.cjs +49 -70
- package/dist/bin/index.js +49 -70
- package/dist/builder-manager/index.cjs +319 -326
- package/dist/builder-manager/index.js +576 -583
- package/dist/channels/index.cjs +1026 -981
- package/dist/channels/index.js +1258 -1207
- package/dist/cli/bin/index.cjs +483 -483
- package/dist/cli/bin/index.js +495 -495
- package/dist/cli/index.cjs +61735 -7590
- package/dist/cli/index.d.ts +25 -21
- package/dist/cli/index.js +61776 -7631
- package/dist/client-logger/index.cjs +56 -88
- package/dist/client-logger/index.js +41 -47
- package/dist/common/index.cjs +16137 -9085
- package/dist/common/index.d.ts +35 -30
- package/dist/common/index.js +16230 -9172
- package/dist/component-testing/index.cjs +23 -0
- package/dist/component-testing/index.d.ts +3 -0
- package/dist/component-testing/index.js +5 -0
- package/dist/component-testing/preview.cjs +40 -0
- package/dist/component-testing/preview.d.ts +5 -0
- package/dist/component-testing/preview.js +25 -0
- package/dist/components/index.cjs +16268 -24926
- package/dist/components/index.d.ts +98 -347
- package/dist/components/index.js +5905 -19177
- package/dist/controls/decorator.d.ts +5 -0
- package/dist/controls/decorator.js +8 -0
- package/dist/controls/index.cjs +26 -0
- package/dist/controls/index.d.ts +39 -0
- package/dist/controls/index.js +6 -0
- package/dist/controls/preview.cjs +26 -0
- package/dist/controls/preview.d.ts +54 -0
- package/dist/controls/preview.js +9 -0
- package/dist/core-events/index.cjs +91 -106
- package/dist/core-events/index.d.ts +139 -104
- package/dist/core-events/index.js +79 -94
- package/dist/core-server/index.cjs +13898 -13409
- package/dist/core-server/index.d.ts +270 -3
- package/dist/core-server/index.js +13981 -13497
- package/dist/core-server/presets/common-manager.css +170 -0
- package/dist/core-server/presets/common-manager.js +12149 -17
- package/dist/core-server/presets/common-preset.cjs +3009 -3155
- package/dist/core-server/presets/common-preset.js +2862 -3009
- package/dist/csf/index.cjs +76 -120
- package/dist/csf/index.d.ts +2 -6
- package/dist/csf/index.js +69 -113
- package/dist/csf-tools/index.cjs +412 -403
- package/dist/csf-tools/index.d.ts +0 -4
- package/dist/csf-tools/index.js +410 -401
- package/dist/docs-tools/index.cjs +2569 -575
- package/dist/docs-tools/index.d.ts +2 -2
- package/dist/docs-tools/index.js +2565 -564
- package/dist/highlight/index.cjs +27 -0
- package/dist/highlight/index.d.ts +61 -0
- package/dist/highlight/index.js +7 -0
- package/dist/highlight/preview.cjs +535 -0
- package/dist/highlight/preview.d.ts +54 -0
- package/dist/highlight/preview.js +519 -0
- package/dist/instrumenter/index.cjs +2207 -2342
- package/dist/instrumenter/index.d.ts +8 -7
- package/dist/instrumenter/index.js +2430 -2603
- package/dist/manager/globals-module-info.cjs +291 -151
- package/dist/manager/globals-module-info.d.ts +1 -1
- package/dist/manager/globals-module-info.js +275 -135
- package/dist/manager/globals-runtime.js +60263 -28383
- package/dist/manager/globals.cjs +23 -19
- package/dist/manager/globals.d.ts +8 -5
- package/dist/manager/globals.js +10 -6
- package/dist/manager/runtime.js +4625 -3921
- package/dist/manager-api/index.cjs +4228 -3833
- package/dist/manager-api/index.d.ts +398 -102
- package/dist/manager-api/index.js +3500 -3084
- package/dist/manager-errors.d.ts +25 -1
- package/dist/manager-errors.js +50 -30
- package/dist/measure/index.cjs +476 -0
- package/dist/measure/index.d.ts +66 -0
- package/dist/measure/index.js +464 -0
- package/dist/measure/preview.cjs +466 -0
- package/dist/measure/preview.d.ts +59 -0
- package/dist/measure/preview.js +450 -0
- package/dist/outline/index.cjs +528 -0
- package/dist/outline/index.d.ts +66 -0
- package/dist/outline/index.js +500 -0
- package/dist/outline/preview.cjs +518 -0
- package/dist/outline/preview.d.ts +59 -0
- package/dist/outline/preview.js +486 -0
- package/dist/preview/globals.cjs +21 -17
- package/dist/preview/globals.d.ts +4 -1
- package/dist/preview/globals.js +6 -2
- package/dist/preview/runtime.js +46311 -6614
- package/dist/preview-api/index.cjs +1363 -1899
- package/dist/preview-api/index.d.ts +81 -395
- package/dist/preview-api/index.js +1711 -2169
- package/dist/preview-errors.cjs +119 -88
- package/dist/preview-errors.d.ts +30 -2
- package/dist/preview-errors.js +192 -142
- package/dist/router/index.cjs +847 -871
- package/dist/router/index.js +193 -199
- package/dist/server-errors.cjs +188 -124
- package/dist/server-errors.d.ts +36 -2
- package/dist/server-errors.js +188 -124
- package/dist/telemetry/index.cjs +1056 -1979
- package/dist/telemetry/index.d.ts +26 -5
- package/dist/telemetry/index.js +1091 -2010
- package/dist/test/index.cjs +35686 -0
- package/dist/test/index.d.ts +186 -0
- package/dist/test/index.js +33840 -0
- package/dist/test/preview.cjs +15870 -0
- package/dist/test/preview.d.ts +48 -0
- package/dist/test/preview.js +14501 -0
- package/dist/test/spy.cjs +258 -0
- package/dist/test/spy.d.ts +66 -0
- package/dist/test/spy.js +240 -0
- package/dist/theming/create.cjs +79 -2269
- package/dist/theming/create.js +67 -841
- package/dist/theming/index.cjs +1065 -3232
- package/dist/theming/index.js +951 -1719
- package/dist/types/index.cjs +11 -12
- package/dist/types/index.d.ts +684 -163
- package/dist/types/index.js +1 -2
- package/dist/viewport/index.cjs +310 -0
- package/dist/viewport/index.d.ts +320 -0
- package/dist/viewport/index.js +290 -0
- package/dist/viewport/preview.cjs +35 -0
- package/dist/viewport/preview.d.ts +68 -0
- package/dist/viewport/preview.js +19 -0
- package/package.json +359 -12
package/dist/bin/index.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var n = Object.create;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var i = Object.defineProperty;
|
|
4
|
+
var h = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var c = Object.getOwnPropertyNames;
|
|
6
6
|
var d = Object.getPrototypeOf, v = Object.prototype.hasOwnProperty;
|
|
7
7
|
var u = (o, e, a, t) => {
|
|
8
8
|
if (e && typeof e == "object" || typeof e == "function")
|
|
9
9
|
for (let l of c(e))
|
|
10
|
-
!v.call(o, l) && l !== a &&
|
|
10
|
+
!v.call(o, l) && l !== a && i(o, l, { get: () => e[l], enumerable: !(t = h(e, l)) || t.enumerable });
|
|
11
11
|
return o;
|
|
12
12
|
};
|
|
13
|
-
var
|
|
13
|
+
var k = (o, e, a) => (a = o != null ? n(d(o)) : {}, u(
|
|
14
14
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
15
15
|
// file that has been converted to a CommonJS file using a Babel-
|
|
16
16
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
17
17
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
18
|
-
e || !o || !o.__esModule ?
|
|
18
|
+
e || !o || !o.__esModule ? i(a, "default", { value: o, enumerable: !0 }) : a,
|
|
19
19
|
o
|
|
20
20
|
));
|
|
21
21
|
|
|
@@ -24,71 +24,50 @@ var y = require("node:child_process"), b = require("node:fs"), s = require("node
|
|
|
24
24
|
|
|
25
25
|
// src/common/versions.ts
|
|
26
26
|
var p = {
|
|
27
|
-
"@storybook/addon-a11y": "9.0.0-alpha.
|
|
28
|
-
"@storybook/addon-
|
|
29
|
-
"@storybook/addon-
|
|
30
|
-
"@storybook/addon-
|
|
31
|
-
"@storybook/addon-
|
|
32
|
-
"
|
|
33
|
-
"@storybook/addon-
|
|
34
|
-
"@storybook/addon-
|
|
35
|
-
"@storybook/
|
|
36
|
-
"@storybook/
|
|
37
|
-
|
|
38
|
-
"@storybook/
|
|
39
|
-
"@storybook/
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@storybook/
|
|
42
|
-
"@storybook/
|
|
43
|
-
"@storybook/
|
|
44
|
-
"@storybook/
|
|
45
|
-
"@storybook/
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/
|
|
48
|
-
storybook: "9.0.0-alpha.
|
|
49
|
-
"@storybook/
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/
|
|
52
|
-
|
|
53
|
-
"@storybook/
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@storybook/
|
|
56
|
-
"
|
|
57
|
-
"@storybook/
|
|
58
|
-
"
|
|
59
|
-
"@storybook/react-
|
|
60
|
-
"@storybook/
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/
|
|
63
|
-
"@storybook/
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@storybook/
|
|
66
|
-
"@storybook/
|
|
67
|
-
"@storybook/
|
|
68
|
-
"@storybook/
|
|
69
|
-
|
|
70
|
-
"@storybook/
|
|
71
|
-
"@storybook/codemod": "9.0.0-alpha.2",
|
|
72
|
-
"@storybook/core-webpack": "9.0.0-alpha.2",
|
|
73
|
-
"create-storybook": "9.0.0-alpha.2",
|
|
74
|
-
"@storybook/csf-plugin": "9.0.0-alpha.2",
|
|
75
|
-
"@storybook/react-dom-shim": "9.0.0-alpha.2",
|
|
76
|
-
"@storybook/source-loader": "9.0.0-alpha.2",
|
|
77
|
-
"@storybook/test": "9.0.0-alpha.2",
|
|
78
|
-
"@storybook/preset-create-react-app": "9.0.0-alpha.2",
|
|
79
|
-
"@storybook/preset-html-webpack": "9.0.0-alpha.2",
|
|
80
|
-
"@storybook/preset-preact-webpack": "9.0.0-alpha.2",
|
|
81
|
-
"@storybook/preset-react-webpack": "9.0.0-alpha.2",
|
|
82
|
-
"@storybook/preset-server-webpack": "9.0.0-alpha.2",
|
|
83
|
-
"@storybook/preset-svelte-webpack": "9.0.0-alpha.2",
|
|
84
|
-
"@storybook/preset-vue3-webpack": "9.0.0-alpha.2",
|
|
85
|
-
"@storybook/html": "9.0.0-alpha.2",
|
|
86
|
-
"@storybook/preact": "9.0.0-alpha.2",
|
|
87
|
-
"@storybook/react": "9.0.0-alpha.2",
|
|
88
|
-
"@storybook/server": "9.0.0-alpha.2",
|
|
89
|
-
"@storybook/svelte": "9.0.0-alpha.2",
|
|
90
|
-
"@storybook/vue3": "9.0.0-alpha.2",
|
|
91
|
-
"@storybook/web-components": "9.0.0-alpha.2"
|
|
27
|
+
"@storybook/addon-a11y": "9.0.0-alpha.21",
|
|
28
|
+
"@storybook/addon-docs": "9.0.0-alpha.21",
|
|
29
|
+
"@storybook/addon-jest": "9.0.0-alpha.21",
|
|
30
|
+
"@storybook/addon-links": "9.0.0-alpha.21",
|
|
31
|
+
"@storybook/addon-onboarding": "9.0.0-alpha.21",
|
|
32
|
+
"storybook-addon-pseudo-states": "9.0.0-alpha.21",
|
|
33
|
+
"@storybook/addon-themes": "9.0.0-alpha.21",
|
|
34
|
+
"@storybook/addon-vitest": "9.0.0-alpha.21",
|
|
35
|
+
"@storybook/builder-vite": "9.0.0-alpha.21",
|
|
36
|
+
"@storybook/builder-webpack5": "9.0.0-alpha.21",
|
|
37
|
+
storybook: "9.0.0-alpha.21",
|
|
38
|
+
"@storybook/angular": "9.0.0-alpha.21",
|
|
39
|
+
"@storybook/ember": "9.0.0-alpha.21",
|
|
40
|
+
"@storybook/html-vite": "9.0.0-alpha.21",
|
|
41
|
+
"@storybook/nextjs": "9.0.0-alpha.21",
|
|
42
|
+
"@storybook/nextjs-vite": "9.0.0-alpha.21",
|
|
43
|
+
"@storybook/preact-vite": "9.0.0-alpha.21",
|
|
44
|
+
"@storybook/react-native-web-vite": "9.0.0-alpha.21",
|
|
45
|
+
"@storybook/react-vite": "9.0.0-alpha.21",
|
|
46
|
+
"@storybook/react-webpack5": "9.0.0-alpha.21",
|
|
47
|
+
"@storybook/server-webpack5": "9.0.0-alpha.21",
|
|
48
|
+
"@storybook/svelte-vite": "9.0.0-alpha.21",
|
|
49
|
+
"@storybook/sveltekit": "9.0.0-alpha.21",
|
|
50
|
+
"@storybook/vue3-vite": "9.0.0-alpha.21",
|
|
51
|
+
"@storybook/web-components-vite": "9.0.0-alpha.21",
|
|
52
|
+
sb: "9.0.0-alpha.21",
|
|
53
|
+
"@storybook/cli": "9.0.0-alpha.21",
|
|
54
|
+
"@storybook/codemod": "9.0.0-alpha.21",
|
|
55
|
+
"@storybook/core-webpack": "9.0.0-alpha.21",
|
|
56
|
+
"create-storybook": "9.0.0-alpha.21",
|
|
57
|
+
"@storybook/csf-plugin": "9.0.0-alpha.21",
|
|
58
|
+
"eslint-plugin-storybook": "9.0.0-alpha.21",
|
|
59
|
+
"@storybook/react-dom-shim": "9.0.0-alpha.21",
|
|
60
|
+
"@storybook/source-loader": "9.0.0-alpha.21",
|
|
61
|
+
"@storybook/preset-create-react-app": "9.0.0-alpha.21",
|
|
62
|
+
"@storybook/preset-react-webpack": "9.0.0-alpha.21",
|
|
63
|
+
"@storybook/preset-server-webpack": "9.0.0-alpha.21",
|
|
64
|
+
"@storybook/html": "9.0.0-alpha.21",
|
|
65
|
+
"@storybook/preact": "9.0.0-alpha.21",
|
|
66
|
+
"@storybook/react": "9.0.0-alpha.21",
|
|
67
|
+
"@storybook/server": "9.0.0-alpha.21",
|
|
68
|
+
"@storybook/svelte": "9.0.0-alpha.21",
|
|
69
|
+
"@storybook/vue3": "9.0.0-alpha.21",
|
|
70
|
+
"@storybook/web-components": "9.0.0-alpha.21"
|
|
92
71
|
};
|
|
93
72
|
|
|
94
73
|
// src/bin/index.ts
|
package/dist/bin/index.js
CHANGED
|
@@ -12,77 +12,56 @@ var r = /* @__PURE__ */ ((a) => typeof require < "u" ? require : typeof Proxy <
|
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
// src/bin/index.ts
|
|
15
|
-
import { spawn as
|
|
15
|
+
import { spawn as k } from "node:child_process";
|
|
16
16
|
import { readFileSync as p } from "node:fs";
|
|
17
|
-
import { dirname as b, join as
|
|
17
|
+
import { dirname as b, join as i } from "node:path";
|
|
18
18
|
|
|
19
19
|
// src/common/versions.ts
|
|
20
20
|
var t = {
|
|
21
|
-
"@storybook/addon-a11y": "9.0.0-alpha.
|
|
22
|
-
"@storybook/addon-
|
|
23
|
-
"@storybook/addon-
|
|
24
|
-
"@storybook/addon-
|
|
25
|
-
"@storybook/addon-
|
|
26
|
-
"
|
|
27
|
-
"@storybook/addon-
|
|
28
|
-
"@storybook/addon-
|
|
29
|
-
"@storybook/
|
|
30
|
-
"@storybook/
|
|
31
|
-
|
|
32
|
-
"@storybook/
|
|
33
|
-
"@storybook/
|
|
34
|
-
"@storybook/
|
|
35
|
-
"@storybook/
|
|
36
|
-
"@storybook/
|
|
37
|
-
"@storybook/
|
|
38
|
-
"@storybook/
|
|
39
|
-
"@storybook/
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@storybook/
|
|
42
|
-
storybook: "9.0.0-alpha.
|
|
43
|
-
"@storybook/
|
|
44
|
-
"@storybook/
|
|
45
|
-
"@storybook/
|
|
46
|
-
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@storybook/
|
|
49
|
-
"@storybook/
|
|
50
|
-
"
|
|
51
|
-
"@storybook/
|
|
52
|
-
"
|
|
53
|
-
"@storybook/react-
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@storybook/
|
|
57
|
-
"@storybook/
|
|
58
|
-
"@storybook/
|
|
59
|
-
"@storybook/
|
|
60
|
-
"@storybook/
|
|
61
|
-
"@storybook/
|
|
62
|
-
"@storybook/
|
|
63
|
-
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@storybook/codemod": "9.0.0-alpha.2",
|
|
66
|
-
"@storybook/core-webpack": "9.0.0-alpha.2",
|
|
67
|
-
"create-storybook": "9.0.0-alpha.2",
|
|
68
|
-
"@storybook/csf-plugin": "9.0.0-alpha.2",
|
|
69
|
-
"@storybook/react-dom-shim": "9.0.0-alpha.2",
|
|
70
|
-
"@storybook/source-loader": "9.0.0-alpha.2",
|
|
71
|
-
"@storybook/test": "9.0.0-alpha.2",
|
|
72
|
-
"@storybook/preset-create-react-app": "9.0.0-alpha.2",
|
|
73
|
-
"@storybook/preset-html-webpack": "9.0.0-alpha.2",
|
|
74
|
-
"@storybook/preset-preact-webpack": "9.0.0-alpha.2",
|
|
75
|
-
"@storybook/preset-react-webpack": "9.0.0-alpha.2",
|
|
76
|
-
"@storybook/preset-server-webpack": "9.0.0-alpha.2",
|
|
77
|
-
"@storybook/preset-svelte-webpack": "9.0.0-alpha.2",
|
|
78
|
-
"@storybook/preset-vue3-webpack": "9.0.0-alpha.2",
|
|
79
|
-
"@storybook/html": "9.0.0-alpha.2",
|
|
80
|
-
"@storybook/preact": "9.0.0-alpha.2",
|
|
81
|
-
"@storybook/react": "9.0.0-alpha.2",
|
|
82
|
-
"@storybook/server": "9.0.0-alpha.2",
|
|
83
|
-
"@storybook/svelte": "9.0.0-alpha.2",
|
|
84
|
-
"@storybook/vue3": "9.0.0-alpha.2",
|
|
85
|
-
"@storybook/web-components": "9.0.0-alpha.2"
|
|
21
|
+
"@storybook/addon-a11y": "9.0.0-alpha.21",
|
|
22
|
+
"@storybook/addon-docs": "9.0.0-alpha.21",
|
|
23
|
+
"@storybook/addon-jest": "9.0.0-alpha.21",
|
|
24
|
+
"@storybook/addon-links": "9.0.0-alpha.21",
|
|
25
|
+
"@storybook/addon-onboarding": "9.0.0-alpha.21",
|
|
26
|
+
"storybook-addon-pseudo-states": "9.0.0-alpha.21",
|
|
27
|
+
"@storybook/addon-themes": "9.0.0-alpha.21",
|
|
28
|
+
"@storybook/addon-vitest": "9.0.0-alpha.21",
|
|
29
|
+
"@storybook/builder-vite": "9.0.0-alpha.21",
|
|
30
|
+
"@storybook/builder-webpack5": "9.0.0-alpha.21",
|
|
31
|
+
storybook: "9.0.0-alpha.21",
|
|
32
|
+
"@storybook/angular": "9.0.0-alpha.21",
|
|
33
|
+
"@storybook/ember": "9.0.0-alpha.21",
|
|
34
|
+
"@storybook/html-vite": "9.0.0-alpha.21",
|
|
35
|
+
"@storybook/nextjs": "9.0.0-alpha.21",
|
|
36
|
+
"@storybook/nextjs-vite": "9.0.0-alpha.21",
|
|
37
|
+
"@storybook/preact-vite": "9.0.0-alpha.21",
|
|
38
|
+
"@storybook/react-native-web-vite": "9.0.0-alpha.21",
|
|
39
|
+
"@storybook/react-vite": "9.0.0-alpha.21",
|
|
40
|
+
"@storybook/react-webpack5": "9.0.0-alpha.21",
|
|
41
|
+
"@storybook/server-webpack5": "9.0.0-alpha.21",
|
|
42
|
+
"@storybook/svelte-vite": "9.0.0-alpha.21",
|
|
43
|
+
"@storybook/sveltekit": "9.0.0-alpha.21",
|
|
44
|
+
"@storybook/vue3-vite": "9.0.0-alpha.21",
|
|
45
|
+
"@storybook/web-components-vite": "9.0.0-alpha.21",
|
|
46
|
+
sb: "9.0.0-alpha.21",
|
|
47
|
+
"@storybook/cli": "9.0.0-alpha.21",
|
|
48
|
+
"@storybook/codemod": "9.0.0-alpha.21",
|
|
49
|
+
"@storybook/core-webpack": "9.0.0-alpha.21",
|
|
50
|
+
"create-storybook": "9.0.0-alpha.21",
|
|
51
|
+
"@storybook/csf-plugin": "9.0.0-alpha.21",
|
|
52
|
+
"eslint-plugin-storybook": "9.0.0-alpha.21",
|
|
53
|
+
"@storybook/react-dom-shim": "9.0.0-alpha.21",
|
|
54
|
+
"@storybook/source-loader": "9.0.0-alpha.21",
|
|
55
|
+
"@storybook/preset-create-react-app": "9.0.0-alpha.21",
|
|
56
|
+
"@storybook/preset-react-webpack": "9.0.0-alpha.21",
|
|
57
|
+
"@storybook/preset-server-webpack": "9.0.0-alpha.21",
|
|
58
|
+
"@storybook/html": "9.0.0-alpha.21",
|
|
59
|
+
"@storybook/preact": "9.0.0-alpha.21",
|
|
60
|
+
"@storybook/react": "9.0.0-alpha.21",
|
|
61
|
+
"@storybook/server": "9.0.0-alpha.21",
|
|
62
|
+
"@storybook/svelte": "9.0.0-alpha.21",
|
|
63
|
+
"@storybook/vue3": "9.0.0-alpha.21",
|
|
64
|
+
"@storybook/web-components": "9.0.0-alpha.21"
|
|
86
65
|
};
|
|
87
66
|
|
|
88
67
|
// src/bin/index.ts
|
|
@@ -99,7 +78,7 @@ else {
|
|
|
99
78
|
}
|
|
100
79
|
o ? JSON.parse(p(o, "utf-8")).version === t["create-storybook"] && (a = [
|
|
101
80
|
"node",
|
|
102
|
-
|
|
81
|
+
i(b(o), "bin", "index.cjs"),
|
|
103
82
|
...e.slice(1)
|
|
104
83
|
]) : a = ["npx", "--yes", `create-storybook@${t.storybook}`, ...e.slice(1)];
|
|
105
84
|
} else {
|
|
@@ -108,10 +87,10 @@ else {
|
|
|
108
87
|
o = r.resolve("@storybook/cli/package.json");
|
|
109
88
|
} catch {
|
|
110
89
|
}
|
|
111
|
-
o ? JSON.parse(p(o, "utf-8")).version === t["@storybook/cli"] && (a = ["node",
|
|
90
|
+
o ? JSON.parse(p(o, "utf-8")).version === t["@storybook/cli"] && (a = ["node", i(b(o), "bin", "index.cjs"), ...e]) : a = ["npx", "--yes",
|
|
112
91
|
`@storybook/cli@${t.storybook}`, ...e];
|
|
113
92
|
}
|
|
114
|
-
a || (console.error("Could not run storybook cli, please report this as a bug"), process.exit(1)),
|
|
93
|
+
a || (console.error("Could not run storybook cli, please report this as a bug"), process.exit(1)), k(a[0], a.slice(1), { stdio: "inherit",
|
|
115
94
|
shell: !0 }).on("exit", (o) => {
|
|
116
95
|
o != null && process.exit(o), process.exit(1);
|
|
117
96
|
});
|