@kubb/core 4.12.11 → 4.12.13

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.
@@ -1,4 +1,4 @@
1
- import { f as Plugin, t as BarrelType } from "./types-CQgZe9FC.cjs";
1
+ import { f as Plugin, t as BarrelType } from "./types-DX1ditgk.cjs";
2
2
  import { KubbFile } from "@kubb/fabric-core/types";
3
3
 
4
4
  //#region src/utils/getBarrelFiles.d.ts
@@ -31,4 +31,4 @@ declare function getBarrelFiles(files: Array<KubbFile.ResolvedFile>, {
31
31
  }: AddIndexesProps): Promise<KubbFile.File[]>;
32
32
  //#endregion
33
33
  export { getBarrelFiles as n, FileMetaBase as t };
34
- //# sourceMappingURL=getBarrelFiles-L2yIruxp.d.cts.map
34
+ //# sourceMappingURL=getBarrelFiles-BZU_ZaAZ.d.cts.map
@@ -1,4 +1,4 @@
1
- import { f as Plugin, t as BarrelType } from "./types-BnDWRsZd.js";
1
+ import { f as Plugin, t as BarrelType } from "./types-Btwf6m67.js";
2
2
  import { KubbFile } from "@kubb/fabric-core/types";
3
3
 
4
4
  //#region src/utils/getBarrelFiles.d.ts
@@ -31,4 +31,4 @@ declare function getBarrelFiles(files: Array<KubbFile.ResolvedFile>, {
31
31
  }: AddIndexesProps): Promise<KubbFile.File[]>;
32
32
  //#endregion
33
33
  export { getBarrelFiles as n, FileMetaBase as t };
34
- //# sourceMappingURL=getBarrelFiles-Cmonj1Mj.d.ts.map
34
+ //# sourceMappingURL=getBarrelFiles-iidfSLh6.d.ts.map
package/dist/hooks.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { O as PluginManager, f as Plugin, m as PluginFactoryOptions } from "./types-CQgZe9FC.cjs";
1
+ import { O as PluginManager, f as Plugin, m as PluginFactoryOptions } from "./types-DX1ditgk.cjs";
2
2
  import { KubbFile } from "@kubb/fabric-core/types";
3
3
 
4
4
  //#region src/hooks/useMode.d.ts
package/dist/hooks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { O as PluginManager, f as Plugin, m as PluginFactoryOptions } from "./types-BnDWRsZd.js";
1
+ import { O as PluginManager, f as Plugin, m as PluginFactoryOptions } from "./types-Btwf6m67.js";
2
2
  import { KubbFile } from "@kubb/fabric-core/types";
3
3
 
4
4
  //#region src/hooks/useMode.d.ts
package/dist/index.cjs CHANGED
@@ -73,7 +73,7 @@ function isInputPath(config) {
73
73
 
74
74
  //#endregion
75
75
  //#region package.json
76
- var version = "4.12.11";
76
+ var version = "4.12.13";
77
77
 
78
78
  //#endregion
79
79
  //#region src/utils/diagnostics.ts
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncEventEmitter, C as UserLogger, D as KubbEvents, E as PossiblePromise, O as PluginManager, S as UserConfig, T as UserPluginWithLifeCycle, _ as PluginLifecycleHooks, a as InputData, b as ResolveNameParams, c as Logger, d as Output, f as Plugin, g as PluginLifecycle, h as PluginKey, i as Group, k as getMode, l as LoggerContext, m as PluginFactoryOptions, n as Config, o as InputPath, p as PluginContext, r as GetPluginFactoryOptions, s as LogLevel, t as BarrelType, u as LoggerOptions, v as PluginParameter, w as UserPlugin, x as ResolvePathParams, y as PluginWithLifeCycle } from "./types-CQgZe9FC.cjs";
2
- import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-L2yIruxp.cjs";
1
+ import { A as AsyncEventEmitter, C as UserLogger, D as KubbEvents, E as PossiblePromise, O as PluginManager, S as UserConfig, T as UserPluginWithLifeCycle, _ as PluginLifecycleHooks, a as InputData, b as ResolveNameParams, c as Logger, d as Output, f as Plugin, g as PluginLifecycle, h as PluginKey, i as Group, k as getMode, l as LoggerContext, m as PluginFactoryOptions, n as Config, o as InputPath, p as PluginContext, r as GetPluginFactoryOptions, s as LogLevel, t as BarrelType, u as LoggerOptions, v as PluginParameter, w as UserPlugin, x as ResolvePathParams, y as PluginWithLifeCycle } from "./types-DX1ditgk.cjs";
2
+ import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-BZU_ZaAZ.cjs";
3
3
  import { KubbFile } from "@kubb/fabric-core/types";
