@ahmedrowaihi/8n 6.0.13 → 6.0.14

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.13";
3677
+ const current = "6.0.14";
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
  }
@@ -3721,8 +3721,8 @@ async function resolveProject() {
3721
3721
  contentDir: resolve(process.cwd(), config.content ?? "./content")
3722
3722
  };
3723
3723
  }
3724
- async function runNext(cmd, env) {
3725
- await x(getNextBin(), [cmd], { nodeOptions: {
3724
+ async function runNext(cmd, env, flags = []) {
3725
+ await x(getNextBin(), [cmd, ...flags], { nodeOptions: {
3726
3726
  cwd: getStarterDir(),
3727
3727
  stdio: "inherit",
3728
3728
  env
@@ -3769,14 +3769,14 @@ async function dev() {
3769
3769
  //#region src/commands/build.ts
3770
3770
  async function build({ server = false } = {}) {
3771
3771
  const { config, contentDir } = await resolveProject();
3772
- console.log(pc.cyan("8n") + pc.dim(` v6.0.13 build → ${contentDir}`));
3772
+ console.log(pc.cyan("8n") + pc.dim(` v6.0.14 build → ${contentDir}`));
3773
3773
  await ensureDepsInstalled();
3774
3774
  syncPublicDir(process.cwd());
3775
3775
  await runNext("build", buildEnv({
3776
3776
  config,
3777
3777
  contentDir,
3778
3778
  staticExport: !server
3779
- }));
3779
+ }), server ? ["--webpack"] : []);
3780
3780
  console.log(pc.green("✓") + pc.dim(` build complete → ${server ? ".next/" : "out/"}`));
3781
3781
  }
3782
3782
 
@@ -3959,7 +3959,7 @@ async function mcp() {
3959
3959
  const mcpDir = join(getStarterDir(), "content", "mcp", "en");
3960
3960
  const server = new McpServer({
3961
3961
  name: "8n",
3962
- version: "6.0.13"
3962
+ version: "6.0.14"
3963
3963
  });
3964
3964
  server.registerTool("read_me", {
3965
3965
  description: "Returns how to use the 8n MCP tools. Call this BEFORE documenting anything with 8n.",
@@ -4100,7 +4100,7 @@ Example: get_component({ name: "components" }) returns all available MDX compone
4100
4100
 
4101
4101
  //#endregion
4102
4102
  //#region src/index.ts
4103
- const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.13").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
4103
+ const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.14").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
4104
4104
  if (cmd.opts().debug) process.env.DEBUG_8N = "1";
4105
4105
  });
4106
4106
  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.13"
33
+ "version": "6.0.14"
34
34
  }
@@ -106,5 +106,5 @@
106
106
  "tsx": "^4.21.0",
107
107
  "typescript": "^5.9.3"
108
108
  },
109
- "version": "6.0.13"
109
+ "version": "6.0.14"
110
110
  }