@kubb/plugin-mcp 3.17.1 → 3.18.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/{OperationGenerator-D1X1O_-A.d.ts → OperationGenerator-BfGvlSM8.d.cts} +22 -1
- package/dist/{OperationGenerator-BMJ9Szu5.d.cts → OperationGenerator-C-JRX2db.d.ts} +22 -1
- 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.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-Dg5mHzgC.d.cts → types-BaQXdwM0.d.cts} +2 -2
- package/dist/{types-DLgrsgaK.d.ts → types-kxPXUmDf.d.ts} +2 -2
- package/package.json +9 -9
|
@@ -235,6 +235,27 @@ type Config<TInput = Input> = {
|
|
|
235
235
|
* @default true
|
|
236
236
|
*/
|
|
237
237
|
write?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Specifies the formatting tool to be used.
|
|
240
|
+
* @default prettier
|
|
241
|
+
*
|
|
242
|
+
* Possible values:
|
|
243
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
244
|
+
* - 'biome': Uses Biome for code formatting.
|
|
245
|
+
*
|
|
246
|
+
*/
|
|
247
|
+
format?: 'prettier' | 'biome' | false;
|
|
248
|
+
/**
|
|
249
|
+
* Specifies the linter that should be used to analyze the code.
|
|
250
|
+
* The accepted values indicate different linting tools.
|
|
251
|
+
*
|
|
252
|
+
* Possible values:
|
|
253
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
254
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
255
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
238
259
|
/**
|
|
239
260
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
240
261
|
* @default { '.ts': '.ts'}
|
|
@@ -1108,4 +1129,4 @@ declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = P
|
|
|
1108
1129
|
}
|
|
1109
1130
|
//#endregion
|
|
1110
1131
|
export { Exclude$1 as Exclude, File, Generator, Group, Include, Oas, OperationSchemas, Output, Override, PluginFactoryOptions, ResolveNameParams, ResolvePathOptions, UserPluginWithLifeCycle, contentType };
|
|
1111
|
-
//# sourceMappingURL=OperationGenerator-
|
|
1132
|
+
//# sourceMappingURL=OperationGenerator-BfGvlSM8.d.cts.map
|
|
@@ -235,6 +235,27 @@ type Config<TInput = Input> = {
|
|
|
235
235
|
* @default true
|
|
236
236
|
*/
|
|
237
237
|
write?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Specifies the formatting tool to be used.
|
|
240
|
+
* @default prettier
|
|
241
|
+
*
|
|
242
|
+
* Possible values:
|
|
243
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
244
|
+
* - 'biome': Uses Biome for code formatting.
|
|
245
|
+
*
|
|
246
|
+
*/
|
|
247
|
+
format?: 'prettier' | 'biome' | false;
|
|
248
|
+
/**
|
|
249
|
+
* Specifies the linter that should be used to analyze the code.
|
|
250
|
+
* The accepted values indicate different linting tools.
|
|
251
|
+
*
|
|
252
|
+
* Possible values:
|
|
253
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
254
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
255
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
238
259
|
/**
|
|
239
260
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
240
261
|
* @default { '.ts': '.ts'}
|
|
@@ -1108,4 +1129,4 @@ declare class OperationGenerator<TPluginOptions extends PluginFactoryOptions = P
|
|
|
1108
1129
|
}
|
|
1109
1130
|
//#endregion
|
|
1110
1131
|
export { Exclude$1 as Exclude, File, Generator, Group, Include, Oas, OperationSchemas, Output, Override, PluginFactoryOptions, ResolveNameParams, ResolvePathOptions, UserPluginWithLifeCycle, contentType };
|
|
1111
|
-
//# sourceMappingURL=OperationGenerator-
|
|
1132
|
+
//# sourceMappingURL=OperationGenerator-C-JRX2db.d.ts.map
|
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Generator } from "./OperationGenerator-
|
|
2
|
-
import { PluginMcp } from "./types-
|
|
1
|
+
import { Generator } from "./OperationGenerator-BfGvlSM8.cjs";
|
|
2
|
+
import { PluginMcp } from "./types-BaQXdwM0.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: Generator<PluginMcp>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Generator } from "./OperationGenerator-
|
|
2
|
-
import { PluginMcp } from "./types-
|
|
1
|
+
import { Generator } from "./OperationGenerator-C-JRX2db.js";
|
|
2
|
+
import { PluginMcp } from "./types-kxPXUmDf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: Generator<PluginMcp>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UserPluginWithLifeCycle } from "./OperationGenerator-
|
|
2
|
-
import { Options, PluginMcp } from "./types-
|
|
1
|
+
import { UserPluginWithLifeCycle } from "./OperationGenerator-BfGvlSM8.cjs";
|
|
2
|
+
import { Options, PluginMcp } from "./types-BaQXdwM0.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 { UserPluginWithLifeCycle } from "./OperationGenerator-
|
|
2
|
-
import { Options, PluginMcp } from "./types-
|
|
1
|
+
import { UserPluginWithLifeCycle } from "./OperationGenerator-C-JRX2db.js";
|
|
2
|
+
import { Options, PluginMcp } from "./types-kxPXUmDf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMcpName = "plugin-mcp";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Exclude, Generator, Group, Include, Oas, Output, Override, PluginFactoryOptions, ResolveNameParams, ResolvePathOptions, contentType } from "./OperationGenerator-
|
|
1
|
+
import { Exclude, Generator, Group, Include, Oas, Output, Override, PluginFactoryOptions, ResolveNameParams, ResolvePathOptions, contentType } from "./OperationGenerator-BfGvlSM8.cjs";
|
|
2
2
|
|
|
3
3
|
//#region ../plugin-client/src/types.d.ts
|
|
4
4
|
type Options$1 = {
|
|
@@ -165,4 +165,4 @@ type ResolvedOptions = {
|
|
|
165
165
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { Options, PluginMcp };
|
|
168
|
-
//# sourceMappingURL=types-
|
|
168
|
+
//# sourceMappingURL=types-BaQXdwM0.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Exclude, Generator, Group, Include, Oas, Output, Override, PluginFactoryOptions, ResolveNameParams, ResolvePathOptions, contentType } from "./OperationGenerator-
|
|
1
|
+
import { Exclude, Generator, Group, Include, Oas, Output, Override, PluginFactoryOptions, ResolveNameParams, ResolvePathOptions, contentType } from "./OperationGenerator-C-JRX2db.js";
|
|
2
2
|
|
|
3
3
|
//#region ../plugin-client/src/types.d.ts
|
|
4
4
|
type Options$1 = {
|
|
@@ -165,4 +165,4 @@ type ResolvedOptions = {
|
|
|
165
165
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { Options, PluginMcp };
|
|
168
|
-
//# sourceMappingURL=types-
|
|
168
|
+
//# sourceMappingURL=types-kxPXUmDf.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-mcp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "Generator mcp",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -62,20 +62,20 @@
|
|
|
62
62
|
"!/**/__tests__/**"
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@kubb/core": "3.
|
|
66
|
-
"@kubb/oas": "3.
|
|
67
|
-
"@kubb/plugin-client": "3.
|
|
68
|
-
"@kubb/plugin-
|
|
69
|
-
"@kubb/plugin-
|
|
70
|
-
"@kubb/plugin-zod": "3.
|
|
71
|
-
"@kubb/react": "3.
|
|
65
|
+
"@kubb/core": "3.18.0",
|
|
66
|
+
"@kubb/oas": "3.18.0",
|
|
67
|
+
"@kubb/plugin-client": "3.18.0",
|
|
68
|
+
"@kubb/plugin-ts": "3.18.0",
|
|
69
|
+
"@kubb/plugin-oas": "3.18.0",
|
|
70
|
+
"@kubb/plugin-zod": "3.18.0",
|
|
71
|
+
"@kubb/react": "3.18.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@types/react": "^18.3.23",
|
|
75
75
|
"react": "^18.3.1",
|
|
76
76
|
"tsdown": "^0.14.1",
|
|
77
77
|
"typescript": "^5.9.2",
|
|
78
|
-
"@kubb/config-ts": "3.
|
|
78
|
+
"@kubb/config-ts": "3.18.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@kubb/react": "^3.0.0"
|