4
4
  import { Fabric } from "@kubb/react-fabric";
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncEventEmitter, C as UserLogger, D as KubbEvents, E as PossiblePromise, O as PluginManager, S as UserConfig, T as UserPluginWithLifeCycle, _ as PluginLifecycleHooks, a as InputData, b as ResolveNameParams, c as Logger, d as Output, f as Plugin, g as PluginLifecycle, h as PluginKey, i as Group, k as getMode, l as LoggerContext, m as PluginFactoryOptions, n as Config, o as InputPath, p as PluginContext, r as GetPluginFactoryOptions, s as LogLevel, t as BarrelType, u as LoggerOptions, v as PluginParameter, w as UserPlugin, x as ResolvePathParams, y as PluginWithLifeCycle } from "./types-BnDWRsZd.js";
2
- import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-Cmonj1Mj.js";
1
+ import { A as AsyncEventEmitter, C as UserLogger, D as KubbEvents, E as PossiblePromise, O as PluginManager, S as UserConfig, T as UserPluginWithLifeCycle, _ as PluginLifecycleHooks, a as InputData, b as ResolveNameParams, c as Logger, d as Output, f as Plugin, g as PluginLifecycle, h as PluginKey, i as Group, k as getMode, l as LoggerContext, m as PluginFactoryOptions, n as Config, o as InputPath, p as PluginContext, r as GetPluginFactoryOptions, s as LogLevel, t as BarrelType, u as LoggerOptions, v as PluginParameter, w as UserPlugin, x as ResolvePathParams, y as PluginWithLifeCycle } from "./types-Btwf6m67.js";
2
+ import { n as getBarrelFiles, t as FileMetaBase } from "./getBarrelFiles-iidfSLh6.js";
3
3
  import { Fabric } from "@kubb/react-fabric";
4
4
  import { KubbFile } from "@kubb/fabric-core/types";
5
5
 
