@ahmedrowaihi/8n 6.0.6 → 6.0.7

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.mjs CHANGED
@@ -3674,7 +3674,7 @@ async function checkSelfUpdate() {
3674
3674
  });
3675
3675
  if (!res.ok) return;
3676
3676
  const { version: latest } = await res.json();
3677
- const current = "6.0.6";
3677
+ const current = "6.0.7";
3678
3678
  if (latest !== current) console.log(pc.yellow("⚠") + pc.dim(` new version available: `) + pc.cyan(latest) + pc.dim(` (current: ${current}) — run `) + pc.cyan("npm i -g @ahmedrowaihi/8n") + pc.dim(" to update"));
3679
3679
  } catch {}
3680
3680
  }
@@ -3884,7 +3884,10 @@ function scaffold(targetDir) {
3884
3884
  build: "8n build",
3885
3885
  start: "8n start"
3886
3886
  },
3887
- dependencies: { "@ahmedrowaihi/8n": "latest" }
3887
+ dependencies: {
3888
+ "@ahmedrowaihi/8n": "latest",
3889
+ "next": "^16.2.0"
3890
+ }
3888
3891
  }, null, 2) + "\n",
3889
3892
  "next.config.mjs": `// Required for Vercel to detect the Next.js framework.\n// The actual Next.js app is built by the 8n CLI internally.\nexport default {};\n`,
3890
3893
  "vercel.json": JSON.stringify({
@@ -3951,7 +3954,7 @@ async function mcp() {
3951
3954
  const mcpDir = join(getStarterDir(), "content", "mcp", "en");
3952
3955
  const server = new McpServer({
3953
3956
  name: "8n",
3954
- version: "6.0.6"
3957
+ version: "6.0.7"
3955
3958
  });
3956
3959
  server.registerTool("read_me", {
3957
3960
  description: "Returns how to use the 8n MCP tools. Call this BEFORE documenting anything with 8n.",
@@ -4092,7 +4095,7 @@ Example: get_component({ name: "components" }) returns all available MDX compone
4092
4095
 
4093
4096
  //#endregion
4094
4097
  //#region src/index.ts
4095
- const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.6").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
4098
+ const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.7").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
4096
4099
  if (cmd.opts().debug) process.env.DEBUG_8N = "1";
4097
4100
  });
4098
4101
  program.command("init").description("Scaffold a new docs project in the current directory").action(init);
package/package.json CHANGED
@@ -30,5 +30,5 @@
30
30
  "typescript": "^5.9.3",
31
31
  "zod": "^4.3.6"
32
32
  },
33
- "version": "6.0.6"
33
+ "version": "6.0.7"
34
34
  }
@@ -106,5 +106,5 @@
106
106
  "tsx": "^4.21.0",
107
107
  "typescript": "^5.9.3"
108
108
  },
109
- "version": "6.0.6"
109
+ "version": "6.0.7"
110
110
  }