@kubb/mcp 5.0.0-beta.94 → 5.0.0-beta.95

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.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { n as __name } from "./rolldown-runtime-G2anUtha.js";
2
2
  import { McpServer } from "tmcp";
3
-
4
3
  //#region src/server.d.ts
5
4
  /**
6
5
  * Builds the Kubb MCP server with the generate, validate, and init tools registered.
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import fs, { existsSync } from "node:fs";
11
11
  import path from "node:path";
12
12
  import process$1 from "node:process";
13
13
  //#region package.json
14
- var version = "5.0.0-beta.94";
14
+ var version = "5.0.0-beta.95";
15
15
  //#endregion
16
16
  //#region src/schemas/generateSchema.ts
17
17
  const generateSchema = v.object({
@@ -120,14 +120,11 @@ function resolvePlugins(pluginsFlag) {
120
120
  return availablePlugins.filter((plugin) => requested.includes(plugin.value));
121
121
  }
122
122
  function generateConfigFile({ selectedPlugins, inputPath, outputPath }) {
123
- return `import { defineConfig } from 'kubb'
123
+ return `import { defineConfig } from 'kubb/config'
124
124
  ${selectedPlugins.map((plugin) => `import { ${plugin.importName} } from '${plugin.packageName}'`).join("\n")}
125
125
 
126
126
  export default defineConfig({
127
- root: '.',
128
- input: {
129
- path: '${inputPath}',
130
- },
127
+ input: '${inputPath}',
131
128
  output: {
132
129
  path: '${outputPath}',
133
130
  clean: true,