storybook 9.0.0-alpha.2 → 9.0.0-alpha.4

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.
Files changed (79) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/decorator.d.ts +6 -0
  3. package/dist/actions/decorator.js +139 -0
  4. package/dist/actions/index.cjs +127 -0
  5. package/dist/actions/index.d.ts +105 -0
  6. package/dist/actions/index.js +112 -0
  7. package/dist/actions/manager.js +1196 -0
  8. package/dist/actions/preview.cjs +165 -0
  9. package/dist/actions/preview.d.ts +55 -0
  10. package/dist/actions/preview.js +156 -0
  11. package/dist/bin/index.cjs +63 -65
  12. package/dist/bin/index.js +63 -65
  13. package/dist/channels/index.cjs +209 -234
  14. package/dist/channels/index.js +304 -308
  15. package/dist/cli/bin/index.cjs +409 -409
  16. package/dist/cli/bin/index.js +414 -414
  17. package/dist/cli/index.cjs +1 -1
  18. package/dist/cli/index.d.ts +2 -2
  19. package/dist/cli/index.js +1 -1
  20. package/dist/client-logger/index.cjs +56 -88
  21. package/dist/client-logger/index.js +41 -47
  22. package/dist/common/index.cjs +148 -148
  23. package/dist/common/index.d.ts +1 -5
  24. package/dist/common/index.js +171 -171
  25. package/dist/components/index.cjs +9413 -11578
  26. package/dist/components/index.d.ts +92 -92
  27. package/dist/components/index.js +6768 -7544
  28. package/dist/core-events/index.d.ts +138 -25
  29. package/dist/core-server/index.cjs +5244 -5270
  30. package/dist/core-server/index.d.ts +1 -1
  31. package/dist/core-server/index.js +5356 -5380
  32. package/dist/core-server/presets/common-manager.js +11 -19
  33. package/dist/core-server/presets/common-preset.cjs +243 -242
  34. package/dist/core-server/presets/common-preset.js +379 -378
  35. package/dist/csf/index.cjs +76 -120
  36. package/dist/csf/index.d.ts +1 -3
  37. package/dist/csf/index.js +69 -113
  38. package/dist/docs-tools/index.cjs +1 -1
  39. package/dist/docs-tools/index.d.ts +2 -2
  40. package/dist/docs-tools/index.js +1 -1
  41. package/dist/instrumenter/index.cjs +1260 -1289
  42. package/dist/instrumenter/index.js +1344 -1348
  43. package/dist/manager/globals-module-info.cjs +272 -135
  44. package/dist/manager/globals-module-info.d.ts +1 -1
  45. package/dist/manager/globals-module-info.js +257 -120
  46. package/dist/manager/globals-runtime.js +59553 -22373
  47. package/dist/manager/globals.cjs +23 -19
  48. package/dist/manager/globals.d.ts +8 -5
  49. package/dist/manager/globals.js +10 -6
  50. package/dist/manager/runtime.js +129 -129
  51. package/dist/manager-api/index.cjs +1184 -1209
  52. package/dist/manager-api/index.d.ts +3 -3
  53. package/dist/manager-api/index.js +1012 -1012
  54. package/dist/preview/globals.cjs +21 -17
  55. package/dist/preview/globals.d.ts +4 -1
  56. package/dist/preview/globals.js +6 -2
  57. package/dist/preview/runtime.js +43946 -6548
  58. package/dist/preview-api/index.cjs +1245 -1243
  59. package/dist/preview-api/index.d.ts +105 -61
  60. package/dist/preview-api/index.js +1311 -1273
  61. package/dist/preview-errors.cjs +1 -1
  62. package/dist/preview-errors.js +1 -1
  63. package/dist/router/index.cjs +847 -871
  64. package/dist/router/index.js +193 -199
  65. package/dist/test/index.cjs +34778 -0
  66. package/dist/test/index.d.ts +186 -0
  67. package/dist/test/index.js +32916 -0
  68. package/dist/test/preview.cjs +15870 -0
  69. package/dist/test/preview.d.ts +54 -0
  70. package/dist/test/preview.js +14441 -0
  71. package/dist/test/spy.cjs +258 -0
  72. package/dist/test/spy.d.ts +66 -0
  73. package/dist/test/spy.js +240 -0
  74. package/dist/theming/create.cjs +79 -2269
  75. package/dist/theming/create.js +67 -841
  76. package/dist/theming/index.cjs +1065 -3232
  77. package/dist/theming/index.js +951 -1719
  78. package/dist/types/index.d.ts +242 -242
  79. package/package.json +155 -3
