storybook 9.1.2 → 9.1.3

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 (36) hide show
  1. package/README.md +28 -41
  2. package/dist/bin/index.cjs +43 -43
  3. package/dist/bin/index.js +43 -43
  4. package/dist/cli/bin/index.cjs +1211 -1211
  5. package/dist/cli/bin/index.js +1214 -1214
  6. package/dist/common/index.cjs +58 -58
  7. package/dist/common/index.js +104 -104
  8. package/dist/core-server/index.cjs +3105 -3094
  9. package/dist/core-server/index.js +3409 -3398
  10. package/dist/core-server/presets/common-manager.js +142 -119
  11. package/dist/core-server/presets/common-preset.cjs +2489 -2483
  12. package/dist/core-server/presets/common-preset.js +7445 -7439
  13. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.cjs +57 -51
  14. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +60 -52
  15. package/dist/csf-tools/index.cjs +4 -4
  16. package/dist/csf-tools/index.js +4 -4
  17. package/dist/manager/globals-runtime.js +7376 -7365
  18. package/dist/manager/runtime.js +32 -18
  19. package/dist/manager-api/index.cjs +546 -535
  20. package/dist/manager-api/index.js +653 -642
  21. package/dist/manager-errors.js +44 -33
  22. package/dist/preview/runtime.js +5559 -5548
  23. package/dist/preview-api/index.cjs +4 -4
  24. package/dist/preview-api/index.js +4 -4
  25. package/dist/preview-errors.cjs +82 -71
  26. package/dist/preview-errors.js +89 -78
  27. package/dist/router/index.cjs +1 -1
  28. package/dist/router/index.js +1 -1
  29. package/dist/server-errors.cjs +121 -77
  30. package/dist/server-errors.d.ts +14 -1
  31. package/dist/server-errors.js +135 -91
  32. package/dist/telemetry/index.cjs +1 -1
  33. package/dist/telemetry/index.js +1 -1
  34. package/dist/test/index.cjs +1 -1
  35. package/dist/test/index.js +1 -1
  36. package/package.json +17 -3
@@ -1,42 +1,42 @@
1
1
  "use strict";
2
- var ce = Object.create;
2
+ var me = Object.create;
3
3
  var y = Object.defineProperty;
4
- var ue = Object.getOwnPropertyDescriptor;
5
- var le = Object.getOwnPropertyNames;
6
- var me = Object.getPrototypeOf, be = Object.prototype.hasOwnProperty;
4
+ var ge = Object.getOwnPropertyDescriptor;
5
+ var be = Object.getOwnPropertyNames;
6
+ var de = Object.getPrototypeOf, pe = Object.prototype.hasOwnProperty;
7
7
  var r = (t, e) => y(t, "name", { value: e, configurable: !0 });
8
- var z = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), ge = (t, e) => {
8
+ var Q = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), ye = (t, e) => {
9
9
  for (var o in e)
10
10
  y(t, o, { get: e[o], enumerable: !0 });
11
- }, q = (t, e, o, n) => {
11
+ }, Z = (t, e, o, n) => {
12
12
  if (e && typeof e == "object" || typeof e == "function")
13
- for (let c of le(e))
14
- !be.call(t, c) && c !== o && y(t, c, { get: () => e[c], enumerable: !(n = ue(e, c)) || n.enumerable });
13
+ for (let c of be(e))
14
+ !pe.call(t, c) && c !== o && y(t, c, { get: () => e[c], enumerable: !(n = ge(e, c)) || n.enumerable });
15
15
  return t;
16
16
  };
17
- var Q = (t, e, o) => (o = t != null ? ce(me(t)) : {}, q(
17
+ var ee = (t, e, o) => (o = t != null ? me(de(t)) : {}, Z(
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
- )), de = (t) => q(y({}, "__esModule", { value: !0 }), t);
24
+ )), he = (t) => Z(y({}, "__esModule", { value: !0 }), t);
25
25
 
26
26
  // ../node_modules/picocolors/picocolors.js
