Skip to content

Commit c92d1c2

Browse files
authored
Merge pull request #220 from llm-tools/package_bump
Package bump
2 parents 4d3c8bd + b09cd71 commit c92d1c2

File tree

179 files changed

+12889
-7690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+12889
-7690
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
- name: Install dependencies
3030
run: npm ci
3131
- name: Test build
32-
run: npm run build:ci
32+
run: npm run build
Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
{
2-
"name": "@llm-tools/embedjs-interfaces",
3-
"version": "0.1.28",
4-
"description": "Interfaces for extending the embedjs ecosystem",
5-
"dependencies": {
6-
"@langchain/core": "^0.3.26",
7-
"debug": "^4.4.0",
8-
"md5": "^2.3.0",
9-
"uuid": "^11.0.3"
10-
},
11-
"type": "module",
12-
"main": "./src/index.js",
13-
"typings": "./src/index.d.ts",
14-
"license": "Apache-2.0",
15-
"publishConfig": {
16-
"access": "public"
17-
},
18-
"keywords": [
19-
"llm",
20-
"ai",
21-
"gpt3",
22-
"chain",
23-
"prompt",
24-
"prompt engineering",
25-
"chatgpt",
26-
"machine learning",
27-
"ml",
28-
"anthropic",
29-
"embeddings",
30-
"vectorstores"
31-
],
32-
"author": "K V Adhityan",
33-
"bugs": {
34-
"url": "https://github.com/llm-tools/embedjs/issues"
35-
},
36-
"homepage": "https://github.com/llm-tools/embedjs#readme",
37-
"repository": {
38-
"type": "git",
39-
"url": "git+https://github.com/llm-tools/embedjs.git"
40-
}
41-
}
1+
{
2+
"name": "@llm-tools/embedjs-interfaces",
3+
"version": "0.1.30",
4+
"description": "Interfaces for extending the embedjs ecosystem",
5+
"dependencies": {
6+
"@langchain/core": "^1.0.5",
7+
"debug": "^4.4.3",
8+
"md5": "^2.3.0",
9+
"uuid": "^13.0.0"
10+
},
11+
"type": "module",
12+
"main": "./src/index.js",
13+
"typings": "./src/index.d.ts",
14+
"license": "Apache-2.0",
15+
"publishConfig": {
16+
"access": "public"
17+
},
18+
"keywords": [
19+
"llm",
20+
"ai",
21+
"gpt3",
22+
"chain",
23+
"prompt",
24+
"prompt engineering",
25+
"chatgpt",
26+
"machine learning",
27+
"ml",
28+
"anthropic",
29+
"embeddings",
30+
"vectorstores"
31+
],
32+
"author": "K V Adhityan",
33+
"bugs": {
34+
"url": "https://github.com/llm-tools/embedjs/issues"
35+
},
36+
"homepage": "https://github.com/llm-tools/embedjs#readme",
37+
"repository": {
38+
"type": "git",
39+
"url": "git+https://github.com/llm-tools/embedjs.git"
40+
}
41+
}

core/embedjs-interfaces/project.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,11 @@
99
"executor": "@nx/js:tsc",
1010
"outputs": ["{options.outputPath}"],
1111
"options": {
12-
"outputPath": "dist/esm/embedjs-interfaces",
12+
"outputPath": "dist/embedjs-interfaces",
1313
"main": "core/embedjs-interfaces/src/index.ts",
14-
"tsConfig": "core/embedjs-interfaces/tsconfig.lib.json",
14+
"tsConfig": "core/embedjs-interfaces/tsconfig.json",
1515
"assets": ["core/embedjs-interfaces/*.md"]
1616
}
17-
},
18-
"build-cjs": {
19-
"executor": "@nx/js:tsc",
20-
"outputs": ["{options.outputPath}"],
21-
"dependsOn": ["^build-cjs"],
22-
"options": {
23-
"outputPath": "dist/cjs/embedjs-interfaces",
24-
"main": "core/embedjs-interfaces/src/index.ts",
25-
"tsConfig": "core/embedjs-interfaces/tsconfig.cjs.json"
26-
}
2717
}
2818
}
2919
}

core/embedjs-interfaces/tsconfig.cjs.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

