@n8n/ai-node-sdk 0.1.0 → 0.3.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/package.json CHANGED
@@ -1,29 +1,49 @@
1
1
  {
2
2
  "name": "@n8n/ai-node-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "SDK for building AI nodes in n8n",
5
- "main": "dist/index.js",
6
- "module": "src/index.ts",
7
- "types": "dist/index.d.ts",
5
+ "types": "dist/esm/index.d.ts",
6
+ "module": "dist/esm/index.js",
7
+ "main": "dist/cjs/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/esm/index.d.ts",
11
+ "import": "./dist/esm/index.js",
12
+ "require": "./dist/cjs/index.js"
13
+ },
14
+ "./*": "./*"
15
+ },
8
16
  "files": [
9
- "dist"
17
+ "dist",
18
+ "LICENSE.md",
19
+ "LICENSE_EE.md"
10
20
  ],
11
21
  "dependencies": {
12
- "@n8n/ai-utilities": "0.3.0"
22
+ "@n8n/ai-utilities": "0.5.0"
13
23
  },
14
24
  "devDependencies": {
15
25
  "@n8n/typescript-config": "1.3.0"
16
26
  },
27
+ "license": "SEE LICENSE IN LICENSE.md",
28
+ "homepage": "https://n8n.io",
29
+ "author": {
30
+ "name": "Jan Oberhauser",
31
+ "email": "jan@n8n.io"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/n8n-io/n8n.git"
36
+ },
17
37
  "scripts": {
18
38
  "clean": "rimraf dist .turbo",
19
39
  "dev": "pnpm watch",
20
40
  "typecheck": "tsc --noEmit",
21
- "build": "tsc -p tsconfig.build.json",
41
+ "build": "tsc --build tsconfig.build.esm.json tsconfig.build.cjs.json",
22
42
  "format": "biome format --write .",
23
43
  "format:check": "biome ci .",
24
44
  "lint": "eslint . --quiet",
25
45
  "lint:fix": "eslint . --fix",
26
- "watch": "tsc -p tsconfig.build.json --watch",
46
+ "watch": "tsc --build tsconfig.build.esm.json tsconfig.build.cjs.json --watch",
27
47
  "test": "jest --passWithNoTests",
28
48
  "test:unit": "jest --passWithNoTests",
29
49
  "test:dev": "jest --watch"