@@ -0,0 +1,165 @@
1
+ "use strict";
2
+ var g = Object.defineProperty;
3
+ var C = Object.getOwnPropertyDescriptor;
4
+ var W = Object.getOwnPropertyNames;
5
+ var M = Object.prototype.hasOwnProperty;
6
+ var i = (e, t) => g(e, "name", { value: t, configurable: !0 });
7
+ var m = (e, t) => {
8
+ for (var o in t)
9
+ g(e, o, { get: t[o], enumerable: !0 });
10
+ }, L = (e, t, o, r) => {
11
+ if (t && typeof t == "object" || typeof t == "function")
12
+ for (let n of W(t))
13
+ !M.call(e, n) && n !== o && g(e, n, { get: () => t[n], enumerable: !(r = C(t, n)) || r.enumerable });
14
+ return e;
15
+ };
16
+ var V = (e) => L(g({}, "__esModule", { value: !0 }), e);
17
+
18
+ // src/actions/preview.ts
19
+ var U = {};
20
+ m(U, {
21
+ default: () => H
22
+ });
23
+ module.exports = V(U);
24
+ var F = require("storybook/preview-api");
25
+
26
+ // src/actions/addArgs.ts
27
+ var A = {};
28
+ m(A, {
29
+ argsEnhancers: () => B
30
+ });
31
+
32
+ // src/actions/runtime/action.ts
33
+ var O = require("storybook/internal/preview-errors"), u = require("@storybook/global"), w = require("storybook/preview-api"), v = require("uuid");
34
+
35
+ // src/actions/constants.ts
36
+ var f = "storybook/actions", J = `${f}/panel`, E = `${f}/action-event`, Q = `${f}/action-clear`;
37
+
38
+ // src/actions/runtime/configureActions.ts
39
+ var R = {
40
+ depth: 10,
41
+ clearOnStoryChange: !0,
42
+ limit: 50
43
+ };
44
+
45
+ // src/actions/runtime/action.ts
46
+ var T = /* @__PURE__ */ i((e, t) => {
47
+ let o = Object.getPrototypeOf(e);
48
+ return !o || t(o) ? o : T(o, t);
49
+ }, "findProto"), N = /* @__PURE__ */ i((e) => !!(typeof e == "object" && e && T(e, (t) => /^Synthetic(?:Base)?Event$/.test(t.constructor.name)) &&
50
+ typeof e.persist == "function"), "isReactSyntheticEvent"), Y = /* @__PURE__ */ i((e) => {
51
+ if (N(e)) {
52
+ let t = Object.create(
53
+ e.constructor.prototype,
54
+ Object.getOwnPropertyDescriptors(e)
55
+ );
56
+ t.persist();
57
+ let o = Object.getOwnPropertyDescriptor(t, "view"), r = o?.value;
58
+ return typeof r == "object" && r?.constructor.name === "Window" && Object.defineProperty(t, "view", {
59
+ ...o,
60
+ value: Object.create(r.constructor.prototype)
61
+ }), t;
62
+ }
63
+ return e;
64
+ }, "serializeArg"), $ = /* @__PURE__ */ i(() => typeof crypto == "object" && typeof crypto.getRandomValues == "function" ? (0, v.v4)() : (
65
+ // pseudo random id, example response lo1e7zm4832bkr7yfl7
66
+ Date.now().toString(36) + Math.random().toString(36).substring(2)
67
+ ), "generateId");
68
+ function l(e, t = {}) {
69
+ let o = {
70
+ ...R,
71
+ ...t
72
+ }, r = /* @__PURE__ */ i(function(...s) {
73
+ if (t.implicit) {
74
+ let x = ("__STORYBOOK_PREVIEW__" in u.global ? (
75
+ // eslint-disable-next-line no-underscore-dangle
76
+ u.global.__STORYBOOK_PREVIEW__
77
+ ) : void 0)?.storyRenders.find(
78
+ (d) => d.phase === "playing" || d.phase === "rendering"
79
+ );
80
+ if (x) {
81
+ let d = !globalThis?.FEATURES?.disallowImplicitActionsInRenderV8, b = new O.ImplicitActionsDuringRendering({
82
+ phase: x.phase,
83
+ name: e,
84
+ deprecated: d
85
+ });
86
+ if (d)
87
+ console.warn(b);
88
+ else
89
+ throw b;
90
+ }
91
+ }
92
+ let a = w.addons.getChannel(), c = $(), p = 5, y = s.map(Y), P = s.length > 1 ? y : y[0], S = {
93
+ id: c,
94
+ count: 0,
95
+ data: { name: e, args: P },
96
+ options: {
97
+ ...o,
98
+ maxDepth: p + (o.depth || 3),
99
+ allowFunction: o.allowFunction || !1
100
+ }
101
+ };
102
+ a.emit(E, S);
103
+ }, "actionHandler");
104
+ return r.isAction = !0, r.implicit = t.implicit, r;
105
+ }
106
+ i(l, "action");
107
+
108
+ // src/actions/addArgsHelpers.ts
109
+ var _ = /* @__PURE__ */ i((e, t) => typeof t[e] > "u" && !(e in t), "isInInitialArgs"), D = /* @__PURE__ */ i((e) => {
110
+ let {
111
+ initialArgs: t,
112
+ argTypes: o,
113
+ id: r,
114
+ parameters: { actions: n }
115
+ } = e;
116
+ if (!n || n.disable || !n.argTypesRegex || !o)
117
+ return {};
118
+ let s = new RegExp(n.argTypesRegex);
119
+ return Object.entries(o).filter(
120
+ ([c]) => !!s.test(c)
121
+ ).reduce((c, [p, y]) => (_(p, t) && (c[p] = l(p, { implicit: !0, id: r })), c), {});
122
+ }, "inferActionsFromArgTypesRegex"), k = /* @__PURE__ */ i((e) => {
123
+ let {
124
+ initialArgs: t,
125
+ argTypes: o,
126
+ parameters: { actions: r }
127
+ } = e;
128
+ return r?.disable || !o ? {} : Object.entries(o).filter(([s, a]) => !!a.action).reduce((s, [a, c]) => (_(a, t) && (s[a] = l(typeof c.action ==
129
+ "string" ? c.action : a)), s), {});
130
+ }, "addActionsFromArgTypes");
131
+
132
+ // src/actions/addArgs.ts
133
+ var B = [
134
+ k,
135
+ D
136
+ ];
137
+
138
+ // src/actions/loaders.ts
139
+ var h = {};
140
+ m(h, {
141
+ loaders: () => z
142
+ });
143
+ var j = require("storybook/test/spy");
144
+ var I = !1, K = /* @__PURE__ */ i((e) => {
145
+ let { parameters: t } = e;
146
+ t?.actions?.disable || I || ((0, j.onMockCall)((o, r) => {
147
+ let n = o.getMockName();
148
+ n !== "spy" && (!/^next\/.*::/.test(n) || [
149
+ "next/router::useRouter()",
150
+ "next/navigation::useRouter()",
151
+ "next/navigation::redirect",
152
+ "next/cache::",
153
+ "next/headers::cookies().set",
154
+ "next/headers::cookies().delete",
155
+ "next/headers::headers().set",
156
+ "next/headers::headers().delete"
157
+ ].some((s) => n.startsWith(s))) && l(n)(r);
158
+ }), I = !0);
159
+ }, "logActionsWhenMockCalled"), z = [K];
160
+
161
+ // src/actions/preview.ts
162
+ var H = /* @__PURE__ */ i(() => (0, F.definePreview)({
163
+ ...A,
164
+ ...h
165
+ }), "default");
@@ -0,0 +1,55 @@
1
+ import { Renderer as Renderer$1, ProjectAnnotations as ProjectAnnotations$1, StoryIdentifier, StoryContext, PartialStoryFn, LegacyStoryFn } from 'storybook/internal/csf';
2
+ import { NormalizedProjectAnnotations, ProjectAnnotations as ProjectAnnotations$2, ComposedStoryFn } from 'storybook/internal/types';
3
+
4
+ declare global {
5
+ interface SymbolConstructor {
6
+ readonly observable: symbol;
7
+ }
8
+ }
9
+
10
+ interface Renderer extends Renderer$1 {
11
+ }
12
+
13
+ type MaybePromise<T> = Promise<T> | T;
14
+ type TeardownRenderToCanvas = () => MaybePromise<void>;
15
+ type RenderToCanvas<TRenderer extends Renderer> = (context: RenderContext<TRenderer>, element: TRenderer['canvasElement']) => MaybePromise<void | TeardownRenderToCanvas>;
16
+ interface ProjectAnnotations<TRenderer extends Renderer> extends ProjectAnnotations$1<TRenderer> {
17
+ addons?: ProjectAnnotations<TRenderer>[];
18
+ testingLibraryRender?: (...args: never[]) => {
19
+ unmount: () => void;
20
+ };
21
+ renderToCanvas?: RenderToCanvas<TRenderer>;
22
+ renderToDOM?: RenderToCanvas<TRenderer>;
23
+ }
24
+ declare type RenderContext<TRenderer extends Renderer = Renderer> = StoryIdentifier & {
25
+ showMain: () => void;
26
+ showError: (error: {
27
+ title: string;
28
+ description: string;
29
+ }) => void;
30
+ showException: (err: Error) => void;
31
+ forceRemount: boolean;
32
+ storyContext: StoryContext<TRenderer>;
33
+ storyFn: PartialStoryFn<TRenderer>;
34
+ unboundStoryFn: LegacyStoryFn<TRenderer>;
35
+ };
36
+
37
+ declare global {
38
+ var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
39
+ var defaultProjectAnnotations: ProjectAnnotations$2<any>;
40
+ }
41
+ type WrappedStoryRef = {
42
+ __pw_type: 'jsx' | 'importRef';
43
+ };
44
+ type UnwrappedJSXStoryRef = {
45
+ __pw_type: 'jsx';
46
+ type: UnwrappedImportStoryRef;
47
+ };
48
+ type UnwrappedImportStoryRef = ComposedStoryFn;
49
+ declare global {
50
+ function __pwUnwrapObject(storyRef: WrappedStoryRef): Promise<UnwrappedJSXStoryRef | UnwrappedImportStoryRef>;
51
+ }
52
+
53
+ declare const _default: () => ProjectAnnotations<Renderer>;
54
+
55
+ export { _default as default };
@@ -0,0 +1,156 @@
1
+ var h = Object.defineProperty;
2
+ var n = (t, e) => h(t, "name", { value: e, configurable: !0 });
3
+ var x = (t, e) => {
4
+ for (var o in e)
5
+ h(t, o, { get: e[o], enumerable: !0 });
6
+ };
7
+
8
+ // src/actions/preview.ts
9
+ import { definePreview as N } from "storybook/preview-api";
10
+
11
+ // src/actions/addArgs.ts
12
+ var m = {};
13
+ x(m, {
14
+ argsEnhancers: () => W
15
+ });
16
+
17
+ // src/actions/runtime/action.ts
18
+ import { ImplicitActionsDuringRendering as I } from "storybook/internal/preview-errors";
19
+ import { global as R } from "@storybook/global";
20
+ import { addons as j } from "storybook/preview-api";
21
+ import { v4 as F } from "uuid";
22
+
23
+ // src/actions/constants.ts
24
+ var y = "storybook/actions", B = `${y}/panel`, b = `${y}/action-event`, K = `${y}/action-clear`;
25
+
26
+ // src/actions/runtime/configureActions.ts
27
+ var E = {
28
+ depth: 10,
29
+ clearOnStoryChange: !0,
30
+ limit: 50
31
+ };
32
+
33
+ // src/actions/runtime/action.ts
34
+ var O = /* @__PURE__ */ n((t, e) => {
35
+ let o = Object.getPrototypeOf(t);
36
+ return !o || e(o) ? o : O(o, e);
37
+ }, "findProto"), P = /* @__PURE__ */ n((t) => !!(typeof t == "object" && t && O(t, (e) => /^Synthetic(?:Base)?Event$/.test(e.constructor.name)) &&
38
+ typeof t.persist == "function"), "isReactSyntheticEvent"), S = /* @__PURE__ */ n((t) => {
39
+ if (P(t)) {
40
+ let e = Object.create(
41
+ t.constructor.prototype,
42
+ Object.getOwnPropertyDescriptors(t)
43
+ );
44
+ e.persist();
45
+ let o = Object.getOwnPropertyDescriptor(e, "view"), r = o?.value;
46
+ return typeof r == "object" && r?.constructor.name === "Window" && Object.defineProperty(e, "view", {
47
+ ...o,
48
+ value: Object.create(r.constructor.prototype)
49
+ }), e;
50
+ }
51
+ return t;
52
+ }, "serializeArg"), C = /* @__PURE__ */ n(() => typeof crypto == "object" && typeof crypto.getRandomValues == "function" ? F() : (
53
+ // pseudo random id, example response lo1e7zm4832bkr7yfl7
54
+ Date.now().toString(36) + Math.random().toString(36).substring(2)
55
+ ), "generateId");
56
+ function l(t, e = {}) {
57
+ let o = {
58
+ ...E,
59
+ ...e
60
+ }, r = /* @__PURE__ */ n(function(...s) {
61
+ if (e.implicit) {
62
+ let u = ("__STORYBOOK_PREVIEW__" in R ? (
63
+ // eslint-disable-next-line no-underscore-dangle
64
+ R.__STORYBOOK_PREVIEW__
65
+ ) : void 0)?.storyRenders.find(
66
+ (d) => d.phase === "playing" || d.phase === "rendering"
67
+ );
68
+ if (u) {
69
+ let d = !globalThis?.FEATURES?.disallowImplicitActionsInRenderV8, A = new I({
70
+ phase: u.phase,
71
+ name: t,
72
+ deprecated: d
73
+ });
74
+ if (d)
75
+ console.warn(A);
76
+ else
77
+ throw A;
78
+ }
79
+ }
80
+ let a = j.getChannel(), c = C(), p = 5, g = s.map(S), D = s.length > 1 ? g : g[0], k = {
81
+ id: c,
82
+ count: 0,
83
+ data: { name: t, args: D },
84
+ options: {
85
+ ...o,
86
+ maxDepth: p + (o.depth || 3),
87
+ allowFunction: o.allowFunction || !1
88
+ }
89
+ };
90
+ a.emit(b, k);
91
+ }, "actionHandler");
92
+ return r.isAction = !0, r.implicit = e.implicit, r;
93
+ }
94
+ n(l, "action");
95
+
96
+ // src/actions/addArgsHelpers.ts
97
+ var w = /* @__PURE__ */ n((t, e) => typeof e[t] > "u" && !(t in e), "isInInitialArgs"), v = /* @__PURE__ */ n((t) => {
98
+ let {
99
+ initialArgs: e,
100
+ argTypes: o,
101
+ id: r,
102
+ parameters: { actions: i }
103
+ } = t;
104
+ if (!i || i.disable || !i.argTypesRegex || !o)
105
+ return {};
106
+ let s = new RegExp(i.argTypesRegex);
107
+ return Object.entries(o).filter(
108
+ ([c]) => !!s.test(c)
109
+ ).reduce((c, [p, g]) => (w(p, e) && (c[p] = l(p, { implicit: !0, id: r })), c), {});
110
+ }, "inferActionsFromArgTypesRegex"), T = /* @__PURE__ */ n((t) => {
111
+ let {
112
+ initialArgs: e,
113
+ argTypes: o,
114
+ parameters: { actions: r }
115
+ } = t;
116
+ return r?.disable || !o ? {} : Object.entries(o).filter(([s, a]) => !!a.action).reduce((s, [a, c]) => (w(a, e) && (s[a] = l(typeof c.action ==
117
+ "string" ? c.action : a)), s), {});
118
+ }, "addActionsFromArgTypes");
119
+
120
+ // src/actions/addArgs.ts
121
+ var W = [
122
+ T,
123
+ v
124
+ ];
125
+
126
+ // src/actions/loaders.ts
127
+ var f = {};
128
+ x(f, {
129
+ loaders: () => V
130
+ });
131
+ import { onMockCall as M } from "storybook/test/spy";
132
+ var _ = !1, L = /* @__PURE__ */ n((t) => {
133
+ let { parameters: e } = t;
134
+ e?.actions?.disable || _ || (M((o, r) => {
135
+ let i = o.getMockName();
136
+ i !== "spy" && (!/^next\/.*::/.test(i) || [
137
+ "next/router::useRouter()",
138
+ "next/navigation::useRouter()",
139
+ "next/navigation::redirect",
140
+ "next/cache::",
141
+ "next/headers::cookies().set",
142
+ "next/headers::cookies().delete",
143
+ "next/headers::headers().set",
144
+ "next/headers::headers().delete"
145
+ ].some((s) => i.startsWith(s))) && l(i)(r);
146
+ }), _ = !0);
147
+ }, "logActionsWhenMockCalled"), V = [L];
148
+
149
+ // src/actions/preview.ts
150
+ var dt = /* @__PURE__ */ n(() => N({
151
+ ...m,
152
+ ...f
153
+ }), "default");
154
+ export {
155
+ dt as default
156
+ };
@@ -24,71 +24,69 @@ 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.2",
28
- "@storybook/addon-actions": "9.0.0-alpha.2",
29
- "@storybook/addon-backgrounds": "9.0.0-alpha.2",
30
- "@storybook/addon-controls": "9.0.0-alpha.2",
31
- "@storybook/addon-docs": "9.0.0-alpha.2",
32
- "@storybook/addon-essentials": "9.0.0-alpha.2",
33
- "@storybook/addon-mdx-gfm": "9.0.0-alpha.2",
34
- "@storybook/addon-highlight": "9.0.0-alpha.2",
35
- "@storybook/addon-interactions": "9.0.0-alpha.2",
36
- "@storybook/addon-jest": "9.0.0-alpha.2",
37
- "@storybook/addon-links": "9.0.0-alpha.2",
38
- "@storybook/addon-measure": "9.0.0-alpha.2",
39
- "@storybook/addon-onboarding": "9.0.0-alpha.2",
40
- "@storybook/addon-outline": "9.0.0-alpha.2",
41
- "@storybook/addon-storysource": "9.0.0-alpha.2",
42
- "@storybook/addon-test": "9.0.0-alpha.2",
43
- "@storybook/addon-themes": "9.0.0-alpha.2",
44
- "@storybook/addon-toolbars": "9.0.0-alpha.2",
45
- "@storybook/addon-viewport": "9.0.0-alpha.2",
46
- "@storybook/builder-vite": "9.0.0-alpha.2",
47
- "@storybook/builder-webpack5": "9.0.0-alpha.2",
48
- storybook: "9.0.0-alpha.2",
49
- "@storybook/angular": "9.0.0-alpha.2",
50
- "@storybook/ember": "9.0.0-alpha.2",
51
- "@storybook/experimental-nextjs-vite": "9.0.0-alpha.2",
52
- "@storybook/html-vite": "9.0.0-alpha.2",
53
- "@storybook/html-webpack5": "9.0.0-alpha.2",
54
- "@storybook/nextjs": "9.0.0-alpha.2",
55
- "@storybook/preact-vite": "9.0.0-alpha.2",
56
- "@storybook/preact-webpack5": "9.0.0-alpha.2",
57
- "@storybook/react-native-web-vite": "9.0.0-alpha.2",
58
- "@storybook/react-vite": "9.0.0-alpha.2",
59
- "@storybook/react-webpack5": "9.0.0-alpha.2",
60
- "@storybook/server-webpack5": "9.0.0-alpha.2",
61
- "@storybook/svelte-vite": "9.0.0-alpha.2",
62
- "@storybook/svelte-webpack5": "9.0.0-alpha.2",
63
- "@storybook/sveltekit": "9.0.0-alpha.2",
64
- "@storybook/vue3-vite": "9.0.0-alpha.2",
65
- "@storybook/vue3-webpack5": "9.0.0-alpha.2",
66
- "@storybook/web-components-vite": "9.0.0-alpha.2",
67
- "@storybook/web-components-webpack5": "9.0.0-alpha.2",
68
- "@storybook/blocks": "9.0.0-alpha.2",
69
- sb: "9.0.0-alpha.2",
70
- "@storybook/cli": "9.0.0-alpha.2",
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.4",
28
+ "@storybook/addon-backgrounds": "9.0.0-alpha.4",
29
+ "@storybook/addon-controls": "9.0.0-alpha.4",
30
+ "@storybook/addon-docs": "9.0.0-alpha.4",
31
+ "@storybook/addon-essentials": "9.0.0-alpha.4",
32
+ "@storybook/addon-mdx-gfm": "9.0.0-alpha.4",
33
+ "@storybook/addon-highlight": "9.0.0-alpha.4",
34
+ "@storybook/addon-interactions": "9.0.0-alpha.4",
35
+ "@storybook/addon-jest": "9.0.0-alpha.4",
36
+ "@storybook/addon-links": "9.0.0-alpha.4",
37
+ "@storybook/addon-measure": "9.0.0-alpha.4",
38
+ "@storybook/addon-onboarding": "9.0.0-alpha.4",
39
+ "@storybook/addon-outline": "9.0.0-alpha.4",
40
+ "@storybook/addon-storysource": "9.0.0-alpha.4",
41
+ "@storybook/addon-test": "9.0.0-alpha.4",
42
+ "@storybook/addon-themes": "9.0.0-alpha.4",
43
+ "@storybook/addon-toolbars": "9.0.0-alpha.4",
44
+ "@storybook/addon-viewport": "9.0.0-alpha.4",
45
+ "@storybook/builder-vite": "9.0.0-alpha.4",
46
+ "@storybook/builder-webpack5": "9.0.0-alpha.4",
47
+ storybook: "9.0.0-alpha.4",
48
+ "@storybook/angular": "9.0.0-alpha.4",
49
+ "@storybook/ember": "9.0.0-alpha.4",
50
+ "@storybook/experimental-nextjs-vite": "9.0.0-alpha.4",
51
+ "@storybook/html-vite": "9.0.0-alpha.4",
52
+ "@storybook/html-webpack5": "9.0.0-alpha.4",
53
+ "@storybook/nextjs": "9.0.0-alpha.4",
54
+ "@storybook/preact-vite": "9.0.0-alpha.4",
55
+ "@storybook/preact-webpack5": "9.0.0-alpha.4",
56
+ "@storybook/react-native-web-vite": "9.0.0-alpha.4",
57
+ "@storybook/react-vite": "9.0.0-alpha.4",
58
+ "@storybook/react-webpack5": "9.0.0-alpha.4",
59
+ "@storybook/server-webpack5": "9.0.0-alpha.4",
60
+ "@storybook/svelte-vite": "9.0.0-alpha.4",
61
+ "@storybook/svelte-webpack5": "9.0.0-alpha.4",
62
+ "@storybook/sveltekit": "9.0.0-alpha.4",
63
+ "@storybook/vue3-vite": "9.0.0-alpha.4",
64
+ "@storybook/vue3-webpack5": "9.0.0-alpha.4",
65
+ "@storybook/web-components-vite": "9.0.0-alpha.4",
66
+ "@storybook/web-components-webpack5": "9.0.0-alpha.4",
67
+ "@storybook/blocks": "9.0.0-alpha.4",
68
+ sb: "9.0.0-alpha.4",
69
+ "@storybook/cli": "9.0.0-alpha.4",
70
+ "@storybook/codemod": "9.0.0-alpha.4",
71
+ "@storybook/core-webpack": "9.0.0-alpha.4",
72
+ "create-storybook": "9.0.0-alpha.4",
73
+ "@storybook/csf-plugin": "9.0.0-alpha.4",
74
+ "@storybook/react-dom-shim": "9.0.0-alpha.4",
75
+ "@storybook/source-loader": "9.0.0-alpha.4",
76
+ "@storybook/preset-create-react-app": "9.0.0-alpha.4",
77
+ "@storybook/preset-html-webpack": "9.0.0-alpha.4",
78
+ "@storybook/preset-preact-webpack": "9.0.0-alpha.4",
79
+ "@storybook/preset-react-webpack": "9.0.0-alpha.4",
80
+ "@storybook/preset-server-webpack": "9.0.0-alpha.4",
81
+ "@storybook/preset-svelte-webpack": "9.0.0-alpha.4",
82
+ "@storybook/preset-vue3-webpack": "9.0.0-alpha.4",
83
+ "@storybook/html": "9.0.0-alpha.4",
84
+ "@storybook/preact": "9.0.0-alpha.4",
85
+ "@storybook/react": "9.0.0-alpha.4",
86
+ "@storybook/server": "9.0.0-alpha.4",
87
+ "@storybook/svelte": "9.0.0-alpha.4",
88
+ "@storybook/vue3": "9.0.0-alpha.4",
89
+ "@storybook/web-components": "9.0.0-alpha.4"
92
90
  };