core/embedjs-interfaces/tsconfig.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@
1414
"useDefineForClassFields": true,
1515
"strictPropertyInitialization": false,
1616
"allowJs": false,
17-
"strict": false
17+
"strict": false,
18+
"outDir": "../../dist/out-tsc",
19+
"types": ["node"]
1820
},
19-
"files": [],
20-
"include": [],
21-
"references": [
22-
{
23-
"path": "./tsconfig.lib.json"
24-
}
25-
]
21+
"include": ["src/**/*.ts"],
22+
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"]
2623
}

core/embedjs-interfaces/tsconfig.lib.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

core/embedjs-utils/package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
{
2-
"name": "@llm-tools/embedjs-utils",
3-
"version": "0.1.28",
4-
"description": "Useful util functions when extending the embedjs ecosystem",
5-
"dependencies": {
6-
"@llm-tools/embedjs-interfaces": "0.1.28"
7-
},
8-
"type": "module",
9-
"main": "./src/index.js",
10-
"typings": "./src/index.d.ts",
11-
"license": "Apache-2.0",
12-
"publishConfig": {
13-
"access": "public"
14-
},
15-
"keywords": [
16-
"llm",
17-
"ai",
18-
"gpt3",
19-
"chain",
20-
"prompt",
21-
"prompt engineering",
22-
"chatgpt",
23-
"machine learning",
24-
"ml",
25-
"anthropic",
26-
"embeddings",
27-
"vectorstores"
28-
],
29-
"author": "K V Adhityan",
30-
"bugs": {
31-
"url": "https://github.com/llm-tools/embedjs/issues"
32-
},
33-
"homepage": "https://github.com/llm-tools/embedjs#readme",
34-
"repository": {
35-
"type": "git",
36-
"url": "git+https://github.com/llm-tools/embedjs.git"
37-
}
38-
}
1+
{
2+
"name": "@llm-tools/embedjs-utils",
3+
"version": "0.1.30",
4+
"description": "Useful util functions when extending the embedjs ecosystem",
5+
"dependencies": {
6+
"@llm-tools/embedjs-interfaces": "0.1.30"
7+
},
8+
"type": "module",
9+
"main": "./src/index.js",
10+
"typings": "./src/index.d.ts",
11+
"license": "Apache-2.0",
12+
"publishConfig": {
13+
"access": "public"
14+
},
15+
"keywords": [
16+
"llm",
17+
"ai",
18+
"gpt3",
19+
"chain",
20+
"prompt",
21+
"prompt engineering",
22+
"chatgpt",
23+
"machine learning",
24+
"ml",
25+
"anthropic",
26+
"embeddings",
27+
"vectorstores"
28+
],
29+
"author": "K V Adhityan",
30+
"bugs": {
31+
"url": "https://github.com/llm-tools/embedjs/issues"
32+
},
33+
"homepage": "https://github.com/llm-tools/embedjs#readme",
34+
"repository": {
35+
"type": "git",
36+
"url": "git+https://github.com/llm-tools/embedjs.git"
37+
}
38+
}

core/embedjs-utils/project.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,11 @@
99
"executor": "@nx/js:tsc",
1010
"outputs": ["{options.outputPath}"],
1111
"options": {
12-
"outputPath": "dist/esm/embedjs-utils",
12+
"outputPath": "dist/embedjs-utils",
1313
"main": "core/embedjs-utils/src/index.ts",
14-
"tsConfig": "core/embedjs-utils/tsconfig.lib.json",
14+
"tsConfig": "core/embedjs-utils/tsconfig.json",
1515
"assets": ["core/embedjs-utils/*.md"]
1616
}
17-
},
18-
"build-cjs": {
19-
"executor": "@nx/js:tsc",
20-
"outputs": ["{options.outputPath}"],
21-
"dependsOn": ["^build-cjs"],
22-
"options": {
23-
"outputPath": "dist/cjs/embedjs-utils",
24-
"main": "core/embedjs-utils/src/index.ts",
25-
"tsConfig": "core/embedjs-utils/tsconfig.cjs.json"
26-
}
2717
}
2818
}
2919
}

core/embedjs-utils/src/util/web.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export async function getSafe(
2323
export async function getSafe(
2424
url: string,
2525
options?: { headers?: Record<string, string>; format?: 'text' | 'stream' | 'buffer' },
26-
) {
26+
): Promise<{ body: string | Buffer | NodeJS.ReadableStream } & getSafeResponsePartial> {
2727
const headers = options?.headers ?? {};
2828
headers['User-Agent'] = headers['User-Agent'] ?? DEFAULT_USER_AGENT;
2929

core/embedjs-utils/tsconfig.cjs.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)