create-bodhi-js 0.9.0 → 0.10.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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33,8 +33,9 @@ var TEMPLATE_FILES = [
|
|
|
33
33
|
];
|
|
34
34
|
async function processTemplates(targetDir, vars) {
|
|
35
35
|
const mcpServers = vars.mcpServers ?? [];
|
|
36
|
-
const
|
|
37
|
-
|
|
36
|
+
const mcpBuilderCalls = mcpServers.map((url) => `
|
|
37
|
+
.addMcpServer('${url}')`).join("");
|
|
38
|
+
const templateVars = { ...vars, mcpBuilderCalls };
|
|
38
39
|
for (const file of TEMPLATE_FILES) {
|
|
39
40
|
const filePath = path.join(targetDir, file);
|
|
40
41
|
try {
|