@ahmedrowaihi/8n 6.0.18 → 6.0.19
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 +5 -5
- 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.19";
|
|
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
|
}
|
|
@@ -3773,7 +3773,7 @@ async function dev() {
|
|
|
3773
3773
|
//#region src/commands/build.ts
|
|
3774
3774
|
async function build({ server = false } = {}) {
|
|
3775
3775
|
const { config, contentDir } = await resolveProject();
|
|
3776
|
-
console.log(pc.cyan("8n") + pc.dim(` v6.0.
|
|
3776
|
+
console.log(pc.cyan("8n") + pc.dim(` v6.0.19 build → ${contentDir}`));
|
|
3777
3777
|
await ensureDepsInstalled();
|
|
3778
3778
|
syncPublicDir(process.cwd());
|
|
3779
3779
|
await runNext("build", buildEnv({
|
|
@@ -3901,7 +3901,7 @@ function scaffold(targetDir) {
|
|
|
3901
3901
|
"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`,
|
|
3902
3902
|
"vercel.json": JSON.stringify({
|
|
3903
3903
|
framework: "nextjs",
|
|
3904
|
-
installCommand: "npm install && 8n install",
|
|
3904
|
+
installCommand: "npm install && npx 8n install",
|
|
3905
3905
|
buildCommand: "8n build --server"
|
|
3906
3906
|
}, null, 2) + "\n"
|
|
3907
3907
|
};
|
|
@@ -3971,7 +3971,7 @@ async function mcp() {
|
|
|
3971
3971
|
const mcpDir = join(getStarterDir(), "content", "mcp", "en");
|
|
3972
3972
|
const server = new McpServer({
|
|
3973
3973
|
name: "8n",
|
|
3974
|
-
version: "6.0.
|
|
3974
|
+
version: "6.0.19"
|
|
3975
3975
|
});
|
|
3976
3976
|
server.registerTool("read_me", {
|
|
3977
3977
|
description: "Returns how to use the 8n MCP tools. Call this BEFORE documenting anything with 8n.",
|
|
@@ -4112,7 +4112,7 @@ Example: get_component({ name: "components" }) returns all available MDX compone
|
|
|
4112
4112
|
|
|
4113
4113
|
//#endregion
|
|
4114
4114
|
//#region src/index.ts
|
|
4115
|
-
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.
|
|
4115
|
+
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.19").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
|
|
4116
4116
|
if (cmd.opts().debug) process.env.DEBUG_8N = "1";
|
|
4117
4117
|
});
|
|
4118
4118
|
program.command("init").description("Scaffold a new docs project in the current directory").action(init);
|
package/package.json
CHANGED
package/starter/package.json
CHANGED