@n8n/extension-sdk 0.4.0 → 0.6.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.
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/backend/index.ts
21
- var backend_exports = {};
22
- __export(backend_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  defineBackendExtension: () => defineBackendExtension
24
24
  });
25
- module.exports = __toCommonJS(backend_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/backend/define.ts
28
28
  function defineBackendExtension(extension) {
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/frontend/index.ts
21
- var frontend_exports = {};
22
- __export(frontend_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  defineFrontendExtension: () => defineFrontendExtension
24
24
  });
25
- module.exports = __toCommonJS(frontend_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/frontend/define.ts
28
28
  function defineFrontendExtension(extension) {
package/dist/index.cjs CHANGED
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  extensionManifestSchema: () => extensionManifestSchema
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/schema.ts
28
28
  var import_zod = require("zod");
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@n8n/extension-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
7
7
  "schema.json",
8
8
  "LICENSE",
9
9
  "README.md",
10
- "LICENSE.md",
11
- "LICENSE_EE.md"
10
+ "LICENSE_EE.md",
11
+ "LICENSE.md"
12
12
  ],
13
13
  "main": "./dist/index.cjs",
14
14
  "module": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "@vitejs/plugin-vue": "^5.2.4",
40
40
  "@vue/tsconfig": "^0.7.0",
41
41
  "rimraf": "^6.0.1",
42
- "vite": "^6.3.5",
42
+ "vite": "6.3.5",
43
43
  "vue": "^3.5.13",
44
44
  "vue-router": "^4.5.0",
45
45
  "vue-tsc": "^2.2.8",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "license": "SEE LICENSE IN LICENSE.md",
51
51
  "dependencies": {
52
- "zod": "3.24.1"
52
+ "zod": "3.25.67"
53
53
  },
54
54
  "homepage": "https://n8n.io",
55
55
  "author": {
@@ -63,6 +63,7 @@
63
63
  "scripts": {
64
64
  "clean": "rimraf dist",
65
65
  "dev": "tsup --watch",
66
+ "lint": "eslint . --quiet",
66
67
  "typecheck:frontend": "vue-tsc --noEmit --project tsconfig.frontend.json",
67
68
  "typecheck:backend": "tsc --noEmit --project tsconfig.backend.json",
68
69
  "build": "pnpm \"/^typecheck:.+/\" && pnpm clean && tsup && pnpm create-json-schema",
package/schema.json CHANGED
@@ -1,107 +1,64 @@
1
1
  {
2
- "type": "object",
3
- "properties": {
4
- "name": {
5
- "type": "string"
6
- },
7
- "displayName": {
8
- "type": "string"
9
- },
10
- "description": {
11
- "type": "string"
12
- },
13
- "publisher": {
14
- "type": "string"
15
- },
16
- "version": {
17
- "type": "string"
18
- },
19
- "categories": {
20
- "type": "array",
21
- "items": {
22
- "type": "string"
23
- }
24
- },
25
- "entry": {
26
- "type": "object",
27
- "properties": {
28
- "backend": {
29
- "type": "string"
30
- },
31
- "frontend": {
32
- "type": "string"
33
- }
34
- },
35
- "required": ["backend", "frontend"],
36
- "additionalProperties": false
37
- },
38
- "minSDKVersion": {
39
- "type": "string"
40
- },
41
- "permissions": {
42
- "type": "object",
43
- "properties": {
44
- "frontend": {
45
- "type": "array",
46
- "items": {
47
- "type": "string"
48
- }
49
- },
50
- "backend": {
51
- "type": "array",
52
- "items": {
53
- "type": "string"
54
- }
55
- }
56
- },
57
- "required": ["frontend", "backend"],
58
- "additionalProperties": false
59
- },
60
- "events": {
61
- "type": "array",
62
- "items": {
63
- "type": "string"
64
- }
65
- },
66
- "extends": {
67
- "type": "object",
68
- "properties": {
69
- "views": {
70
- "type": "object",
71
- "properties": {
72
- "workflows": {
73
- "type": "object",
74
- "properties": {
75
- "header": {
76
- "type": "string"
77
- }
78
- },
79
- "required": ["header"],
80
- "additionalProperties": false
81
- }
82
- },
83
- "required": ["workflows"],
84
- "additionalProperties": false
85
- }
86
- },
87
- "required": ["views"],
88
- "additionalProperties": false
89
- }
90
- },
91
- "required": [
92
- "name",
93
- "displayName",
94
- "description",
95
- "publisher",
96
- "version",
97
- "categories",
98
- "entry",
99
- "minSDKVersion",
100
- "permissions",
101
- "events",
102
- "extends"
103
- ],
104
- "additionalProperties": false,
105
- "title": "N8nExtensionSchema",
106
- "$schema": "http://json-schema.org/draft-07/schema#"
2
+ "type": "object",
3
+ "properties": {
4
+ "name": { "type": "string" },
5
+ "displayName": { "type": "string" },
6
+ "description": { "type": "string" },
7
+ "publisher": { "type": "string" },
8
+ "version": { "type": "string" },
9
+ "categories": { "type": "array", "items": { "type": "string" } },
10
+ "entry": {
11
+ "type": "object",
12
+ "properties": { "backend": { "type": "string" }, "frontend": { "type": "string" } },
13
+ "required": ["backend", "frontend"],
14
+ "additionalProperties": false
15
+ },
16
+ "minSDKVersion": { "type": "string" },
17
+ "permissions": {
18
+ "type": "object",
19
+ "properties": {
20
+ "frontend": { "type": "array", "items": { "type": "string" } },
21
+ "backend": { "type": "array", "items": { "type": "string" } }
22
+ },
23
+ "required": ["frontend", "backend"],
24
+ "additionalProperties": false
25
+ },
26
+ "events": { "type": "array", "items": { "type": "string" } },
27
+ "extends": {
28
+ "type": "object",
29
+ "properties": {
30
+ "views": {
31
+ "type": "object",
32
+ "properties": {
33
+ "workflows": {
34
+ "type": "object",
35
+ "properties": { "header": { "type": "string" } },
36
+ "required": ["header"],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ "required": ["workflows"],
41
+ "additionalProperties": false
42
+ }
43
+ },
44
+ "required": ["views"],
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "required": [
49
+ "name",
50
+ "displayName",
51
+ "description",
52
+ "publisher",
53
+ "version",
54
+ "categories",
55
+ "entry",
56
+ "minSDKVersion",
57
+ "permissions",
58
+ "events",
59
+ "extends"
60
+ ],
61
+ "additionalProperties": false,
62
+ "title": "N8nExtensionSchema",
63
+ "$schema": "http://json-schema.org/draft-07/schema#"
107
64
  }