@kubb/core 5.0.0-beta.44 → 5.0.0-beta.45

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.
@@ -975,7 +975,7 @@ type Resolver = {
975
975
  * { baseName: 'petTypes.ts', tag: 'pets' },
976
976
  * { root: '/src', output: { path: 'types' }, group: { type: 'tag' } },
977
977
  * )
978
- * // → '/src/types/petsController/petTypes.ts'
978
+ * // → '/src/types/pets/petTypes.ts'
979
979
  * ```
980
980
  */
981
981
  type ResolverPathParams = {
@@ -1026,7 +1026,7 @@ type ResolverContext = {
1026
1026
  * { name: 'listPets', extname: '.ts', tag: 'pets' },
1027
1027
  * { root: '/src', output: { path: 'types' }, group: { type: 'tag' } },
1028
1028
  * )
1029
- * // → { baseName: 'listPets.ts', path: '/src/types/petsController/listPets.ts', ... }
1029
+ * // → { baseName: 'listPets.ts', path: '/src/types/pets/listPets.ts', ... }
1030
1030
  * ```
1031
1031
  */
1032
1032
  type ResolverFileParams = {
@@ -1222,8 +1222,8 @@ type Group = {
1222
1222
  */
1223
1223
  type: 'tag' | 'path';
1224
1224
  /**
1225
- * Returns the subdirectory name from the group key. Defaults to
1226
- * `${camelCase(group)}Controller` for tags, or the first path segment.
1225
+ * Returns the subdirectory name from the group key. Defaults to the
1226
+ * camelCased tag for `tag` groups, or the first path segment for `path` groups.
1227
1227
  */
1228
1228
  name?: (context: {
1229
1229
  group: string;
@@ -2481,7 +2481,7 @@ type KubbGenerationEndContext = {
2481
2481
  storage: Storage;
2482
2482
  /**
2483
2483
  * Diagnostics collected during the build: error/warning/info problems plus a
2484
- * `timing` diagnostic per plugin. The end-of-run summary derives its failure counts
2484
+ * `performance` diagnostic per plugin. The end-of-run summary derives its failure counts
2485
2485
  * and per-plugin timings from these. Set by the CLI runner, omitted by other callers.
2486
2486
  */
2487
2487
  diagnostics?: Array<Diagnostic>;
@@ -2686,7 +2686,7 @@ type BuildOutput = {
2686
2686
  /**
2687
2687
  * Structured diagnostics collected during the build: error/warning/info problems
2688
2688
  * (each with a code, severity, and where known a JSON-pointer location) plus a
2689
- * `timing` diagnostic per plugin. Includes a top-level diagnostic when the build
2689
+ * `performance` diagnostic per plugin. Includes a top-level diagnostic when the build
2690
2690
  * threw before completing. Use {@link Diagnostics.hasError} to test for failure.
2691
2691
  */
2692
2692
  diagnostics: Array<Diagnostic>;
@@ -3130,4 +3130,4 @@ declare class Diagnostics {
3130
3130
  }
3131
3131
  //#endregion
3132
3132
  export { Output as $, KubbHookEndContext as A, defineLogger as At, UserConfig as B, CachedSnapshot as Bt, KubbErrorContext as C, UserReporter as Ct, KubbFilesProcessingUpdateContext as D, LoggerContext as Dt, KubbFilesProcessingStartContext as E, Logger as Et, KubbLifecycleStartContext as F, RendererFactory as Ft, KubbDriver as G, createAdapter as Gt, Generator$1 as H, Adapter as Ht, KubbPluginsEndContext as I, createRenderer as It, Include as J, Exclude$1 as K, AsyncEventEmitter as Kt, KubbSuccessContext as L, Storage as Lt, KubbHookStartContext as M, FsCacheOptions as Mt, KubbHooks as N, fsCache as Nt, KubbGenerationEndContext as O, LoggerOptions as Ot, KubbInfoContext as P, Renderer as Pt, NormalizedPlugin as Q, KubbWarnContext as R, createStorage as Rt, KubbDiagnosticContext as S, ReporterName as St, KubbFilesProcessingEndContext as T, selectReporters as Tt, GeneratorContext as U, AdapterFactoryOptions as Ut, createKubb as V, createCache as Vt, defineGenerator as W, AdapterSource as Wt, KubbPluginSetupContext as X, KubbPluginEndContext as Y, KubbPluginStartContext as Z, InputPath as _, Parser as _t, DiagnosticLocation as a, ResolveBannerContext as at, KubbBuildStartContext as b, Reporter as bt, PerformanceDiagnostic as c, Resolver as ct, SerializedDiagnostic as d, ResolverPathParams as dt, Override as et, UpdateDiagnostic as f, defineResolver as ft, InputData as g, ParsedFile as gt, Config as h, FileProcessorHooks as ht, DiagnosticKind as i, BannerMeta as it, KubbHookLineContext as j, logLevel as jt, KubbGenerationStartContext as k, UserLogger as kt, ProblemCode as l, ResolverContext as lt, CLIOptions as m, defineMiddleware as mt, DiagnosticByCode as n, PluginFactoryOptions as nt, DiagnosticSeverity as o, ResolveBannerFile as ot, BuildOutput as p, Middleware as pt, Group as q, DiagnosticDoc as r, definePlugin as rt, Diagnostics as s, ResolveOptionsContext as st, Diagnostic as t, Plugin as tt, ProblemDiagnostic as u, ResolverFileParams as ut, Kubb$1 as v, defineParser as vt, KubbFileProcessingUpdate as w, createReporter as wt, KubbConfigEndContext as x, ReporterContext as xt, KubbBuildEndContext as y, GenerationResult as yt, PossibleConfig as z, Cache as zt };
3133
- //# sourceMappingURL=diagnostics-CQgmHkd8.d.ts.map
3133
+ //# sourceMappingURL=diagnostics-ChxDd2QN.d.ts.map
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_memoryStorage = require("./memoryStorage-XYgCsWo0.cjs");
2
+ const require_memoryStorage = require("./memoryStorage-BPw1fHqJ.cjs");
3
3
  let node_crypto = require("node:crypto");
4
4
  let node_util = require("node:util");
5
5
  let node_fs_promises = require("node:fs/promises");