@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.cjs +3 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -6
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
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.
|
|
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
|
-
|
|
128
|
-
input: {
|
|
129
|
-
path: '${inputPath}',
|
|
130
|
-
},
|
|
127
|
+
input: '${inputPath}',
|
|
131
128
|
output: {
|
|
132
129
|
path: '${outputPath}',
|
|
133
130
|
clean: true,
|