@kubb/plugin-mcp 3.17.1 → 3.18.1

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.
@@ -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-D1X1O_-A.d.ts.map
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-BMJ9Szu5.d.cts.map
1132
+ //# sourceMappingURL=OperationGenerator-C-JRX2db.d.ts.map
@@ -1,4 +1,4 @@
1
- import { File, OperationSchemas } from "./OperationGenerator-BMJ9Szu5.cjs";
1
+ import { File, OperationSchemas } from "./OperationGenerator-BfGvlSM8.cjs";
2
2
 
3
3
  //#region src/components/Server.d.ts
4
4
  type Props = {
@@ -1,4 +1,4 @@
1
- import { File, OperationSchemas } from "./OperationGenerator-D1X1O_-A.js";
1
+ import { File, OperationSchemas } from "./OperationGenerator-C-JRX2db.js";
2
2
 
3
3
  //#region src/components/Server.d.ts
4
4
  type Props = {
@@ -1,5 +1,5 @@
1
- import { Generator } from "./OperationGenerator-BMJ9Szu5.cjs";
2
- import { PluginMcp } from "./types-Dg5mHzgC.cjs";
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>;
@@ -1,5 +1,5 @@
1
- import { Generator } from "./OperationGenerator-D1X1O_-A.js";
2
- import { PluginMcp } from "./types-DLgrsgaK.js";
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-BMJ9Szu5.cjs";
2
- import { Options, PluginMcp } from "./types-Dg5mHzgC.cjs";
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-D1X1O_-A.js";
2
- import { Options, PluginMcp } from "./types-DLgrsgaK.js";
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-BMJ9Szu5.cjs";
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-Dg5mHzgC.d.cts.map
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-D1X1O_-A.js";
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-DLgrsgaK.d.ts.map
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.17.1",
3
+ "version": "3.18.1",
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.17.1",
66
- "@kubb/oas": "3.17.1",
67
- "@kubb/plugin-client": "3.17.1",
68
- "@kubb/plugin-oas": "3.17.1",
69
- "@kubb/plugin-ts": "3.17.1",
70
- "@kubb/plugin-zod": "3.17.1",
71
- "@kubb/react": "3.17.1"
65
+ "@kubb/core": "3.18.1",
66
+ "@kubb/oas": "3.18.1",
67
+ "@kubb/plugin-client": "3.18.1",
68
+ "@kubb/plugin-oas": "3.18.1",
69
+ "@kubb/plugin-ts": "3.18.1",
70
+ "@kubb/plugin-zod": "3.18.1",
71
+ "@kubb/react": "3.18.1"
72
72
  },
73
73
  "devDependencies": {
74
- "@types/react": "^18.3.23",
74
+ "@types/react": "^18.3.24",
75
75
  "react": "^18.3.1",
76
76
  "tsdown": "^0.14.1",
77
77
  "typescript": "^5.9.2",
78
- "@kubb/config-ts": "3.17.1"
78
+ "@kubb/config-ts": "3.18.1"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@kubb/react": "^3.0.0"