93
91
 
94
92
  // src/bin/index.ts
package/dist/bin/index.js CHANGED
@@ -18,71 +18,69 @@ import { dirname as b, join as k } from "node:path";
18
18
 
19
19
  // src/common/versions.ts
20
20
  var t = {
21
- "@storybook/addon-a11y": "9.0.0-alpha.2",
22
- "@storybook/addon-actions": "9.0.0-alpha.2",
23
- "@storybook/addon-backgrounds": "9.0.0-alpha.2",
24
- "@storybook/addon-controls": "9.0.0-alpha.2",
25
- "@storybook/addon-docs": "9.0.0-alpha.2",
26
- "@storybook/addon-essentials": "9.0.0-alpha.2",
27
- "@storybook/addon-mdx-gfm": "9.0.0-alpha.2",
28
- "@storybook/addon-highlight": "9.0.0-alpha.2",
29
- "@storybook/addon-interactions": "9.0.0-alpha.2",
30
- "@storybook/addon-jest": "9.0.0-alpha.2",
31
- "@storybook/addon-links": "9.0.0-alpha.2",
32
- "@storybook/addon-measure": "9.0.0-alpha.2",
33
- "@storybook/addon-onboarding": "9.0.0-alpha.2",
34
- "@storybook/addon-outline": "9.0.0-alpha.2",
35
- "@storybook/addon-storysource": "9.0.0-alpha.2",
36
- "@storybook/addon-test": "9.0.0-alpha.2",
37
- "@storybook/addon-themes": "9.0.0-alpha.2",
38
- "@storybook/addon-toolbars": "9.0.0-alpha.2",
39
- "@storybook/addon-viewport": "9.0.0-alpha.2",
40
- "@storybook/builder-vite": "9.0.0-alpha.2",
41
- "@storybook/builder-webpack5": "9.0.0-alpha.2",
42
- storybook: "9.0.0-alpha.2",
43
- "@storybook/angular": "9.0.0-alpha.2",
44
- "@storybook/ember": "9.0.0-alpha.2",
45
- "@storybook/experimental-nextjs-vite": "9.0.0-alpha.2",
46
- "@storybook/html-vite": "9.0.0-alpha.2",
47
- "@storybook/html-webpack5": "9.0.0-alpha.2",
48
- "@storybook/nextjs": "9.0.0-alpha.2",
49
- "@storybook/preact-vite": "9.0.0-alpha.2",
50
- "@storybook/preact-webpack5": "9.0.0-alpha.2",
51
- "@storybook/react-native-web-vite": "9.0.0-alpha.2",
52
- "@storybook/react-vite": "9.0.0-alpha.2",
53
- "@storybook/react-webpack5": "9.0.0-alpha.2",
54
- "@storybook/server-webpack5": "9.0.0-alpha.2",
55
- "@storybook/svelte-vite": "9.0.0-alpha.2",
56
- "@storybook/svelte-webpack5": "9.0.0-alpha.2",
57
- "@storybook/sveltekit": "9.0.0-alpha.2",
58
- "@storybook/vue3-vite": "9.0.0-alpha.2",
59
- "@storybook/vue3-webpack5": "9.0.0-alpha.2",
60
- "@storybook/web-components-vite": "9.0.0-alpha.2",
61
- "@storybook/web-components-webpack5": "9.0.0-alpha.2",
62
- "@storybook/blocks": "9.0.0-alpha.2",
63
- sb: "9.0.0-alpha.2",
64
- "@storybook/cli": "9.0.0-alpha.2",
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.4",
22
+ "@storybook/addon-backgrounds": "9.0.0-alpha.4",
23
+ "@storybook/addon-controls": "9.0.0-alpha.4",
24
+ "@storybook/addon-docs": "9.0.0-alpha.4",
25
+ "@storybook/addon-essentials": "9.0.0-alpha.4",
26
+ "@storybook/addon-mdx-gfm": "9.0.0-alpha.4",
27
+ "@storybook/addon-highlight": "9.0.0-alpha.4",
28
+ "@storybook/addon-interactions": "9.0.0-alpha.4",
29
+ "@storybook/addon-jest": "9.0.0-alpha.4",
30
+ "@storybook/addon-links": "9.0.0-alpha.4",
31
+ "@storybook/addon-measure": "9.0.0-alpha.4",
32
+ "@storybook/addon-onboarding": "9.0.0-alpha.4",
33
+ "@storybook/addon-outline": "9.0.0-alpha.4",
34
+ "@storybook/addon-storysource": "9.0.0-alpha.4",
35
+ "@storybook/addon-test": "9.0.0-alpha.4",
36
+ "@storybook/addon-themes": "9.0.0-alpha.4",
37
+ "@storybook/addon-toolbars": "9.0.0-alpha.4",
38
+ "@storybook/addon-viewport": "9.0.0-alpha.4",
39
+ "@storybook/builder-vite": "9.0.0-alpha.4",
40
+ "@storybook/builder-webpack5": "9.0.0-alpha.4",
41
+ storybook: "9.0.0-alpha.4",
42
+ "@storybook/angular": "9.0.0-alpha.4",
43
+ "@storybook/ember": "9.0.0-alpha.4",
44
+ "@storybook/experimental-nextjs-vite": "9.0.0-alpha.4",
45
+ "@storybook/html-vite": "9.0.0-alpha.4",
46
+ "@storybook/html-webpack5": "9.0.0-alpha.4",
47
+ "@storybook/nextjs": "9.0.0-alpha.4",
48
+ "@storybook/preact-vite": "9.0.0-alpha.4",
49
+ "@storybook/preact-webpack5": "9.0.0-alpha.4",
50
+ "@storybook/react-native-web-vite": "9.0.0-alpha.4",
51
+ "@storybook/react-vite": "9.0.0-alpha.4",
52
+ "@storybook/react-webpack5": "9.0.0-alpha.4",
53
+ "@storybook/server-webpack5": "9.0.0-alpha.4",
54
+ "@storybook/svelte-vite": "9.0.0-alpha.4",
55
+ "@storybook/svelte-webpack5": "9.0.0-alpha.4",
56
+ "@storybook/sveltekit": "9.0.0-alpha.4",
57
+ "@storybook/vue3-vite": "9.0.0-alpha.4",
58
+ "@storybook/vue3-webpack5": "9.0.0-alpha.4",
59
+ "@storybook/web-components-vite": "9.0.0-alpha.4",
60
+ "@storybook/web-components-webpack5": "9.0.0-alpha.4",
61
+ "@storybook/blocks": "9.0.0-alpha.4",
62
+ sb: "9.0.0-alpha.4",
63
+ "@storybook/cli": "9.0.0-alpha.4",
64
+ "@storybook/codemod": "9.0.0-alpha.4",
65
+ "@storybook/core-webpack": "9.0.0-alpha.4",
66
+ "create-storybook": "9.0.0-alpha.4",
67
+ "@storybook/csf-plugin": "9.0.0-alpha.4",
68
+ "@storybook/react-dom-shim": "9.0.0-alpha.4",
69
+ "@storybook/source-loader": "9.0.0-alpha.4",
70
+ "@storybook/preset-create-react-app": "9.0.0-alpha.4",
71
+ "@storybook/preset-html-webpack": "9.0.0-alpha.4",
72
+ "@storybook/preset-preact-webpack": "9.0.0-alpha.4",
73
+ "@storybook/preset-react-webpack": "9.0.0-alpha.4",
74
+ "@storybook/preset-server-webpack": "9.0.0-alpha.4",
75
+ "@storybook/preset-svelte-webpack": "9.0.0-alpha.4",
76
+ "@storybook/preset-vue3-webpack": "9.0.0-alpha.4",
77
+ "@storybook/html": "9.0.0-alpha.4",
78
+ "@storybook/preact": "9.0.0-alpha.4",
79
+ "@storybook/react": "9.0.0-alpha.4",
80
+ "@storybook/server": "9.0.0-alpha.4",
81
+ "@storybook/svelte": "9.0.0-alpha.4",
82
+ "@storybook/vue3": "9.0.0-alpha.4",
83
+ "@storybook/web-components": "9.0.0-alpha.4"
86
84
  };
87
85
 
88
86
  // src/bin/index.ts