storybook 9.0.0-alpha.5 → 9.0.0-alpha.7

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 (45) hide show
  1. package/dist/bin/index.cjs +63 -63
  2. package/dist/bin/index.js +63 -63
  3. package/dist/builder-manager/index.cjs +253 -280
  4. package/dist/builder-manager/index.js +305 -332
  5. package/dist/cli/bin/index.cjs +1 -1
  6. package/dist/cli/bin/index.js +1 -1
  7. package/dist/common/index.cjs +63 -63
  8. package/dist/common/index.js +63 -63
  9. package/dist/components/index.cjs +2102 -2069
  10. package/dist/components/index.js +2311 -2278
  11. package/dist/core-server/index.cjs +10816 -10501
  12. package/dist/core-server/index.d.ts +260 -2
  13. package/dist/core-server/index.js +10920 -10611
  14. package/dist/core-server/presets/common-preset.cjs +59 -59
  15. package/dist/core-server/presets/common-preset.js +57 -57
  16. package/dist/csf/index.d.ts +1 -1
  17. package/dist/instrumenter/index.cjs +1784 -1546
  18. package/dist/instrumenter/index.js +2220 -2054
  19. package/dist/manager/globals-module-info.cjs +22 -8
  20. package/dist/manager/globals-module-info.js +20 -6
  21. package/dist/manager/globals-runtime.js +22673 -23887
  22. package/dist/manager/runtime.js +3286 -3200
  23. package/dist/manager-api/index.cjs +3506 -3179
  24. package/dist/manager-api/index.d.ts +325 -24
  25. package/dist/manager-api/index.js +3245 -2957
  26. package/dist/manager-errors.d.ts +25 -1
  27. package/dist/manager-errors.js +42 -26
  28. package/dist/preview/runtime.js +15216 -16734
  29. package/dist/preview-api/index.cjs +1234 -1683
  30. package/dist/preview-api/index.d.ts +3 -309
  31. package/dist/preview-api/index.js +1360 -1785
  32. package/dist/preview-errors.cjs +98 -81
  33. package/dist/preview-errors.d.ts +25 -1
  34. package/dist/preview-errors.js +109 -93
  35. package/dist/server-errors.cjs +92 -75
  36. package/dist/server-errors.d.ts +25 -1
  37. package/dist/server-errors.js +83 -66
  38. package/dist/test/index.cjs +12779 -11872
  39. package/dist/test/index.js +12417 -11582
  40. package/dist/test/preview.cjs +1466 -1467
  41. package/dist/test/preview.js +4 -5
  42. package/dist/test/spy.cjs +11 -12
  43. package/dist/test/spy.js +14 -15
  44. package/dist/types/index.d.ts +271 -13
  45. package/package.json +9 -9
@@ -1,42 +1,42 @@
1
1
  "use strict";
2
- var ie = Object.create;
2
+ var ce = Object.create;
3
3
  var y = Object.defineProperty;
4
- var ce = Object.getOwnPropertyDescriptor;
5
- var ue = Object.getOwnPropertyNames;
6
- var le = Object.getPrototypeOf, me = Object.prototype.hasOwnProperty;
4
+ var ue = Object.getOwnPropertyDescriptor;
5
+ var le = Object.getOwnPropertyNames;
6
+ var me = Object.getPrototypeOf, de = Object.prototype.hasOwnProperty;
7
7
  var s = (t, e) => y(t, "name", { value: e, configurable: !0 });
8
- var z = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), be = (t, e) => {
8
+ var z = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), ge = (t, e) => {
9
9
  for (var o in e)
10
10
  y(t, o, { get: e[o], enumerable: !0 });
11
- }, J = (t, e, o, n) => {
11
+ }, q = (t, e, o, n) => {
12
12
  if (e && typeof e == "object" || typeof e == "function")
13
- for (let c of ue(e))
14
- !me.call(t, c) && c !== o && y(t, c, { get: () => e[c], enumerable: !(n = ce(e, c)) || n.enumerable });
13
+ for (let c of le(e))
14
+ !de.call(t, c) && c !== o && y(t, c, { get: () => e[c], enumerable: !(n = ue(e, c)) || n.enumerable });
15
15
  return t;
16
16
  };