package/dist/index.js CHANGED
@@ -67,7 +67,7 @@ function isInputPath(config) {
67
67
 
68
68
  //#endregion
69
69
  //#region package.json
70
- var version$1 = "4.12.11";
70
+ var version$1 = "4.12.13";
71
71
 
72
72
  //#endregion
73
73
  //#region src/utils/diagnostics.ts
@@ -253,6 +253,7 @@ interface KubbEvents {
253
253
  'hook:end': [{
254
254
  id?: string;
255
255
  command: string;
256
+ args?: readonly string[];
256
257
  }];
257
258
  /**
258
259
  * Emitted when a new version of Kubb is available.
@@ -687,4 +688,4 @@ type Logger<TOptions extends LoggerOptions = LoggerOptions> = {
687
688
  type UserLogger<TOptions extends LoggerOptions = LoggerOptions> = Omit<Logger<TOptions>, 'logLevel'>;
688
689
  //#endregion
689
690
  export { AsyncEventEmitter as A, UserLogger as C, KubbEvents as D, PossiblePromise as E, PluginManager as O, UserConfig as S, UserPluginWithLifeCycle as T, PluginLifecycleHooks as _, InputData as a, ResolveNameParams as b, Logger as c, Output as d, Plugin as f, PluginLifecycle as g, PluginKey as h, Group as i, getMode as k, LoggerContext as l, PluginFactoryOptions as m, Config as n, InputPath as o, PluginContext as p, GetPluginFactoryOptions as r, LogLevel as s, BarrelType as t, LoggerOptions as u, PluginParameter as v, UserPlugin as w, ResolvePathParams as x, PluginWithLifeCycle as y };
690
- //# sourceMappingURL=types-BnDWRsZd.d.ts.map
691
+ //# sourceMappingURL=types-Btwf6m67.d.ts.map
@@ -253,6 +253,7 @@ interface KubbEvents {
253
253
  'hook:end': [{
254
254
  id?: string;
255
255
  command: string;
256
+ args?: readonly string[];
256
257
  }];
257
258
  /**
258
259
  * Emitted when a new version of Kubb is available.
@@ -687,4 +688,4 @@ type Logger<TOptions extends LoggerOptions = LoggerOptions> = {
687
688
  type UserLogger<TOptions extends LoggerOptions = LoggerOptions> = Omit<Logger<TOptions>, 'logLevel'>;
688
689
  //#endregion
689
690
  export { AsyncEventEmitter as A, UserLogger as C, KubbEvents as D, PossiblePromise as E, PluginManager as O, UserConfig as S, UserPluginWithLifeCycle as T, PluginLifecycleHooks as _, InputData as a, ResolveNameParams as b, Logger as c, Output as d, Plugin as f, PluginLifecycle as g, PluginKey as h, Group as i, getMode as k, LoggerContext as l, PluginFactoryOptions as m, Config as n, InputPath as o, PluginContext as p, GetPluginFactoryOptions as r, LogLevel as s, BarrelType as t, LoggerOptions as u, PluginParameter as v, UserPlugin as w, ResolvePathParams as x, PluginWithLifeCycle as y };
690
- //# sourceMappingURL=types-CQgZe9FC.d.cts.map
691
+ //# sourceMappingURL=types-DX1ditgk.d.cts.map
package/dist/utils.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncEventEmitter, E as PossiblePromise } from "./types-CQgZe9FC.cjs";
2
- import { n as getBarrelFiles } from "./getBarrelFiles-L2yIruxp.cjs";
1
+ import { A as AsyncEventEmitter, E as PossiblePromise } from "./types-DX1ditgk.cjs";
2
+ import { n as getBarrelFiles } from "./getBarrelFiles-BZU_ZaAZ.cjs";
3
3
 
4
4
  //#region src/utils/buildJSDoc.d.ts
5
5
 
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as AsyncEventEmitter, E as PossiblePromise } from "./types-BnDWRsZd.js";
2
- import { n as getBarrelFiles } from "./getBarrelFiles-Cmonj1Mj.js";
1
+ import { A as AsyncEventEmitter, E as PossiblePromise } from "./types-Btwf6m67.js";
2
+ import { n as getBarrelFiles } from "./getBarrelFiles-iidfSLh6.js";
3
3
 
4
4
  //#region src/utils/buildJSDoc.d.ts
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/core",
3
- "version": "4.12.11",
3
+ "version": "4.12.13",
4
4
  "description": "Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.",
5
5
  "keywords": [
6
6
  "typescript",
package/src/Kubb.ts CHANGED
@@ -138,7 +138,7 @@ export interface KubbEvents {
138
138
  /**
139
139
  * Emitted when a single hook execution completes.
140
140
  */
141
- 'hook:end': [{ id?: string; command: string }]
141
+ 'hook:end': [{ id?: string; command: string; args?: readonly string[] }]
142
142
 
143
143
  /**
144
144
  * Emitted when a new version of Kubb is available.
@@ -0,0 +1 @@
1
+ export const excluded = 'excluded'