@ahmedrowaihi/8n 6.0.25 → 6.0.26
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 +4 -4
- package/package.json +1 -1
- package/starter/package.json +1 -1
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.
|
|
3677
|
+
const current = "6.0.26";
|
|
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
|
}
|
|
@@ -3811,7 +3811,7 @@ async function dev() {
|
|
|
3811
3811
|
async function build({ server = false } = {}) {
|
|
3812
3812
|
const { config, contentDir } = await resolveProject();
|
|
3813
3813
|
const projectDir = process.cwd();
|
|
3814
|
-
console.log(pc.cyan("8n") + pc.dim(` v6.0.
|
|
3814
|
+
console.log(pc.cyan("8n") + pc.dim(` v6.0.26 build → ${contentDir}`));
|
|
3815
3815
|
syncPublicDir(projectDir);
|
|
3816
3816
|
if (server) {
|
|
3817
3817
|
await copyStarterToProject(projectDir);
|
|
@@ -4022,7 +4022,7 @@ async function mcp() {
|
|
|
4022
4022
|
const mcpDir = join(getStarterDir(), "content", "mcp", "en");
|
|
4023
4023
|
const server = new McpServer({
|
|
4024
4024
|
name: "8n",
|
|
4025
|
-
version: "6.0.
|
|
4025
|
+
version: "6.0.26"
|
|
4026
4026
|
});
|
|
4027
4027
|
server.registerTool("read_me", {
|
|
4028
4028
|
description: "Returns how to use the 8n MCP tools. Call this BEFORE documenting anything with 8n.",
|
|
@@ -4163,7 +4163,7 @@ Example: get_component({ name: "components" }) returns all available MDX compone
|
|
|
4163
4163
|
|
|
4164
4164
|
//#endregion
|
|
4165
4165
|
//#region src/index.ts
|
|
4166
|
-
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.
|
|
4166
|
+
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.26").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
|
|
4167
4167
|
if (cmd.opts().debug) process.env.DEBUG_8N = "1";
|
|
4168
4168
|
});
|
|
4169
4169
|
program.command("init").description("Scaffold a new docs project in the current directory").action(init);
|
package/package.json
CHANGED
package/starter/package.json
CHANGED