17
- var q = (t, e, o) => (o = t != null ? ie(le(t)) : {}, J(
17
+ var Q = (t, e, o) => (o = t != null ? ce(me(t)) : {}, q(
18
18
  // If the importer is in node compatibility mode or this is not an ESM
19
19
  // file that has been converted to a CommonJS file using a Babel-
20
20
  // compatible transform (i.e. "__esModule" has not been set), then set
21
21
  // "default" to the CommonJS "module.exports" for node compatibility.
22
22
  e || !t || !t.__esModule ? y(o, "default", { value: t, enumerable: !0 }) : o,
23
23
  t
24
- )), ge = (t) => J(y({}, "__esModule", { value: !0 }), t);
24
+ )), be = (t) => q(y({}, "__esModule", { value: !0 }), t);
25
25
 
26
26
  // ../node_modules/picocolors/picocolors.js
27
- var ee = z((Re, k) => {
28
- var R = process || {}, Q = R.argv || [], E = R.env || {}, de = !(E.NO_COLOR || Q.includes("--no-color")) && (!!E.FORCE_COLOR || Q.includes(
29
- "--color") || R.platform === "win32" || (R.stdout || {}).isTTY && E.TERM !== "dumb" || !!E.CI), pe = /* @__PURE__ */ s((t, e, o = t) => (n) => {
27
+ var oe = z((xe, k) => {
28
+ var R = process || {}, Z = R.argv || [], E = R.env || {}, pe = !(E.NO_COLOR || Z.includes("--no-color")) && (!!E.FORCE_COLOR || Z.includes(
29
+ "--color") || R.platform === "win32" || (R.stdout || {}).isTTY && E.TERM !== "dumb" || !!E.CI), ye = /* @__PURE__ */ s((t, e, o = t) => (n) => {
30
30
  let c = "" + n, u = c.indexOf(e, t.length);
31
- return ~u ? t + ye(c, e, o, u) + e : t + c + e;
32
- }, "formatter"), ye = /* @__PURE__ */ s((t, e, o, n) => {
31
+ return ~u ? t + he(c, e, o, u) + e : t + c + e;
32
+ }, "formatter"), he = /* @__PURE__ */ s((t, e, o, n) => {
33
33
  let c = "", u = 0;
34
34
  do
35
35
  c += t.substring(u, n) + o, u = n + e.length, n = t.indexOf(e, u);
36
36
  while (~n);
37
37
  return c + t.substring(u);
38
- }, "replaceClose"), Z = /* @__PURE__ */ s((t = de) => {
39
- let e = t ? pe : () => String;
38
+ }, "replaceClose"), ee = /* @__PURE__ */ s((t = pe) => {
39
+ let e = t ? ye : () => String;
40
40
  return {
41
41
  isColorSupported: t,
42
42
  reset: e("\x1B[0m", "\x1B[0m"),
@@ -82,16 +82,16 @@ var ee = z((Re, k) => {
82
82
  bgWhiteBright: e("\x1B[107m", "\x1B[49m")
83
83
  };
84
84
  }, "createColors");
85
- k.exports = Z();
86
- k.exports.createColors = Z;
85
+ k.exports = ee();
86
+ k.exports.createColors = ee;
87
87
  });
88
88
 
89
89
  // ../node_modules/ts-dedent/dist/index.js
90
- var te = z((h) => {
90
+ var re = z((h) => {
91
91
  "use strict";
92
92
  Object.defineProperty(h, "__esModule", { value: !0 });
93
93
  h.dedent = void 0;
94
- function oe(t) {
94
+ function te(t) {
95
95
  for (var e = [], o = 1; o < arguments.length; o++)
96
96
  e[o - 1] = arguments[o];
97
97
  var n = Array.from(typeof t == "string" ? [t] : t);
@@ -99,8 +99,8 @@ var te = z((h) => {
99
99
  var c = n.reduce(function(m, x) {
100
100
  var p = x.match(/\n([\t ]+|(?!\s).)/g);
101
101
  return p ? m.concat(p.map(function(f) {
102
- var g, d;
103
- return (d = (g = f.match(/[\t ]/g)) === null || g === void 0 ? void 0 : g.length) !== null && d !== void 0 ? d : 0;
102
+ var g, b;
103
+ return (b = (g = f.match(/[\t ]/g)) === null || g === void 0 ? void 0 : g.length) !== null && b !== void 0 ? b : 0;
104
104
  })) : m;
105
105
  }, []);
106
106
  if (c.length) {
@@ -112,65 +112,66 @@ var te = z((h) => {
112
112
  });
113
113
  }
114
114
  n[0] = n[0].replace(/^\r?\n/, "");
115
- var b = n[0];
115
+ var d = n[0];
116
116
  return e.forEach(function(m, x) {
117
- var p = b.match(/(?:^|\n)( *)$/), f = p ? p[1] : "", g = m;
117
+ var p = d.match(/(?:^|\n)( *)$/), f = p ? p[1] : "", g = m;
118
118
  typeof m == "string" && m.includes(`
119
119
  `) && (g = String(m).split(`
120
- `).map(function(d, ae) {
121
- return ae === 0 ? d : "" + f + d;
120
+ `).map(function(b, ie) {
121
+ return ie === 0 ? b : "" + f + b;
122
122
  }).join(`
123
- `)), b += g + n[x + 1];
124
- }), b;
123
+ `)), d += g + n[x + 1];
124
+ }), d;
125
125
  }
126
- s(oe, "dedent");
127
- h.dedent = oe;
128
- h.default = oe;
126
+ s(te, "dedent");
127
+ h.dedent = te;
128
+ h.default = te;
129
129
  });
130
130
 
131
131
  // src/server-errors.ts
132
- var he = {};
133
- be(he, {
132
+ var Ee = {};
133
+ ge(Ee, {
134
134
  AngularLegacyBuildOptionsError: () => K,
135
- Category: () => ne,
135
+ Category: () => ae,
136
136
  ConflictingStaticDirConfigError: () => w,
137
137
  CouldNotEvaluateFrameworkError: () => C,
138
138
  CriticalPresetLoadError: () => v,
139
139
  FindPackageVersionsError: () => X,
140
- GenerateNewProjectOnInitError: () => $,
140
+ GenerateNewProjectOnInitError: () => D,
141
141
  GoogleFontsDownloadError: () => B,
142
142
  GoogleFontsLoadingError: () => P,
143
143
  InvalidFrameworkNameError: () => _,
144
- InvalidStoriesEntryError: () => M,
144
+ InvalidStoriesEntryError: () => I,
145
145
  MainFileESMOnlyImportError: () => V,
146
- MainFileEvaluationError: () => F,
147
- MainFileMissingError: () => j,
146
+ MainFileEvaluationError: () => j,
147
+ MainFileMissingError: () => $,
148
148
  MissingAngularJsonError: () => W,
149
149
  MissingBuilderError: () => L,
150
150
  MissingFrameworkFieldError: () => A,
151
151
  NoMatchingExportError: () => N,
152
- NoStatsForViteDevError: () => H,
152
+ NoStatsForViteDevError: () => J,
153
153
  NxProjectDetectedError: () => O,
154
- UpgradeStorybookInWrongWorkingDirectory: () => Y,
155
- UpgradeStorybookToLowerVersionError: () => D,
156
- UpgradeStorybookToSameVersionError: () => U,
157
- UpgradeStorybookUnknownCurrentVersionError: () => G,
158
- WebpackCompilationError: () => S,
159
- WebpackInvocationError: () => I,
160
- WebpackMissingStatsError: () => T
154
+ StatusTypeIdMismatchError: () => F,
155
+ UpgradeStorybookInWrongWorkingDirectory: () => H,
156
+ UpgradeStorybookToLowerVersionError: () => U,
157
+ UpgradeStorybookToSameVersionError: () => G,
158
+ UpgradeStorybookUnknownCurrentVersionError: () => Y,
159
+ WebpackCompilationError: () => T,
160
+ WebpackInvocationError: () => M,
161
+ WebpackMissingStatsError: () => S
161
162
  });
162
- module.exports = ge(he);
163
- var l = q(ee(), 1), i = q(te(), 1);
163
+ module.exports = be(Ee);
164
+ var l = Q(oe(), 1), i = Q(re(), 1);
164
165
 
165
166
  // src/storybook-error.ts
166
- function re({
167
+ function se({
167
168
  code: t,
168
169
  category: e
169
170
  }) {
170
171
  let o = String(t).padStart(4, "0");
171
172
  return `SB_${e}_${o}`;
172
173
  }
173
- s(re, "parseErrorCode");
174
+ s(se, "parseErrorCode");
174
175
  var a = class t extends Error {
175
176
  constructor(o) {
176
177
  super(t.getFullMessage(o));
@@ -187,7 +188,7 @@ var a = class t extends Error {
187
188
  s(this, "StorybookError");
188
189
  }
189
190
  get fullErrorCode() {
190
- return re({ code: this.code, category: this.category });
191
+ return se({ code: this.code, category: this.category });
191
192
  }
192
193
  /** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
193
194
  get name() {
@@ -201,19 +202,19 @@ var a = class t extends Error {
201
202
  category: c,
202
203
  message: u
203
204
  }) {
204
- let b;
205
- return o === !0 ? b = `https://storybook.js.org/error/${re({ code: n, category: c })}` : typeof o == "string" ? b = o : Array.isArray(o) &&
206
- (b = `
205
+ let d;
206
+ return o === !0 ? d = `https://storybook.js.org/error/${se({ code: n, category: c })}` : typeof o == "string" ? d = o : Array.isArray(o) &&
207
+ (d = `
207
208
  ${o.map((m) => ` - ${m}`).join(`
208
- `)}`), `${u}${b != null ? `
209
+ `)}`), `${u}${d != null ? `
209
210
 
210
- More info: ${b}
211
+ More info: ${d}
211
212
  ` : ""}`;
212
213
  }
213
214
  };
214
215
 
215
216
  // src/server-errors.ts
216
- var ne = /* @__PURE__ */ ((r) => (r.CLI = "CLI", r.CLI_INIT = "CLI_INIT", r.CLI_AUTOMIGRATE = "CLI_AUTOMIGRATE", r.CLI_UPGRADE = "CLI_UPGRAD\
217
+ var ae = /* @__PURE__ */ ((r) => (r.CLI = "CLI", r.CLI_INIT = "CLI_INIT", r.CLI_AUTOMIGRATE = "CLI_AUTOMIGRATE", r.CLI_UPGRADE = "CLI_UPGRAD\
217
218
  E", r.CLI_ADD = "CLI_ADD", r.CODEMOD = "CODEMOD", r.CORE_SERVER = "CORE-SERVER", r.CSF_PLUGIN = "CSF-PLUGIN", r.CSF_TOOLS = "CSF-TOOLS", r.CORE_COMMON =
218
219
  "CORE-COMMON", r.NODE_LOGGER = "NODE-LOGGER", r.TELEMETRY = "TELEMETRY", r.BUILDER_MANAGER = "BUILDER-MANAGER", r.BUILDER_VITE = "BUILDER-VI\
219
220
  TE", r.BUILDER_WEBPACK5 = "BUILDER-WEBPACK5", r.SOURCE_LOADER = "SOURCE-LOADER", r.POSTINSTALL = "POSTINSTALL", r.DOCS_TOOLS = "DOCS-TOOLS",
@@ -224,7 +225,7 @@ FRAMEWORK_HTML-VITE", r.FRAMEWORK_HTML_WEBPACK5 = "FRAMEWORK_HTML-WEBPACK5", r.F
224
225
  FRAMEWORK_SVELTE_WEBPACK5 = "FRAMEWORK_SVELTE-WEBPACK5", r.FRAMEWORK_SVELTEKIT = "FRAMEWORK_SVELTEKIT", r.FRAMEWORK_VUE_VITE = "FRAMEWORK_VU\
225
226
  E-VITE", r.FRAMEWORK_VUE_WEBPACK5 = "FRAMEWORK_VUE-WEBPACK5", r.FRAMEWORK_VUE3_VITE = "FRAMEWORK_VUE3-VITE", r.FRAMEWORK_VUE3_WEBPACK5 = "FR\
226
227
  AMEWORK_VUE3-WEBPACK5", r.FRAMEWORK_WEB_COMPONENTS_VITE = "FRAMEWORK_WEB-COMPONENTS-VITE", r.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_\
227
- WEB-COMPONENTS-WEBPACK5", r))(ne || {}), O = class extends a {
228
+ WEB-COMPONENTS-WEBPACK5", r))(ae || {}), O = class extends a {
228
229
  static {
229
230
  s(this, "NxProjectDetectedError");
230
231
  }
@@ -303,7 +304,7 @@ WEB-COMPONENTS-WEBPACK5", r))(ne || {}), O = class extends a {
303
304
  Please remove the CLI flag from your storybook script and use only the 'staticDirs' option instead.`
304
305
  });
305
306
  }
306
- }, M = class extends a {
307
+ }, I = class extends a {
307
308
  static {
308
309
  s(this, "InvalidStoriesEntryError");
309
310
  }
@@ -319,7 +320,7 @@ WEB-COMPONENTS-WEBPACK5", r))(ne || {}), O = class extends a {
319
320
  Please check your main configuration file and make sure it exports a 'stories' field that is not an empty array.`
320
321
  });
321
322
  }
322
- }, T = class extends a {
323
+ }, S = class extends a {
323
324
  static {
324
325
  s(this, "WebpackMissingStatsError");
325
326
  }
@@ -336,7 +337,7 @@ WEB-COMPONENTS-WEBPACK5", r))(ne || {}), O = class extends a {
336
337
  Storybook needs Webpack stats (including errors) in order to build correctly.`
337
338
  });
338
339
  }
339
- }, I = class extends a {
340
+ }, M = class extends a {
340
341
  constructor(o) {
341
342
  super({
342
343
  category: "BUILDER-WEBPACK5",
@@ -349,16 +350,16 @@ WEB-COMPONENTS-WEBPACK5", r))(ne || {}), O = class extends a {
349
350
  s(this, "WebpackInvocationError");
350
351
  }
351
352
  };
352
- function se(t = "") {
353
+ function ne(t = "") {
353
354
  return t.replace(/\u001B\[[0-9;]*m/g, "");
354
355
  }
355
- s(se, "removeAnsiEscapeCodes");
356
- var S = class extends a {
356
+ s(ne, "removeAnsiEscapeCodes");
357
+ var T = class extends a {
357
358
  constructor(o) {
358
359
  o.errors = o.errors.map((n) => ({
359
360
  ...n,
360
- message: se(n.message),
361
- stack: se(n.stack),
361
+ message: ne(n.message),
362
+ stack: ne(n.stack),
362
363
  name: n.name
363
364
  }));
364
365
  super({
@@ -540,7 +541,7 @@ var S = class extends a {
540
541
  static {
541
542
  s(this, "MainFileESMOnlyImportError");
542
543
  }
543
- }, j = class extends a {
544
+ }, $ = class extends a {
544
545
  constructor(o) {
545
546
  let n = {
546
547
  storybook: {
@@ -568,7 +569,7 @@ var S = class extends a {
568
569
  static {
569
570
  s(this, "MainFileMissingError");
570
571
  }
571
- }, F = class extends a {
572
+ }, j = class extends a {
572
573
  constructor(o) {
573
574
  let n = l.default.white(
574
575
  (o.error.stack || o.error.message).replaceAll(process.cwd(), "")
@@ -587,7 +588,23 @@ var S = class extends a {
587
588
  static {
588
589
  s(this, "MainFileEvaluationError");
589
590
  }
590
- }, $ = class extends a {
591
+ }, F = class extends a {
592
+ constructor(o) {
593
+ super({
594
+ category: "CORE-SERVER",
595
+ code: 16,
596
+ message: `Status has typeId "${o.status.typeId}" but was added to store with typeId "${o.typeId}". Full status: ${JSON.stringify(
597
+ o.status,
598
+ null,
599
+ 2
600
+ )}`
601
+ });
602
+ this.data = o;
603
+ }
604
+ static {
605
+ s(this, "StatusTypeIdMismatchError");
606
+ }
607
+ }, D = class extends a {
591
608
  constructor(o) {
592
609
  super({
593
610
  category: "CLI_INIT",
@@ -603,7 +620,7 @@ var S = class extends a {
603
620
  static {
604
621
  s(this, "GenerateNewProjectOnInitError");
605
622
  }
606
- }, D = class extends a {
623
+ }, U = class extends a {
607
624
  constructor(o) {
608
625
  super({
609
626
  category: "CLI_UPGRADE",
@@ -625,7 +642,7 @@ var S = class extends a {
625
642
  static {
626
643
  s(this, "UpgradeStorybookToLowerVersionError");
627
644
  }
628
- }, U = class extends a {
645
+ }, G = class extends a {
629
646
  constructor(o) {
630
647
  super({
631
648
  category: "CLI_UPGRADE",
@@ -650,7 +667,7 @@ var S = class extends a {
650
667
  static {
651
668
  s(this, "UpgradeStorybookToSameVersionError");
652
669
  }
653
- }, G = class extends a {
670
+ }, Y = class extends a {
654
671
  static {
655
672
  s(this, "UpgradeStorybookUnknownCurrentVersionError");
656
673
  }
@@ -665,7 +682,7 @@ var S = class extends a {
665
682
  It might help if you specify your Storybook config directory with the --config-dir flag.`
666
683
  });
667
684
  }
668
- }, Y = class extends a {
685
+ }, H = class extends a {
669
686
  static {
670
687
  s(this, "UpgradeStorybookInWrongWorkingDirectory");
671
688
  }
@@ -679,7 +696,7 @@ var S = class extends a {
679
696
  Did you mean to run it in a different directory? Make sure the directory you run this command in contains a package.json with your Storybook dependencies.`
680
697
  });
681
698
  }
682
- }, H = class extends a {
699
+ }, J = class extends a {
683
700
  static {
684
701
  s(this, "NoStatsForViteDevError");
685
702
  }
@@ -1,3 +1,17 @@
1
+ import { StoryId } from 'storybook/internal/csf';
2
+
3
+ type StatusValue = 'status-value:pending' | 'status-value:success' | 'status-value:error' | 'status-value:warning' | 'status-value:unknown';
4
+ type StatusTypeId = string;
5
+ interface Status {
6
+ value: StatusValue;
7
+ typeId: StatusTypeId;
8
+ storyId: StoryId;
9
+ title: string;
10
+ description: string;
11
+ data?: any;
12
+ sidebarContextMenu?: boolean;
13
+ }
14
+
1
15
  declare abstract class StorybookError extends Error {
2
16
  /** Category of the error. Used to classify the type of error, e.g., 'PREVIEW_API'. */
3
17
  readonly category: string;
@@ -217,6 +231,16 @@ declare class MainFileEvaluationError extends StorybookError {
217
231
  error: Error;
218
232
  });
219
233
  }
234
+ declare class StatusTypeIdMismatchError extends StorybookError {
235
+ data: {
236
+ status: Status;
237
+ typeId: StatusTypeId;
238
+ };
239
+ constructor(data: {
240
+ status: Status;
241
+ typeId: StatusTypeId;
242
+ });
243
+ }
220
244
  declare class GenerateNewProjectOnInitError extends StorybookError {
221
245
  data: {
222
246
  error: unknown | Error;
@@ -269,4 +293,4 @@ declare class FindPackageVersionsError extends StorybookError {
269
293
  });
270
294
  }
271
295
 
272
- export { AngularLegacyBuildOptionsError, Category, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileESMOnlyImportError, MainFileEvaluationError, MainFileMissingError, MissingAngularJsonError, MissingBuilderError, MissingFrameworkFieldError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, UpgradeStorybookInWrongWorkingDirectory, UpgradeStorybookToLowerVersionError, UpgradeStorybookToSameVersionError, UpgradeStorybookUnknownCurrentVersionError, WebpackCompilationError, WebpackInvocationError, WebpackMissingStatsError };
296
+ export { AngularLegacyBuildOptionsError, Category, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileESMOnlyImportError, MainFileEvaluationError, MainFileMissingError, MissingAngularJsonError, MissingBuilderError, MissingFrameworkFieldError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, StatusTypeIdMismatchError, UpgradeStorybookInWrongWorkingDirectory, UpgradeStorybookToLowerVersionError, UpgradeStorybookToSameVersionError, UpgradeStorybookUnknownCurrentVersionError, WebpackCompilationError, WebpackInvocationError, WebpackMissingStatsError };