nextjs-hackathon-stack 0.1.34 → 0.1.35

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 CHANGED
@@ -307,6 +307,20 @@ async function scaffold(projectName, skipInstall, skipMcp = false, template = "e
307
307
  spinner2.stop("mcp-memory-service installation failed");
308
308
  p3.log.warn("Install manually: pip install mcp-memory-service");
309
309
  }
310
+ const mcpFiles = [
311
+ join(targetDir, ".cursor", "mcp.json"),
312
+ join(targetDir, ".mcp.json")
313
+ ];
314
+ try {
315
+ const memoryBinPath = execSync("which memory", { stdio: "pipe" }).toString().trim();
316
+ for (const mcpFile of mcpFiles) {
317
+ if (existsSync(mcpFile)) {
318
+ const content = readFileSync(mcpFile, "utf-8");
319
+ writeFileSync(mcpFile, content.replace('"command": "memory"', `"command": "${memoryBinPath}"`));
320
+ }
321
+ }
322
+ } catch {
323
+ }
310
324
  }
311
325
  success(pc2.bold(`\xA1Proyecto "${projectName}" creado!`));
312
326
  console.log(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-hackathon-stack",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "Scaffold a full-stack Next.js hackathon starter",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "mcpServers": {
3
3
  "memory": {
4
- "command": "python3",
5
- "args": ["-m", "mcp_memory_service", "server"]
4
+ "command": "memory",
5
+ "args": ["server"]
6
6
  }
7
7
  }
8
8
  }