@n8n/node-cli 0.51.3 → 0.52.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/dist/build.tsbuildinfo +1 -1
- package/dist/configs/eslint.d.ts +2 -1
- package/dist/configs/eslint.js +1 -1
- package/dist/configs/eslint.js.map +1 -1
- package/dist/template/templates/programmatic/ai/model-ai-custom-example/template/nodes/ExampleChatModel/properties.ts +1 -1
- package/package.json +8 -5
package/dist/configs/eslint.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineConfig } from 'eslint/config';
|
|
2
|
+
type ConfigArray = ReturnType<typeof defineConfig>;
|
|
2
3
|
export declare const config: ConfigArray;
|
|
3
4
|
export declare const configWithoutCloudSupport: ConfigArray;
|
|
4
5
|
export default config;
|
package/dist/configs/eslint.js
CHANGED
|
@@ -15,7 +15,7 @@ function createConfig(supportCloud = true) {
|
|
|
15
15
|
const communityNodesRecommended = supportCloud
|
|
16
16
|
? eslint_plugin_community_nodes_1.n8nCommunityNodesPlugin.configs.recommended
|
|
17
17
|
: eslint_plugin_community_nodes_1.n8nCommunityNodesPlugin.configs.recommendedWithoutN8nCloudSupport;
|
|
18
|
-
return
|
|
18
|
+
return (0, config_1.defineConfig)((0, config_1.globalIgnores)(['dist']), {
|
|
19
19
|
files: ['**/*.ts'],
|
|
20
20
|
extends: [
|
|
21
21
|
js_1.default.configs.recommended,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslint.js","sourceRoot":"","sources":["../../src/configs/eslint.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAgC;AAChC,sFAA6E;
|
|
1
|
+
{"version":3,"file":"eslint.js","sourceRoot":"","sources":["../../src/configs/eslint.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAgC;AAChC,sFAA6E;AAE7E,0CAA4D;AAC5D,yFAAmF;AACnF,oFAAkD;AAClD,gGAA0D;AAC1D,0EAA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,GAAG,sCAAc,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK;YAErC,iEAAiE,EAAE,KAAK;YACxE,qDAAqD,EAAE,KAAK;YAE5D,0DAA0D,EAAE,KAAK;SACjE;KACD,CACD,CAAC;AACH,CAAC;AACY,QAAA,MAAM,GAAgB,YAAY,EAAE,CAAC;AACrC,QAAA,yBAAyB,GAAgB,YAAY,CAAC,KAAK,CAAC,CAAC;kBAE3D,QAAA,MAAM"}
|
|
@@ -6,7 +6,7 @@ export const openAiProperties: INodeProperties[] = [
|
|
|
6
6
|
name: 'model',
|
|
7
7
|
type: 'options',
|
|
8
8
|
description:
|
|
9
|
-
'The model which will generate the completion. <a href="https://
|
|
9
|
+
'The model which will generate the completion. <a href="https://developers.openai.com/api/docs/models">Learn more</a>.',
|
|
10
10
|
typeOptions: {
|
|
11
11
|
loadOptions: {
|
|
12
12
|
routing: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/node-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"description": "Official CLI for developing community nodes for n8n",
|
|
5
5
|
"bin": {
|
|
6
6
|
"n8n-node": "bin/n8n-node.mjs"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@clack/prompts": "^0.11.0",
|
|
35
35
|
"@eslint/js": "^9.29.0",
|
|
36
36
|
"@n8n/eslint-plugin-community-nodes": "0.35.0",
|
|
37
|
-
"@n8n/ai-node-sdk": "0.
|
|
37
|
+
"@n8n/ai-node-sdk": "0.33.0",
|
|
38
38
|
"@oclif/core": "^4.5.2",
|
|
39
39
|
"change-case": "^5.4.4",
|
|
40
40
|
"eslint": "9.29.0",
|
|
@@ -50,9 +50,12 @@
|
|
|
50
50
|
"typescript-eslint": "8.70.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
+
"@n8n/oxlint-config": "0.0.1",
|
|
53
54
|
"@n8n/typescript-config": "1.12.0",
|
|
54
|
-
"@n8n/vitest-config": "1.
|
|
55
|
+
"@n8n/vitest-config": "1.24.0",
|
|
55
56
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
57
|
+
"oxlint": "1.78.0",
|
|
58
|
+
"oxlint-tsgolint": "^0.21.1",
|
|
56
59
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
57
60
|
"vite": "^8.0.2",
|
|
58
61
|
"vitest": "5.0.1",
|
|
@@ -74,8 +77,8 @@
|
|
|
74
77
|
"dev": "tsc-watch -p tsconfig.build.json -w --onCompilationComplete \"pnpm copy-templates\"",
|
|
75
78
|
"format": "biome format --write src",
|
|
76
79
|
"format:check": "biome ci src",
|
|
77
|
-
"lint": "
|
|
78
|
-
"lintfix": "
|
|
80
|
+
"lint": "oxlint src --quiet",
|
|
81
|
+
"lintfix": "oxlint src --fix",
|
|
79
82
|
"build": "tsc -p tsconfig.build.json && pnpm copy-templates",
|
|
80
83
|
"build:unchecked": "tsc -p tsconfig.build.json --noCheck && pnpm copy-templates",
|
|
81
84
|
"publish:dry": "pnpm run build && pnpm pub --dry-run",
|