@ahmedrowaihi/8n 6.0.1 → 6.0.2
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/cli/index.mjs +3 -3
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -48,7 +48,7 @@ async function checkSelfUpdate() {
|
|
|
48
48
|
});
|
|
49
49
|
if (!res.ok) return;
|
|
50
50
|
const { version: latest } = await res.json();
|
|
51
|
-
const current = "6.0.
|
|
51
|
+
const current = "6.0.2";
|
|
52
52
|
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"));
|
|
53
53
|
} catch {}
|
|
54
54
|
}
|
|
@@ -301,7 +301,7 @@ async function mcp() {
|
|
|
301
301
|
const mcpDir = join(getPackageRoot(), "content", "mcp", "en");
|
|
302
302
|
const server = new McpServer({
|
|
303
303
|
name: "8n",
|
|
304
|
-
version: "6.0.
|
|
304
|
+
version: "6.0.2"
|
|
305
305
|
});
|
|
306
306
|
server.registerTool("read_me", {
|
|
307
307
|
description: "Returns how to use the 8n MCP tools. Call this BEFORE documenting anything with 8n.",
|
|
@@ -442,7 +442,7 @@ Example: get_component({ name: "components" }) returns all available MDX compone
|
|
|
442
442
|
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region src/cli/index.ts
|
|
445
|
-
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.
|
|
445
|
+
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.2").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
|
|
446
446
|
if (cmd.opts().debug) process.env.DEBUG_8N = "1";
|
|
447
447
|
});
|
|
448
448
|
program.command("init").description("Scaffold a new docs project in the current directory").action(init);
|
package/package.json
CHANGED