@n8n/node-cli 0.3.0 → 0.4.0
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/README.md +243 -18
- package/dist/build.tsbuildinfo +1 -1
- package/dist/commands/build.js +7 -28
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/dev/index.d.ts +1 -1
- package/dist/commands/dev/index.js +37 -23
- package/dist/commands/dev/index.js.map +1 -1
- package/dist/commands/dev/utils.d.ts +0 -5
- package/dist/commands/dev/utils.js +0 -30
- package/dist/commands/dev/utils.js.map +1 -1
- package/dist/commands/lint.d.ts +9 -0
- package/dist/commands/lint.js +34 -0
- package/dist/commands/lint.js.map +1 -0
- package/dist/commands/new/index.js +34 -5
- package/dist/commands/new/index.js.map +1 -1
- package/dist/commands/new/utils.js +1 -1
- package/dist/commands/new/utils.js.map +1 -1
- package/dist/commands/prerelease.d.ts +8 -0
- package/dist/commands/prerelease.js +20 -0
- package/dist/commands/prerelease.js.map +1 -0
- package/dist/commands/release.d.ts +7 -0
- package/dist/commands/release.js +49 -0
- package/dist/commands/release.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/template/templates/declarative/custom/template/package.json +9 -12
- package/dist/template/templates/declarative/github-issues/template/package.json +9 -12
- package/dist/template/templates/programmatic/example/template/package.json +9 -12
- package/dist/template/templates/shared/default/CHANGELOG.md +0 -0
- package/dist/utils/child-process.d.ts +16 -0
- package/dist/utils/child-process.js +61 -0
- package/dist/utils/child-process.js.map +1 -0
- package/dist/utils/git.d.ts +1 -0
- package/dist/utils/git.js +5 -0
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/package-manager.d.ts +2 -5
- package/dist/utils/package-manager.js +28 -26
- package/dist/utils/package-manager.js.map +1 -1
- package/package.json +2 -10
- package/LICENSE_EE.md +0 -27
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": ""
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "n8n-node build",
|
|
20
|
+
"build:watch": "tsc --watch",
|
|
21
|
+
"dev": "n8n-node dev",
|
|
22
|
+
"lint": "n8n-node lint",
|
|
23
|
+
"lint:fix": "n8n-node lint --fix",
|
|
24
|
+
"release": "n8n-node release",
|
|
25
|
+
"prepublishOnly": "n8n-node prerelease"
|
|
26
|
+
},
|
|
25
27
|
"files": [
|
|
26
28
|
"dist"
|
|
27
29
|
],
|
|
@@ -35,11 +37,6 @@
|
|
|
35
37
|
"dist/nodes/GithubIssues/GithubIssues.node.js"
|
|
36
38
|
]
|
|
37
39
|
},
|
|
38
|
-
"release-it": {
|
|
39
|
-
"hooks": {
|
|
40
|
-
"before:init": "{{packageManager.name}} run lint && {{packageManager.name}} run build"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
40
|
"devDependencies": {
|
|
44
41
|
"@n8n/node-cli": "*",
|
|
45
42
|
"eslint": "9.32.0",
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": ""
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "n8n-node build",
|
|
20
|
+
"build:watch": "tsc --watch",
|
|
21
|
+
"dev": "n8n-node dev",
|
|
22
|
+
"lint": "n8n-node lint",
|
|
23
|
+
"lint:fix": "n8n-node lint --fix",
|
|
24
|
+
"release": "n8n-node release",
|
|
25
|
+
"prepublishOnly": "n8n-node prerelease"
|
|
26
|
+
},
|
|
25
27
|
"files": [
|
|
26
28
|
"dist"
|
|
27
29
|
],
|
|
@@ -32,11 +34,6 @@
|
|
|
32
34
|
"dist/nodes/Example/Example.node.js"
|
|
33
35
|
]
|
|
34
36
|
},
|
|
35
|
-
"release-it": {
|
|
36
|
-
"hooks": {
|
|
37
|
-
"before:init": "{{packageManager.name}} run lint && {{packageManager.name}} run build"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
37
|
"devDependencies": {
|
|
41
38
|
"@n8n/node-cli": "*",
|
|
42
39
|
"eslint": "9.32.0",
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type StdioOptions } from 'node:child_process';
|
|
2
|
+
export declare class ChildProcessError extends Error {
|
|
3
|
+
code: number | null;
|
|
4
|
+
signal: NodeJS.Signals | null;
|
|
5
|
+
constructor(message: string, code: number | null, signal: NodeJS.Signals | null);
|
|
6
|
+
}
|
|
7
|
+
export declare function runCommand(cmd: string, args?: string[], opts?: {
|
|
8
|
+
cwd?: string;
|
|
9
|
+
env?: NodeJS.ProcessEnv;
|
|
10
|
+
stdio?: StdioOptions;
|
|
11
|
+
context?: 'local' | 'global';
|
|
12
|
+
printOutput?: (options: {
|
|
13
|
+
stdout: Buffer[];
|
|
14
|
+
stderr: Buffer[];
|
|
15
|
+
}) => void;
|
|
16
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChildProcessError = void 0;
|
|
4
|
+
exports.runCommand = runCommand;
|
|
5
|
+
const node_child_process_1 = require("node:child_process");
|
|
6
|
+
const package_manager_1 = require("./package-manager");
|
|
7
|
+
class ChildProcessError extends Error {
|
|
8
|
+
constructor(message, code, signal) {
|
|
9
|
+
super(message);
|
|
10
|
+
this.code = code;
|
|
11
|
+
this.signal = signal;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.ChildProcessError = ChildProcessError;
|
|
15
|
+
async function runCommand(cmd, args = [], opts = {}) {
|
|
16
|
+
const packageManager = (await (0, package_manager_1.detectPackageManager)()) ?? 'npm';
|
|
17
|
+
return await new Promise((resolve, reject) => {
|
|
18
|
+
const options = {
|
|
19
|
+
cwd: opts.cwd,
|
|
20
|
+
env: { ...process.env, ...opts.env },
|
|
21
|
+
stdio: opts.stdio ?? ['ignore', 'pipe', 'pipe'],
|
|
22
|
+
};
|
|
23
|
+
const child = opts.context === 'local'
|
|
24
|
+
? (0, node_child_process_1.spawn)(packageManager, ['exec', '--', cmd, ...args], options)
|
|
25
|
+
: (0, node_child_process_1.spawn)(cmd, args, options);
|
|
26
|
+
const stdoutBuffers = [];
|
|
27
|
+
const stderrBuffers = [];
|
|
28
|
+
child.stdout?.on('data', (data) => {
|
|
29
|
+
stdoutBuffers.push(data);
|
|
30
|
+
});
|
|
31
|
+
child.stderr?.on('data', (data) => {
|
|
32
|
+
stderrBuffers.push(data);
|
|
33
|
+
});
|
|
34
|
+
function printOutput() {
|
|
35
|
+
if (opts.printOutput) {
|
|
36
|
+
opts.printOutput({ stdout: stdoutBuffers, stderr: stderrBuffers });
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
for (const buffer of stdoutBuffers) {
|
|
40
|
+
process.stdout.write(buffer);
|
|
41
|
+
}
|
|
42
|
+
for (const buffer of stderrBuffers) {
|
|
43
|
+
process.stderr.write(buffer);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
child.on('error', (error) => {
|
|
47
|
+
printOutput();
|
|
48
|
+
reject(new ChildProcessError(error.message, null, null));
|
|
49
|
+
});
|
|
50
|
+
child.on('close', (code, signal) => {
|
|
51
|
+
if (code === 0) {
|
|
52
|
+
resolve();
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
printOutput();
|
|
56
|
+
reject(new ChildProcessError(`${cmd} exited with code ${code}${signal ? ` (signal: ${signal})` : ''}`, code, signal));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=child-process.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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AC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/utils/git.d.ts
CHANGED
package/dist/utils/git.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tryReadGitUser = tryReadGitUser;
|
|
4
|
+
exports.initGit = initGit;
|
|
4
5
|
const child_process_1 = require("child_process");
|
|
6
|
+
const child_process_2 = require("./child-process");
|
|
5
7
|
function tryReadGitUser() {
|
|
6
8
|
const user = { name: '', email: '' };
|
|
7
9
|
try {
|
|
@@ -28,4 +30,7 @@ function tryReadGitUser() {
|
|
|
28
30
|
}
|
|
29
31
|
return user;
|
|
30
32
|
}
|
|
33
|
+
async function initGit(dir) {
|
|
34
|
+
await (0, child_process_2.runCommand)('git', ['init', '-b', 'main'], { cwd: dir });
|
|
35
|
+
}
|
|
31
36
|
//# sourceMappingURL=git.js.map
|
package/dist/utils/git.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git.js","sourceRoot":"","sources":["../../src/utils/git.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"git.js","sourceRoot":"","sources":["../../src/utils/git.ts"],"names":[],"mappings":";;AASA,wCA0BC;AAED,0BAEC;AAvCD,iDAAyC;AAEzC,mDAA6C;AAO7C,SAAgB,cAAc;IAC7B,MAAM,IAAI,GAAY,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;IAE9C,IAAI,CAAC;QACJ,MAAM,IAAI,GAAG,IAAA,wBAAQ,EAAC,4BAA4B,EAAE;YACnD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;SACjC,CAAC;aACA,QAAQ,EAAE;aACV,IAAI,EAAE,CAAC;QACT,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAC5B,CAAC;IAAC,MAAM,CAAC;IAET,CAAC;IAED,IAAI,CAAC;QACJ,MAAM,KAAK,GAAG,IAAA,wBAAQ,EAAC,6BAA6B,EAAE;YACrD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;SACjC,CAAC;aACA,QAAQ,EAAE;aACV,IAAI,EAAE,CAAC;QACT,IAAI,KAAK;YAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;IAET,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC;AAEM,KAAK,UAAU,OAAO,CAAC,GAAW;IACxC,MAAM,IAAA,0BAAU,EAAC,KAAK,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;AAC/D,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
type PackageManager = 'npm' | 'yarn' | 'pnpm';
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
4
|
-
dir: string;
|
|
5
|
-
packageManager: PackageManager;
|
|
6
|
-
}): Promise<void>;
|
|
2
|
+
export declare function detectPackageManagerFromUserAgent(): PackageManager | null;
|
|
3
|
+
export declare function detectPackageManager(): Promise<PackageManager | null>;
|
|
7
4
|
export {};
|
|
@@ -3,12 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.detectPackageManagerFromUserAgent = detectPackageManagerFromUserAgent;
|
|
6
7
|
exports.detectPackageManager = detectPackageManager;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const node_child_process_1 = require("node:child_process");
|
|
10
|
-
const picocolors_1 = __importDefault(require("picocolors"));
|
|
11
|
-
function detectPackageManager() {
|
|
8
|
+
const promises_1 = __importDefault(require("node:fs/promises"));
|
|
9
|
+
function detectPackageManagerFromUserAgent() {
|
|
12
10
|
if ('npm_config_user_agent' in process.env) {
|
|
13
11
|
const ua = process.env['npm_config_user_agent'] ?? '';
|
|
14
12
|
if (ua.includes('pnpm'))
|
|
@@ -20,27 +18,31 @@ function detectPackageManager() {
|
|
|
20
18
|
}
|
|
21
19
|
return null;
|
|
22
20
|
}
|
|
23
|
-
async function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
if (code === 0) {
|
|
35
|
-
resolve();
|
|
21
|
+
async function detectPackageManagerFromLockFiles() {
|
|
22
|
+
const lockFiles = {
|
|
23
|
+
npm: 'package-lock.json',
|
|
24
|
+
yarn: 'yarn.lock',
|
|
25
|
+
pnpm: 'pnpm-lock.yaml',
|
|
26
|
+
};
|
|
27
|
+
for (const [pm, lockFile] of Object.entries(lockFiles)) {
|
|
28
|
+
try {
|
|
29
|
+
const stats = await promises_1.default.stat(lockFile);
|
|
30
|
+
if (stats.isFile()) {
|
|
31
|
+
return pm;
|
|
36
32
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
}
|
|
34
|
+
catch (e) {
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
async function detectPackageManager() {
|
|
40
|
+
const fromUserAgent = detectPackageManagerFromUserAgent();
|
|
41
|
+
if (fromUserAgent)
|
|
42
|
+
return fromUserAgent;
|
|
43
|
+
const fromLockFiles = await detectPackageManagerFromLockFiles();
|
|
44
|
+
if (fromLockFiles)
|
|
45
|
+
return fromLockFiles;
|
|
46
|
+
return null;
|
|
45
47
|
}
|
|
46
48
|
//# sourceMappingURL=package-manager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-manager.js","sourceRoot":"","sources":["../../src/utils/package-manager.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"package-manager.js","sourceRoot":"","sources":["../../src/utils/package-manager.ts"],"names":[],"mappings":";;;;;AAIA,8EAQC;AAsBD,oDAUC;AA5CD,gEAAkC;AAIlC,SAAgB,iCAAiC;IAChD,IAAI,uBAAuB,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QAC5C,MAAM,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;QACtD,IAAI,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,OAAO,MAAM,CAAC;QACvC,IAAI,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,OAAO,MAAM,CAAC;QACvC,IAAI,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;IACtC,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC;AAED,KAAK,UAAU,iCAAiC;IAC/C,MAAM,SAAS,GAAmC;QACjD,GAAG,EAAE,mBAAmB;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,gBAAgB;KACtB,CAAC;IAEF,KAAK,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;QACxD,IAAI,CAAC;YACJ,MAAM,KAAK,GAAG,MAAM,kBAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACtC,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;gBACpB,OAAO,EAAoB,CAAC;YAC7B,CAAC;QACF,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;QAEb,CAAC;IACF,CAAC;IACD,OAAO,IAAI,CAAC;AACb,CAAC;AAEM,KAAK,UAAU,oBAAoB;IAEzC,MAAM,aAAa,GAAG,iCAAiC,EAAE,CAAC;IAC1D,IAAI,aAAa;QAAE,OAAO,aAAa,CAAC;IAGxC,MAAM,aAAa,GAAG,MAAM,iCAAiC,EAAE,CAAC;IAChE,IAAI,aAAa;QAAE,OAAO,aAAa,CAAC;IAExC,OAAO,IAAI,CAAC;AACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/node-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Official CLI for developing community nodes for n8n",
|
|
5
5
|
"bin": {
|
|
6
6
|
"n8n-node": "bin/n8n-node.mjs"
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"bin",
|
|
16
|
-
"dist"
|
|
17
|
-
"LICENSE.md",
|
|
18
|
-
"LICENSE_EE.md"
|
|
16
|
+
"dist"
|
|
19
17
|
],
|
|
20
18
|
"repository": {
|
|
21
19
|
"type": "git",
|
|
@@ -58,12 +56,6 @@
|
|
|
58
56
|
"peerDependencies": {
|
|
59
57
|
"eslint": ">= 9"
|
|
60
58
|
},
|
|
61
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
62
|
-
"homepage": "https://n8n.io",
|
|
63
|
-
"author": {
|
|
64
|
-
"name": "Jan Oberhauser",
|
|
65
|
-
"email": "jan@n8n.io"
|
|
66
|
-
},
|
|
67
59
|
"scripts": {
|
|
68
60
|
"clean": "rimraf dist .turbo",
|
|
69
61
|
"typecheck": "tsc --noEmit",
|
package/LICENSE_EE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# The n8n Enterprise License (the “Enterprise License”)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022-present n8n GmbH.
|
|
4
|
-
|
|
5
|
-
With regard to the n8n Software:
|
|
6
|
-
|
|
7
|
-
This software and associated documentation files (the "Software") may only be used in production, if
|
|
8
|
-
you (and any entity that you represent) hold a valid n8n Enterprise license corresponding to your
|
|
9
|
-
usage. Subject to the foregoing sentence, you are free to modify this Software and publish patches
|
|
10
|
-
to the Software. You agree that n8n and/or its licensors (as applicable) retain all right, title and
|
|
11
|
-
interest in and to all such modifications and/or patches, and all such modifications and/or patches
|
|
12
|
-
may only be used, copied, modified, displayed, distributed, or otherwise exploited with a valid n8n
|
|
13
|
-
Enterprise license for the corresponding usage. Notwithstanding the foregoing, you may copy and
|
|
14
|
-
modify the Software for development and testing purposes, without requiring a subscription. You
|
|
15
|
-
agree that n8n and/or its licensors (as applicable) retain all right, title and interest in and to
|
|
16
|
-
all such modifications. You are not granted any other rights beyond what is expressly stated herein.
|
|
17
|
-
Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense, and/or
|
|
18
|
-
sell the Software.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
|
|
21
|
-
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
22
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
|
|
23
|
-
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
24
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
25
|
-
|
|
26
|
-
For all third party components incorporated into the n8n Software, those components are licensed
|
|
27
|
-
under the original license provided by the owner of the applicable component.
|