@kubb/core 5.0.0-alpha.51 → 5.0.0-alpha.52

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.
package/dist/index.cjs CHANGED
@@ -735,7 +735,7 @@ const fsStorage = createStorage(() => ({
735
735
  }));
736
736
  //#endregion
737
737
  //#region package.json
738
- var version = "5.0.0-alpha.51";
738
+ var version = "5.0.0-alpha.52";
739
739
  //#endregion
740
740
  //#region src/utils/diagnostics.ts
741
741
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk--u3MIqq1.js";
2
- import { $ as AsyncEventEmitter, A as ResolverFileParams, B as createKubb, C as PluginFactoryOptions, D as ResolveOptionsContext, E as ResolveNameParams, F as Plugin, G as Generator, H as FileManager, I as definePlugin, J as createStorage, K as defineGenerator, L as Kubb, M as UserConfig, N as UserLogger, O as Resolver, P as FileMetaBase, Q as logLevel, R as KubbHooks, S as Override, T as ResolveBannerContext, U as Parser, V as PluginDriver, W as defineParser, X as RendererFactory, Y as Renderer, Z as createRenderer, _ as Logger, a as CLIOptions, b as NormalizedPlugin, c as Exclude, d as Include, f as InputData, g as KubbPluginSetupContext, h as KubbBuildStartContext, i as BarrelType, j as ResolverPathParams, k as ResolverContext, l as GeneratorContext, m as KubbBuildEndContext, n as AdapterFactoryOptions, o as Config, p as InputPath, q as Storage, r as AdapterSource, s as DevtoolsOptions, t as Adapter, u as Group, v as LoggerContext, w as PossibleConfig, x as Output, y as LoggerOptions, z as BuildOutput } from "./types-DfEv9d_c.js";
2
+ import { $ as AsyncEventEmitter, A as ResolverFileParams, B as createKubb, C as PluginFactoryOptions, D as ResolveOptionsContext, E as ResolveNameParams, F as Plugin, G as Generator, H as FileManager, I as definePlugin, J as createStorage, K as defineGenerator, L as Kubb, M as UserConfig, N as UserLogger, O as Resolver, P as FileMetaBase, Q as logLevel, R as KubbHooks, S as Override, T as ResolveBannerContext, U as Parser, V as PluginDriver, W as defineParser, X as RendererFactory, Y as Renderer, Z as createRenderer, _ as Logger, a as CLIOptions, b as NormalizedPlugin, c as Exclude, d as Include, f as InputData, g as KubbPluginSetupContext, h as KubbBuildStartContext, i as BarrelType, j as ResolverPathParams, k as ResolverContext, l as GeneratorContext, m as KubbBuildEndContext, n as AdapterFactoryOptions, o as Config, p as InputPath, q as Storage, r as AdapterSource, s as DevtoolsOptions, t as Adapter, u as Group, v as LoggerContext, w as PossibleConfig, x as Output, y as LoggerOptions, z as BuildOutput } from "./types-B4z-z0tn.js";
3
3
  import * as ast from "@kubb/ast";
4
4
  import { FileNode, InputNode, Node } from "@kubb/ast";
5
5
 
package/dist/index.js CHANGED
@@ -737,7 +737,7 @@ const fsStorage = createStorage(() => ({
737
737
  }));
738
738
  //#endregion
739
739
  //#region package.json
740
- var version$1 = "5.0.0-alpha.51";
740
+ var version$1 = "5.0.0-alpha.52";
741
741
  //#endregion
742
742
  //#region src/utils/diagnostics.ts
743
743
  /**
package/dist/mocks.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk--u3MIqq1.js";
2
- import { C as PluginFactoryOptions, G as Generator, V as PluginDriver, b as NormalizedPlugin, n as AdapterFactoryOptions, o as Config, t as Adapter } from "./types-DfEv9d_c.js";
2
+ import { C as PluginFactoryOptions, G as Generator, V as PluginDriver, b as NormalizedPlugin, n as AdapterFactoryOptions, o as Config, t as Adapter } from "./types-B4z-z0tn.js";
3
3
  import { OperationNode, SchemaNode, Visitor } from "@kubb/ast";
4
4
 
5
5
  //#region src/mocks.d.ts
@@ -1243,14 +1243,6 @@ TOptions extends object = object,
1243
1243
  * Options of the plugin that can be used later on, see `options` inside your plugin config.
1244
1244
  */
1245
1245
  TResolvedOptions extends object = TOptions,