27
- var oe = z((fe, k) => {
28
- var x = process || {}, Z = x.argv || [], E = x.env || {}, pe = !(E.NO_COLOR || Z.includes("--no-color")) && (!!E.FORCE_COLOR || Z.includes(
29
- "--color") || x.platform === "win32" || (x.stdout || {}).isTTY && E.TERM !== "dumb" || !!E.CI), ye = /* @__PURE__ */ r((t, e, o = t) => (n) => {
27
+ var re = Q((Oe, k) => {
28
+ var E = process || {}, oe = E.argv || [], f = E.env || {}, fe = !(f.NO_COLOR || oe.includes("--no-color")) && (!!f.FORCE_COLOR || oe.includes(
29
+ "--color") || E.platform === "win32" || (E.stdout || {}).isTTY && f.TERM !== "dumb" || !!f.CI), Ee = /* @__PURE__ */ r((t, e, o = t) => (n) => {
30
30
  let c = "" + n, u = c.indexOf(e, t.length);
31
- return ~u ? t + he(c, e, o, u) + e : t + c + e;
32
- }, "formatter"), he = /* @__PURE__ */ r((t, e, o, n) => {
31
+ return ~u ? t + xe(c, e, o, u) + e : t + c + e;
32
+ }, "formatter"), xe = /* @__PURE__ */ r((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"), ee = /* @__PURE__ */ r((t = pe) => {
39
- let e = t ? ye : () => String;
38
+ }, "replaceClose"), te = /* @__PURE__ */ r((t = fe) => {
39
+ let e = t ? Ee : () => String;
40
40
  return {
41
41
  isColorSupported: t,
42
42
  reset: e("\x1B[0m", "\x1B[0m"),
@@ -82,25 +82,25 @@ var oe = z((fe, k) => {
82
82
  bgWhiteBright: e("\x1B[107m", "\x1B[49m")
83
83
  };
84
84
  }, "createColors");
85
- k.exports = ee();
86
- k.exports.createColors = ee;
85
+ k.exports = te();
86
+ k.exports.createColors = te;
87
87
  });
88
88
 
89
89
  // ../node_modules/ts-dedent/dist/index.js
90
- var re = z((h) => {
90
+ var ne = Q((h) => {
91
91
  "use strict";
92
92
  Object.defineProperty(h, "__esModule", { value: !0 });
93
93
  h.dedent = void 0;
94
- function te(t) {
94
+ function se(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);
98
98
  n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
99
- var c = n.reduce(function(m, f) {
100
- var p = f.match(/\n([\t ]+|(?!\s).)/g);
99
+ var c = n.reduce(function(m, x) {
100
+ var p = x.match(/\n([\t ]+|(?!\s).)/g);
101
101
  return p ? m.concat(p.map(function(R) {
102
- var g, d;
103
- return (d = (g = R.match(/[\t ]/g)) === null || g === void 0 ? void 0 : g.length) !== null && d !== void 0 ? d : 0;
102
+ var b, d;
103
+ return (d = (b = R.match(/[\t ]/g)) === null || b === void 0 ? void 0 : b.length) !== null && d !== void 0 ? d : 0;
104
104
  })) : m;
105
105
  }, []);
106
106
  if (c.length) {
@@ -112,34 +112,35 @@ var re = z((h) => {
112
112
  });
113
113
  }
114
114
  n[0] = n[0].replace(/^\r?\n/, "");
115
- var b = n[0];
116
- return e.forEach(function(m, f) {
117
- var p = b.match(/(?:^|\n)( *)$/), R = p ? p[1] : "", g = m;
115
+ var g = n[0];
116
+ return e.forEach(function(m, x) {
117
+ var p = g.match(/(?:^|\n)( *)$/), R = p ? p[1] : "", b = m;
118
118
  typeof m == "string" && m.includes(`
119
- `) && (g = String(m).split(`
120
- `).map(function(d, ie) {
121
- return ie === 0 ? d : "" + R + d;
119
+ `) && (b = String(m).split(`
120
+ `).map(function(d, le) {
121
+ return le === 0 ? d : "" + R + d;
122
122
  }).join(`
123
- `)), b += g + n[f + 1];
124
- }), b;
123
+ `)), g += b + n[x + 1];
124
+ }), g;
125
125
  }
126
- r(te, "dedent");
127
- h.dedent = te;
128
- h.default = te;
126
+ r(se, "dedent");
127
+ h.dedent = se;
128
+ h.default = se;
129
129
  });
130
130
 
131
131
  // src/server-errors.ts
132
- var Ee = {};
133
- ge(Ee, {
134
- AngularLegacyBuildOptionsError: () => K,
135
- Category: () => ae,
132
+ var Re = {};
133
+ ye(Re, {
134
+ AngularLegacyBuildOptionsError: () => v,
135
+ Category: () => ue,
136
+ CommonJsConfigNotSupportedError: () => q,
136
137
  ConflictingStaticDirConfigError: () => C,
137
138
  CouldNotEvaluateFrameworkError: () => w,
138
- CriticalPresetLoadError: () => v,
139
+ CriticalPresetLoadError: () => K,
139
140
  FindPackageVersionsError: () => X,
140
- GenerateNewProjectOnInitError: () => U,
141
- GoogleFontsDownloadError: () => L,
142
- GoogleFontsLoadingError: () => N,
141
+ GenerateNewProjectOnInitError: () => D,
142
+ GoogleFontsDownloadError: () => B,
143
+ GoogleFontsLoadingError: () => P,
143
144
  IncompatiblePostCssConfigError: () => H,
144
145
  InvalidFrameworkNameError: () => _,
145
146
  InvalidStoriesEntryError: () => S,
@@ -147,31 +148,43 @@ ge(Ee, {
147
148
  MainFileEvaluationError: () => F,
148
149
  MainFileMissingError: () => $,
149
150
  MissingAngularJsonError: () => W,
150
- MissingBuilderError: () => B,
151
+ MissingBuilderError: () => L,
151
152
  MissingFrameworkFieldError: () => A,
152
- NoMatchingExportError: () => j,
153
+ NoMatchingExportError: () => N,
153
154
  NoStatsForViteDevError: () => J,
154
155
  NxProjectDetectedError: () => O,
155
- StatusTypeIdMismatchError: () => D,
156
- SvelteViteWithSvelteKitError: () => P,
156
+ SavingGlobalSettingsFileError: () => z,
157
+ StatusTypeIdMismatchError: () => U,
158
+ SvelteViteWithSvelteKitError: () => j,
157
159
  UpgradeStorybookToLowerVersionError: () => G,
158
160
  UpgradeStorybookUnknownCurrentVersionError: () => Y,
159
161
  WebpackCompilationError: () => T,
160
162
  WebpackInvocationError: () => M,
161
163
  WebpackMissingStatsError: () => I
162
164
  });
163
- module.exports = de(Ee);
164
- var l = Q(oe(), 1), i = Q(re(), 1);
165
+ module.exports = he(Re);
166
+ var l = ee(re(), 1), i = ee(ne(), 1);
165
167
 
166
168
  // src/storybook-error.ts
167
- function se({
169
+ function ae({
168
170
  code: t,
169
171
  category: e
170
172
  }) {
171
173
  let o = String(t).padStart(4, "0");
172
174
  return `SB_${e}_${o}`;
173
175
  }
174
- r(se, "parseErrorCode");
176
+ r(ae, "parseErrorCode");
177
+ function ie(t) {
178
+ if (/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(t))
179
+ return t;
180
+ try {
181
+ let e = new URL(t);
182
+ return e.searchParams.set("ref", "error"), e.toString();
183
+ } catch {
184
+ return t;
185
+ }
186
+ }
187
+ r(ie, "appendErrorRef");
175
188
  var a = class t extends Error {
176
189
  constructor(o) {
177
190
  super(t.getFullMessage(o));
@@ -188,7 +201,7 @@ var a = class t extends Error {
188
201
  r(this, "StorybookError");
189
202
  }
190
203
  get fullErrorCode() {
191
- return se({ code: this.code, category: this.category });
204
+ return ae({ code: this.code, category: this.category });
192
205
  }
193
206
  /** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
194
207
  get name() {
@@ -202,19 +215,19 @@ var a = class t extends Error {
202
215
  category: c,
203
216
  message: u
204
217
  }) {
205
- let b;
206
- return o === !0 ? b = `https://storybook.js.org/error/${se({ code: n, category: c })}` : typeof o == "string" ? b = o : Array.isArray(o) &&
207
- (b = `
208
- ${o.map((m) => ` - ${m}`).join(`
209
- `)}`), `${u}${b != null ? `
218
+ let g;
219
+ return o === !0 ? g = `https://storybook.js.org/error/${ae({ code: n, category: c })}?ref=error` : typeof o == "string" ? g = ie(o) : Array.
220
+ isArray(o) && (g = `
221
+ ${o.map((m) => ` - ${ie(m)}`).join(`
222
+ `)}`), `${u}${g != null ? `
210
223
 
211
- More info: ${b}
224
+ More info: ${g}
212
225
  ` : ""}`;
213
226
  }
214
227
  };
215
228
 
216
229
  // src/server-errors.ts
217
- var ae = /* @__PURE__ */ ((s) => (s.CLI = "CLI", s.CLI_INIT = "CLI_INIT", s.CLI_AUTOMIGRATE = "CLI_AUTOMIGRATE", s.CLI_UPGRADE = "CLI_UPGRAD\
230
+ var ue = /* @__PURE__ */ ((s) => (s.CLI = "CLI", s.CLI_INIT = "CLI_INIT", s.CLI_AUTOMIGRATE = "CLI_AUTOMIGRATE", s.CLI_UPGRADE = "CLI_UPGRAD\
218
231
  E", s.CLI_ADD = "CLI_ADD", s.CODEMOD = "CODEMOD", s.CORE_SERVER = "CORE-SERVER", s.CSF_PLUGIN = "CSF-PLUGIN", s.CSF_TOOLS = "CSF-TOOLS", s.CORE_COMMON =
219
232
  "CORE-COMMON", s.NODE_LOGGER = "NODE-LOGGER", s.TELEMETRY = "TELEMETRY", s.BUILDER_MANAGER = "BUILDER-MANAGER", s.BUILDER_VITE = "BUILDER-VI\
220
233
  TE", s.BUILDER_WEBPACK5 = "BUILDER-WEBPACK5", s.SOURCE_LOADER = "SOURCE-LOADER", s.POSTINSTALL = "POSTINSTALL", s.DOCS_TOOLS = "DOCS-TOOLS",
@@ -224,7 +237,7 @@ FRAMEWORK_HTML-VITE", s.FRAMEWORK_HTML_WEBPACK5 = "FRAMEWORK_HTML-WEBPACK5", s.F
224
237
  "FRAMEWORK_REACT-WEBPACK5", s.FRAMEWORK_SERVER_WEBPACK5 = "FRAMEWORK_SERVER-WEBPACK5", s.FRAMEWORK_SVELTE_VITE = "FRAMEWORK_SVELTE-VITE", s.
225
238
  FRAMEWORK_SVELTEKIT = "FRAMEWORK_SVELTEKIT", s.FRAMEWORK_VUE_VITE = "FRAMEWORK_VUE-VITE", s.FRAMEWORK_VUE_WEBPACK5 = "FRAMEWORK_VUE-WEBPACK5",
226
239
  s.FRAMEWORK_VUE3_VITE = "FRAMEWORK_VUE3-VITE", s.FRAMEWORK_VUE3_WEBPACK5 = "FRAMEWORK_VUE3-WEBPACK5", s.FRAMEWORK_WEB_COMPONENTS_VITE = "FRA\
227
- MEWORK_WEB-COMPONENTS-VITE", s.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_WEB-COMPONENTS-WEBPACK5", s))(ae || {}), O = class extends a {
240
+ MEWORK_WEB-COMPONENTS-VITE", s.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_WEB-COMPONENTS-WEBPACK5", s))(ue || {}), O = class extends a {
228
241
  static {
229
242
  r(this, "NxProjectDetectedError");
230
243
  }
@@ -349,16 +362,16 @@ MEWORK_WEB-COMPONENTS-VITE", s.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_WE
349
362
  r(this, "WebpackInvocationError");
350
363
  }
351
364
  };
352
- function ne(t = "") {
365
+ function ce(t = "") {
353
366
  return t.replace(/\u001B\[[0-9;]*m/g, "");
354
367
  }
355
- r(ne, "removeAnsiEscapeCodes");
368
+ r(ce, "removeAnsiEscapeCodes");
356
369
  var T = class extends a {
357
370
  constructor(o) {
358
371
  o.errors = o.errors.map((n) => ({
359
372
  ...n,
360
- message: ne(n.message),
361
- stack: ne(n.stack),
373
+ message: ce(n.message),
374
+ stack: ce(n.stack),
362
375
  name: n.name
363
376
  }));
364
377
  super({
@@ -380,7 +393,7 @@ var T = class extends a {
380
393
  super({
381
394
  category: "CLI_INIT",
382
395
  code: 2,
383
- documentation: "https://storybook.js.org/docs/faq#error-no-angularjson-file-found",
396
+ documentation: "https://storybook.js.org/docs/faq#error-no-angularjson-file-found?ref=error",
384
397
  message: i.dedent`
385
398
  An angular.json file was not found in the current working directory: ${o.path}
386
399
  Storybook needs it to work properly, so please rerun the command at the root of your project, where the angular.json file is located.`
@@ -390,7 +403,7 @@ var T = class extends a {
390
403
  static {
391
404
  r(this, "MissingAngularJsonError");
392
405
  }
393
- }, K = class extends a {
406
+ }, v = class extends a {
394
407
  static {
395
408
  r(this, "AngularLegacyBuildOptionsError");
396
409
  }
@@ -409,7 +422,7 @@ var T = class extends a {
409
422
  Please run 'npx storybook automigrate' to automatically fix your config.`
410
423
  });
411
424
  }
412
- }, v = class extends a {
425
+ }, K = class extends a {
413
426
  constructor(o) {
414
427
  super({
415
428
  category: "CORE-SERVER",
@@ -429,7 +442,7 @@ var T = class extends a {
429
442
  static {
430
443
  r(this, "CriticalPresetLoadError");
431
444
  }
432
- }, B = class extends a {
445
+ }, L = class extends a {
433
446
  static {
434
447
  r(this, "MissingBuilderError");
435
448
  }
@@ -450,7 +463,7 @@ var T = class extends a {
450
463
  If you believe this is a bug, please describe your issue in detail on Github.`
451
464
  });
452
465
  }
453
- }, L = class extends a {
466
+ }, B = class extends a {
454
467
  constructor(o) {
455
468
  super({
456
469
  category: "FRAMEWORK_NEXTJS",
@@ -464,7 +477,7 @@ var T = class extends a {
464
477
  static {
465
478
  r(this, "GoogleFontsDownloadError");
466
479
  }
467
- }, N = class extends a {
480
+ }, P = class extends a {
468
481
  constructor(o) {
469
482
  super({
470
483
  category: "FRAMEWORK_NEXTJS",
@@ -480,7 +493,7 @@ var T = class extends a {
480
493
  static {
481
494
  r(this, "GoogleFontsLoadingError");
482
495
  }
483
- }, P = class extends a {
496
+ }, j = class extends a {
484
497
  static {
485
498
  r(this, "SvelteViteWithSvelteKitError");
486
499
  }
@@ -494,7 +507,7 @@ var T = class extends a {
494
507
  Please use the @storybook/sveltekit framework instead.`
495
508
  });
496
509
  }
497
- }, j = class extends a {
510
+ }, N = class extends a {
498
511
  constructor(o) {
499
512
  super({
500
513
  category: "CORE-SERVER",
@@ -559,12 +572,12 @@ var T = class extends a {
559
572
  let n = {
560
573
  storybook: {
561
574
  helperMessage: "You can pass a --config-dir flag to tell Storybook, where your main.js file is located at.",
562
- documentation: "https://storybook.js.org/docs/configure"
575
+ documentation: "https://storybook.js.org/docs/configure?ref=error"
563
576
  },
564
577
  vitest: {
565
578
  helperMessage: "You can pass a configDir plugin option to tell where your main.js file is located at.",
566
579
  // TODO: add proper docs once available
567
- documentation: "https://storybook.js.org/docs/configure"
580
+ documentation: "https://storybook.js.org/docs/configure?ref=error"
568
581
  }
569
582
  }, { documentation: c, helperMessage: u } = n[o.source || "storybook"];
570
583
  super({
@@ -601,7 +614,7 @@ var T = class extends a {
601
614
  static {
602
615
  r(this, "MainFileEvaluationError");
603
616
  }
604
- }, D = class extends a {
617
+ }, U = class extends a {
605
618
  constructor(o) {
606
619
  super({
607
620
  category: "CORE-SERVER",
@@ -617,7 +630,7 @@ var T = class extends a {
617
630
  static {
618
631
  r(this, "StatusTypeIdMismatchError");
619
632
  }
620
- }, U = class extends a {
633
+ }, D = class extends a {
621
634
  constructor(o) {
622
635
  super({
623
636
  category: "CLI_INIT",
@@ -730,4 +743,35 @@ var T = class extends a {
730
743
  static {
731
744
  r(this, "IncompatiblePostCssConfigError");
732
745
  }
746
+ }, z = class extends a {
747
+ constructor(o) {
748
+ super({
749
+ category: "CORE-SERVER",
750
+ code: 1,
751
+ message: i.dedent`
752
+ Unable to save global settings file to ${o.filePath}
753
+ ${o.error && `Reason: ${o.error}`}`
754
+ });
755
+ this.data = o;
756
+ }
757
+ static {
758
+ r(this, "SavingGlobalSettingsFileError");
759
+ }
760
+ }, q = class extends a {
761
+ static {
762
+ r(this, "CommonJsConfigNotSupportedError");
763
+ }
764
+ constructor() {
765
+ super({
766
+ category: "CLI_AUTOMIGRATE",
767
+ code: 1,
768
+ documentation: "https://storybook.js.org/docs/configure/overview?ref=error#es-modules",
769
+ message: i.dedent`
770
+ Support for CommonJS Storybook config files has been removed in Storybook 10.0.0.
771
+ Please migrate your config to a valid ESM file.
772
+
773
+ CommonJS files (ending in .cjs, .cts, .cjsx, .ctsx) or files containing 'module.exports' are no longer supported.
774
+ Please convert your config to use ES modules (import/export syntax).`
775
+ });
776
+ }
733
777
  };
@@ -291,5 +291,18 @@ declare class IncompatiblePostCssConfigError extends StorybookError {
291
291
  error: Error;
292
292
  });
293
293
  }
294
+ declare class SavingGlobalSettingsFileError extends StorybookError {
295
+ data: {
296
+ filePath: string;
297
+ error: Error | unknown;
298
+ };
299
+ constructor(data: {
300
+ filePath: string;
301
+ error: Error | unknown;
302
+ });
303
+ }
304
+ declare class CommonJsConfigNotSupportedError extends StorybookError {
305
+ constructor();
306
+ }
294
307
 
295
- export { AngularLegacyBuildOptionsError, Category, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, IncompatiblePostCssConfigError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileESMOnlyImportError, MainFileEvaluationError, MainFileMissingError, MissingAngularJsonError, MissingBuilderError, MissingFrameworkFieldError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, StatusTypeIdMismatchError, SvelteViteWithSvelteKitError, UpgradeStorybookToLowerVersionError, UpgradeStorybookUnknownCurrentVersionError, WebpackCompilationError, WebpackInvocationError, WebpackMissingStatsError };
308
+ export { AngularLegacyBuildOptionsError, Category, CommonJsConfigNotSupportedError, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, IncompatiblePostCssConfigError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileESMOnlyImportError, MainFileEvaluationError, MainFileMissingError, MissingAngularJsonError, MissingBuilderError, MissingFrameworkFieldError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, SavingGlobalSettingsFileError, StatusTypeIdMismatchError, SvelteViteWithSvelteKitError, UpgradeStorybookToLowerVersionError, UpgradeStorybookUnknownCurrentVersionError, WebpackCompilationError, WebpackInvocationError, WebpackMissingStatsError };