@kubb/mcp 5.0.0-beta.94 → 5.0.0-beta.96
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 +6 -6
package/dist/index.cjs
CHANGED
|
@@ -38,7 +38,7 @@ let node_module = require("node:module");
|
|
|
38
38
|
let node_process = require("node:process");
|
|
39
39
|
node_process = __toESM(node_process, 1);
|
|
40
40
|
//#region package.json
|
|
41
|
-
var version = "5.0.0-beta.
|
|
41
|
+
var version = "5.0.0-beta.96";
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/schemas/generateSchema.ts
|
|
44
44
|
const generateSchema = valibot.object({
|
|
@@ -147,14 +147,11 @@ function resolvePlugins(pluginsFlag) {
|
|
|
147
147
|
return availablePlugins.filter((plugin) => requested.includes(plugin.value));
|
|
148
148
|
}
|
|
149
149
|
function generateConfigFile({ selectedPlugins, inputPath, outputPath }) {
|
|
150
|
-
return `import { defineConfig } from 'kubb'
|
|
150
|
+
return `import { defineConfig } from 'kubb/config'
|
|
151
151
|
${selectedPlugins.map((plugin) => `import { ${plugin.importName} } from '${plugin.packageName}'`).join("\n")}
|
|
152
152
|
|
|
153
153
|
export default defineConfig({
|
|
154
|
-
|
|
155
|
-
input: {
|
|
156
|
-
path: '${inputPath}',
|
|
157
|
-
},
|
|
154
|
+
input: '${inputPath}',
|
|
158
155
|
output: {
|
|
159
156
|
path: '${outputPath}',
|
|
160
157
|
clean: true,
|