1246
- /**
1247
- * Context that you want to expose to other plugins.
1248
- */
1249
- TContext = unknown,
1250
- /**
1251
- * When calling `resolvePath` you can specify better types.
1252
- */
1253
- TResolvePathOptions extends object = object,
1254
1246
  /**
1255
1247
  * Resolver object that encapsulates the naming and path-resolution helpers used by this plugin.
1256
1248
  * Use `defineResolver` to define the resolver object and export it alongside the plugin.
@@ -1259,8 +1251,6 @@ TResolver extends Resolver = Resolver> = {
1259
1251
  name: TName;
1260
1252
  options: TOptions;
1261
1253
  resolvedOptions: TResolvedOptions;
1262
- context: TContext;
1263
- resolvePathOptions: TResolvePathOptions;
1264
1254
  resolver: TResolver;
1265
1255
  };
1266
1256
  /**
@@ -1718,4 +1708,4 @@ type CLIOptions = {
1718
1708
  type PossibleConfig<TCliOptions = undefined> = PossiblePromise<Config | Config[]> | ((...args: [TCliOptions] extends [undefined] ? [] : [TCliOptions]) => PossiblePromise<Config | Config[]>);
1719
1709
  //#endregion
1720
1710
  export { AsyncEventEmitter as $, ResolverFileParams as A, createKubb as B, PluginFactoryOptions as C, ResolveOptionsContext as D, ResolveNameParams as E, Plugin as F, Generator as G, FileManager as H, definePlugin as I, createStorage as J, defineGenerator as K, Kubb$1 as L, UserConfig as M, UserLogger as N, Resolver as O, FileMetaBase as P, logLevel as Q, KubbHooks as R, Override as S, ResolveBannerContext as T, Parser as U, PluginDriver as V, defineParser as W, RendererFactory as X, Renderer as Y, createRenderer as Z, Logger as _, CLIOptions as a, NormalizedPlugin as b, Exclude$1 as c, Include as d, InputData as f, KubbPluginSetupContext as g, KubbBuildStartContext as h, BarrelType as i, ResolverPathParams as j, ResolverContext as k, GeneratorContext as l, KubbBuildEndContext as m, AdapterFactoryOptions as n, Config as o, InputPath as p, Storage as q, AdapterSource as r, DevtoolsOptions as s, Adapter as t, Group as u, LoggerContext as v, PossibleConfig as w, Output as x, LoggerOptions as y, BuildOutput as z };
1721
- //# sourceMappingURL=types-DfEv9d_c.d.ts.map
1711
+ //# sourceMappingURL=types-B4z-z0tn.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/core",
3
- "version": "5.0.0-alpha.51",
3
+ "version": "5.0.0-alpha.52",
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
  "ast",
@@ -65,15 +65,15 @@
65
65
  "dependencies": {
66
66
  "fflate": "^0.8.2",
67
67
  "tinyexec": "^1.1.1",
68
- "@kubb/ast": "5.0.0-alpha.51"
68
+ "@kubb/ast": "5.0.0-alpha.52"
69
69
  },
70
70
  "devDependencies": {
71
71
  "p-limit": "^7.3.0",
72
72
  "@internals/utils": "0.0.0",
73
- "@kubb/renderer-jsx": "5.0.0-alpha.51"
73
+ "@kubb/renderer-jsx": "5.0.0-alpha.52"
74
74
  },
75
75
  "peerDependencies": {
76
- "@kubb/renderer-jsx": "5.0.0-alpha.51"
76
+ "@kubb/renderer-jsx": "5.0.0-alpha.52"
77
77
  },
78
78
  "size-limit": [
79
79
  {
package/src/types.ts CHANGED
@@ -365,14 +365,6 @@ export type PluginFactoryOptions<
365
365
  * Options of the plugin that can be used later on, see `options` inside your plugin config.
366
366
  */
367
367
  TResolvedOptions extends object = TOptions,
368
- /**
369
- * Context that you want to expose to other plugins.
370
- */
371
- TContext = unknown,
372
- /**
373
- * When calling `resolvePath` you can specify better types.
374
- */
375
- TResolvePathOptions extends object = object,
376
368
  /**
377
369
  * Resolver object that encapsulates the naming and path-resolution helpers used by this plugin.
378
370
  * Use `defineResolver` to define the resolver object and export it alongside the plugin.
@@ -382,8 +374,6 @@ export type PluginFactoryOptions<
382
374
  name: TName
383
375
  options: TOptions
384
376
  resolvedOptions: TResolvedOptions
385
- context: TContext
386
- resolvePathOptions: TResolvePathOptions
387
377
  resolver: TResolver
388
378
  }
389
379