@kubb/core 5.0.0-alpha.4 → 5.0.0-alpha.5
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/{types-Bbh1o0yW.d.ts → PluginManager-vZodFEMe.d.ts} +124 -125
- package/dist/hooks.cjs +19 -9
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.ts +25 -18
- package/dist/hooks.js +20 -10
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/PluginManager.ts +4 -5
- package/src/build.ts +3 -4
- package/src/hooks/index.ts +0 -4
- package/src/hooks/useKubb.ts +33 -9
- package/src/hooks/useMode.ts +2 -2
- package/src/hooks/usePlugin.ts +3 -3
- package/src/hooks/usePluginManager.ts +2 -2
- package/src/types.ts +2 -3
- package/src/utils/resolveOptions.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as __name } from "./chunk--u3MIqq1.js";
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as UserConfig, B as defineStorage, C as PluginParameter, D as ResolveNameParams, E as PrinterFactoryOptions, F as Generator, G as URLPath, H as linters, I as ReactGeneratorV2, L as defineGenerator, M as UserPlugin, N as UserPluginWithLifeCycle, O as ResolvePathParams, P as CoreGeneratorV2, R as KubbEvents, S as PluginLifecycleHooks, T as Printer, U as logLevel, V as formatters, W as AsyncEventEmitter, _ as Output, a as AdapterFactoryOptions, b as PluginFactoryOptions, c as Config, d as Group, f as InputData, g as LoggerOptions, h as LoggerContext, i as Adapter, j as UserLogger, k as UnknownUserPlugin, l as DevtoolsOptions, m as Logger, n as PluginManager, o as AdapterSource, p as InputPath, r as getMode, s as BarrelType, u as GetPluginFactoryOptions, v as Plugin, w as PluginWithLifeCycle, x as PluginLifecycle, y as PluginContext, z as DefineStorage } from "./PluginManager-vZodFEMe.js";
|
|
3
3
|
import { definePrinter } from "@kubb/ast";
|
|
4
|
-
import { Fabric } from "@kubb/
|
|
4
|
+
import { Fabric, KubbFile } from "@kubb/fabric-core/types";
|
|
5
5
|
import { Node } from "@kubb/ast/types";
|
|
6
|
-
import { KubbFile } from "@kubb/fabric-core/types";
|
|
7
6
|
|
|
8
7
|
//#region src/build.d.ts
|
|
9
8
|
type BuildOptions = {
|
|
@@ -318,7 +317,7 @@ type FilterItem = {
|
|
|
318
317
|
pattern: string | RegExp;
|
|
319
318
|
};
|
|
320
319
|
type OverrideItem<TOptions> = FilterItem & {
|
|
321
|
-
options: Partial<TOptions>;
|
|
320
|
+
options: Omit<Partial<TOptions>, 'override'>;
|
|
322
321
|
};
|
|
323
322
|
type ResolveOptionsContext<TOptions> = {
|
|
324
323
|
options: TOptions;
|
package/dist/index.js
CHANGED