@kubb/plugin-mcp 4.12.15 → 4.13.0
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/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +2 -2
- package/dist/generators.d.ts +2 -2
- package/dist/{index-DnnFiASz.d.ts → index-BTxiFtLf.d.cts} +6 -4
- package/dist/{index-CnNiIJVB.d.cts → index-CBqa0LV5.d.ts} +6 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-D_6wzGUe.d.cts → types-BSHA4r7i.d.cts} +2 -2
- package/dist/{types-CEMJUkpC.d.ts → types-C-T02h7R.d.ts} +2 -2
- package/package.json +8 -8
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ReactGenerator } from "./index-
|
|
2
|
-
import { n as PluginMcp } from "./types-
|
|
1
|
+
import { n as ReactGenerator } from "./index-BTxiFtLf.cjs";
|
|
2
|
+
import { n as PluginMcp } from "./types-BSHA4r7i.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: ReactGenerator<PluginMcp>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ReactGenerator } from "./index-
|
|
2
|
-
import { n as PluginMcp } from "./types-
|
|
1
|
+
import { n as ReactGenerator } from "./index-CBqa0LV5.js";
|
|
2
|
+
import { n as PluginMcp } from "./types-C-T02h7R.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: ReactGenerator<PluginMcp>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
1
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
2
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
3
3
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
4
4
|
import BaseOas from "oas";
|
|
5
5
|
import { Operation } from "oas/operation";
|
|
@@ -320,22 +320,24 @@ type Config<TInput = Input> = {
|
|
|
320
320
|
* @default prettier
|
|
321
321
|
*
|
|
322
322
|
* Possible values:
|
|
323
|
+
* - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
|
|
323
324
|
* - 'prettier': Uses Prettier for code formatting.
|
|
324
325
|
* - 'biome': Uses Biome for code formatting.
|
|
325
326
|
*
|
|
326
327
|
*/
|
|
327
|
-
format?: 'prettier' | 'biome' | false;
|
|
328
|
+
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
328
329
|
/**
|
|
329
330
|
* Specifies the linter that should be used to analyze the code.
|
|
330
331
|
* The accepted values indicate different linting tools.
|
|
331
332
|
*
|
|
332
333
|
* Possible values:
|
|
334
|
+
* - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
|
|
333
335
|
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
334
336
|
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
335
337
|
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
336
338
|
*
|
|
337
339
|
*/
|
|
338
|
-
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
340
|
+
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
|
|
339
341
|
/**
|
|
340
342
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
341
343
|
* @default { '.ts': '.ts'}
|
|
@@ -1159,4 +1161,4 @@ type CoreGenerator<TOptions extends PluginFactoryOptions> = {
|
|
|
1159
1161
|
};
|
|
1160
1162
|
//#endregion
|
|
1161
1163
|
export { OperationSchemas as a, Oas as c, Output as d, PluginFactoryOptions as f, Include as i, contentType as l, UserPluginWithLifeCycle as m, ReactGenerator as n, Override as o, ResolveNameParams as p, Exclude$1 as r, ResolvePathOptions as s, Generator as t, Group as u };
|
|
1162
|
-
//# sourceMappingURL=index-
|
|
1164
|
+
//# sourceMappingURL=index-BTxiFtLf.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KubbFile } from "@kubb/fabric-core/types";
|
|
2
1
|
import { Fabric } from "@kubb/react-fabric";
|
|
2
|
+
import { KubbFile } from "@kubb/fabric-core/types";
|
|
3
3
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
4
4
|
import BaseOas from "oas";
|
|
5
5
|
import { Operation } from "oas/operation";
|
|
@@ -320,22 +320,24 @@ type Config<TInput = Input> = {
|
|
|
320
320
|
* @default prettier
|
|
321
321
|
*
|
|
322
322
|
* Possible values:
|
|
323
|
+
* - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
|
|
323
324
|
* - 'prettier': Uses Prettier for code formatting.
|
|
324
325
|
* - 'biome': Uses Biome for code formatting.
|
|
325
326
|
*
|
|
326
327
|
*/
|
|
327
|
-
format?: 'prettier' | 'biome' | false;
|
|
328
|
+
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
328
329
|
/**
|
|
329
330
|
* Specifies the linter that should be used to analyze the code.
|
|
330
331
|
* The accepted values indicate different linting tools.
|
|
331
332
|
*
|
|
332
333
|
* Possible values:
|
|
334
|
+
* - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
|
|
333
335
|
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
334
336
|
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
335
337
|
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
336
338
|
*
|
|
337
339
|
*/
|
|
338
|
-
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
340
|
+
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
|
|
339
341
|
/**
|
|
340
342
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
341
343
|
* @default { '.ts': '.ts'}
|
|
@@ -1159,4 +1161,4 @@ type CoreGenerator<TOptions extends PluginFactoryOptions> = {
|
|
|
1159
1161
|
};
|
|
1160
1162
|
//#endregion
|
|
1161
1163
|
export { OperationSchemas as a, Oas as c, Output as d, PluginFactoryOptions as f, Include as i, contentType as l, UserPluginWithLifeCycle as m, ReactGenerator as n, Override as o, ResolveNameParams as p, Exclude$1 as r, ResolvePathOptions as s, Generator as t, Group as u };
|
|
1162
|
-
//# sourceMappingURL=index-
|
|
1164
|
+
//# sourceMappingURL=index-CBqa0LV5.d.ts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as UserPluginWithLifeCycle } from "./index-
|
|
2
|
-
import { n as PluginMcp, t as Options } from "./types-
|
|
1
|
+
import { m as UserPluginWithLifeCycle } from "./index-BTxiFtLf.cjs";
|
|
2
|
+
import { n as PluginMcp, t as Options } from "./types-BSHA4r7i.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMcpName = "plugin-mcp";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as UserPluginWithLifeCycle } from "./index-
|
|
2
|
-
import { n as PluginMcp, t as Options } from "./types-
|
|
1
|
+
import { m as UserPluginWithLifeCycle } from "./index-CBqa0LV5.js";
|
|
2
|
+
import { n as PluginMcp, t as Options } from "./types-C-T02h7R.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMcpName = "plugin-mcp";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-
|
|
1
|
+
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-BTxiFtLf.cjs";
|
|
2
2
|
|
|
3
3
|
//#region ../plugin-client/src/types.d.ts
|
|
4
4
|
|
|
@@ -180,4 +180,4 @@ type ResolvedOptions = {
|
|
|
180
180
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
181
181
|
//#endregion
|
|
182
182
|
export { PluginMcp as n, Options as t };
|
|
183
|
-
//# sourceMappingURL=types-
|
|
183
|
+
//# sourceMappingURL=types-BSHA4r7i.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-
|
|
1
|
+
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-CBqa0LV5.js";
|
|
2
2
|
|
|
3
3
|
//#region ../plugin-client/src/types.d.ts
|
|
4
4
|
|
|
@@ -180,4 +180,4 @@ type ResolvedOptions = {
|
|
|
180
180
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
181
181
|
//#endregion
|
|
182
182
|
export { PluginMcp as n, Options as t };
|
|
183
|
-
//# sourceMappingURL=types-
|
|
183
|
+
//# sourceMappingURL=types-C-T02h7R.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-mcp",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.0",
|
|
4
4
|
"description": "Generator mcp",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@kubb/react-fabric": "0.
|
|
73
|
-
"@kubb/core": "4.
|
|
74
|
-
"@kubb/
|
|
75
|
-
"@kubb/
|
|
76
|
-
"@kubb/plugin-oas": "4.
|
|
77
|
-
"@kubb/plugin-ts": "4.
|
|
78
|
-
"@kubb/plugin-zod": "4.
|
|
72
|
+
"@kubb/react-fabric": "0.9.0",
|
|
73
|
+
"@kubb/core": "4.13.0",
|
|
74
|
+
"@kubb/plugin-client": "4.13.0",
|
|
75
|
+
"@kubb/oas": "4.13.0",
|
|
76
|
+
"@kubb/plugin-oas": "4.13.0",
|
|
77
|
+
"@kubb/plugin-ts": "4.13.0",
|
|
78
|
+
"@kubb/plugin-zod": "4.13.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {},
|
|
81
81
|
"engines": {
|