@ahmedrowaihi/8n 6.0.8 → 6.0.9

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/adapter.cjs CHANGED
@@ -8,12 +8,14 @@ const adapter = {
8
8
  if (phase !== "phase-production-build") return config;
9
9
  const basePath = process.env.NEXT_BASE_PATH || "";
10
10
  const staticExport = process.env.NEXT_STATIC_EXPORT === "true";
11
+ const starterDir = (0, node_path.join)(__dirname, "../starter");
11
12
  return {
12
13
  ...config,
13
14
  ...staticExport ? {
14
15
  output: "export",
15
16
  trailingSlash: true
16
17
  } : {},
18
+ ...!staticExport ? { outputFileTracingRoot: starterDir } : {},
17
19
  ...basePath ? {
18
20
  basePath,
19
21
  assetPrefix: basePath
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.8";
3677
+ const current = "6.0.9";
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
  }
@@ -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.8"
3962
+ version: "6.0.9"
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.8").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
4103
+ const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.9").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.8"
33
+ "version": "6.0.9"
34
34
  }
@@ -106,5 +106,5 @@
106
106
  "tsx": "^4.21.0",
107
107
  "typescript": "^5.9.3"
108
108
  },
109
- "version": "6.0.8"
109
+ "version": "6.0.9"
110
110
  }