@ahmedrowaihi/8n 6.0.3 → 6.0.5
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.
|
|
3677
|
+
const current = "6.0.5";
|
|
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
|
}
|
|
@@ -3945,7 +3945,7 @@ async function mcp() {
|
|
|
3945
3945
|
const mcpDir = join(getStarterDir(), "content", "mcp", "en");
|
|
3946
3946
|
const server = new McpServer({
|
|
3947
3947
|
name: "8n",
|
|
3948
|
-
version: "6.0.
|
|
3948
|
+
version: "6.0.5"
|
|
3949
3949
|
});
|
|
3950
3950
|
server.registerTool("read_me", {
|
|
3951
3951
|
description: "Returns how to use the 8n MCP tools. Call this BEFORE documenting anything with 8n.",
|
|
@@ -4086,7 +4086,7 @@ Example: get_component({ name: "components" }) returns all available MDX compone
|
|
|
4086
4086
|
|
|
4087
4087
|
//#endregion
|
|
4088
4088
|
//#region src/index.ts
|
|
4089
|
-
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.
|
|
4089
|
+
const program = new Command().name("8n").description("Run your 8n docs site").version("6.0.5").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
|
|
4090
4090
|
if (cmd.opts().debug) process.env.DEBUG_8N = "1";
|
|
4091
4091
|
});
|
|
4092
4092
|
program.command("init").description("Scaffold a new docs project in the current directory").action(init);
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches: [main]
|
|
6
6
|
paths:
|
|
7
|
-
-
|
|
7
|
+
- package.json
|
|
8
8
|
workflow_dispatch:
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
@@ -13,6 +13,16 @@ jobs:
|
|
|
13
13
|
steps:
|
|
14
14
|
- uses: actions/checkout@v4
|
|
15
15
|
|
|
16
|
+
- name: Sync version from starter to cli
|
|
17
|
+
run: |
|
|
18
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
19
|
+
node -e "
|
|
20
|
+
const fs = require('fs');
|
|
21
|
+
const pkg = JSON.parse(fs.readFileSync('./cli/package.json', 'utf8'));
|
|
22
|
+
pkg.version = '$VERSION';
|
|
23
|
+
fs.writeFileSync('./cli/package.json', JSON.stringify(pkg, null, 2) + '\n');
|
|
24
|
+
"
|
|
25
|
+
|
|
16
26
|
- name: Check if version is already published
|
|
17
27
|
id: version_check
|
|
18
28
|
run: |
|
package/starter/next.config.mjs
CHANGED
package/starter/package.json
CHANGED