Skip to content

Commit a0e7f32

Browse files
committed
fix(core): update package.json files for image-renderer and embeddings-service to include exports and improve structure
1 parent 1e7a21b commit a0e7f32

File tree

22 files changed

+1981
-1981
lines changed

22 files changed

+1981
-1981
lines changed
Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
11
{
2-
"name": "koishi-plugin-chatluna-azure-openai-adapter",
3-
"description": "azure openai adapter for chatluna",
4-
"version": "1.0.0",
5-
"main": "lib/index.cjs",
6-
"module": "lib/index.mjs",
7-
"typings": "lib/index.d.ts",
8-
"files": [
9-
"lib",
10-
"dist"
11-
],
12-
"exports": {
13-
".": {
14-
"types": "./lib/index.d.ts",
15-
"import": "./lib/index.mjs",
16-
"require": "./lib/index.cjs"
2+
"name": "koishi-plugin-chatluna-azure-openai-adapter",
3+
"description": "azure openai adapter for chatluna",
4+
"version": "1.0.0",
5+
"main": "lib/index.cjs",
6+
"module": "lib/index.mjs",
7+
"typings": "lib/index.d.ts",
8+
"files": [
9+
"lib",
10+
"dist"
11+
],
12+
"exports": {
13+
".": {
14+
"types": "./lib/index.d.ts",
15+
"import": "./lib/index.mjs",
16+
"require": "./lib/index.cjs"
17+
},
18+
"./package.json": "./package.json"
19+
},
20+
"type": "module",
21+
"author": "dingyi222666 <dingyi222666@foxmail.com>",
22+
"repository": {
23+
"type": "git",
24+
"url": "https://github.com/ChatLunaLab/chatluna.git",
25+
"directory": "packages/azure-openai-adapter"
26+
},
27+
"license": "AGPL-3.0",
28+
"bugs": {
29+
"url": "https://github.com/ChatLunaLab/chatluna/issues"
30+
},
31+
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/azure-openai-adapter#readme",
32+
"scripts": {
33+
"build": "atsc -b"
34+
},
35+
"engines": {
36+
"node": ">=18.0.0"
37+
},
38+
"keywords": [
39+
"chatbot",
40+
"koishi",
41+
"plugin",
42+
"service",
43+
"chatgpt",
44+
"gpt",
45+
"chatluna",
46+
"adapter"
47+
],
48+
"dependencies": {
49+
"@langchain/core": "^0.3.18",
50+
"zod": "^3.24.0-canary.20241107T043915",
51+
"zod-to-json-schema": "^3.23.5"
52+
},
53+
"devDependencies": {
54+
"atsc": "^2.1.0",
55+
"koishi": "^4.18.4"
56+
},
57+
"peerDependencies": {
58+
"koishi": "^4.18.4",
59+
"koishi-plugin-chatluna": "^1.0.1"
60+
},
61+
"resolutions": {
62+
"@langchain/core": "0.3.18",
63+
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
1764
},
18-
"./package.json": "./package.json"
19-
},
20-
"type": "module",
21-
"author": "dingyi222666 <dingyi222666@foxmail.com>",
22-
"repository": {
23-
"type": "git",
24-
"url": "https://github.com/ChatLunaLab/chatluna.git",
25-
"directory": "packages/azure-openai-adapter"
26-
},
27-
"license": "AGPL-3.0",
28-
"bugs": {
29-
"url": "https://github.com/ChatLunaLab/chatluna/issues"
30-
},
31-
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/azure-openai-adapter#readme",
32-
"scripts": {
33-
"build": "atsc -b"
34-
},
35-
"engines": {
36-
"node": ">=18.0.0"
37-
},
38-
"keywords": [
39-
"chatbot",
40-
"koishi",
41-
"plugin",
42-
"service",
43-
"chatgpt",
44-
"gpt",
45-
"chatluna",
46-
"adapter"
47-
],
48-
"dependencies": {
49-
"@langchain/core": "^0.3.18",
50-
"zod": "^3.24.0-canary.20241107T043915",
51-
"zod-to-json-schema": "^3.23.5"
52-
},
53-
"devDependencies": {
54-
"atsc": "^2.1.0",
55-
"koishi": "^4.18.4"
56-
},
57-
"peerDependencies": {
58-
"koishi": "^4.18.4",
59-
"koishi-plugin-chatluna": "^1.0.1-alpha.1"
60-
},
61-
"resolutions": {
62-
"@langchain/core": "0.3.18",
63-
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
64-
},
65-
"overrides": {
66-
"@langchain/core": "0.3.18",
67-
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
68-
},
69-
"pnpm": {
7065
"overrides": {
71-
"@langchain/core": "0.3.18",
72-
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
73-
}
74-
},
75-
"koishi": {
76-
"description": {
77-
"zh": "ChatLuna 的 Azure OpenAI 平台适配器",
78-
"en": "Azure OpenAI adapter for ChatLuna"
66+
"@langchain/core": "0.3.18",
67+
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
68+
},
69+
"pnpm": {
70+
"overrides": {
71+
"@langchain/core": "0.3.18",
72+
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
73+
}
7974
},
80-
"service": {
81-
"required": [
82-
"chatluna"
83-
]
75+
"koishi": {
76+
"description": {
77+
"zh": "ChatLuna 的 Azure OpenAI 平台适配器",
78+
"en": "Azure OpenAI adapter for ChatLuna"
79+
},
80+
"service": {
81+
"required": [
82+
"chatluna"
83+
]
84+
}
8485
}
85-
}
8686
}

packages/chatglm-adapter/package.json

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,85 @@
11
{
2-
"name": "koishi-plugin-chatluna-chatglm-adapter",
3-
"description": "chatglm adapter for chatluna",
4-
"version": "1.0.0",
5-
"main": "lib/index.cjs",
6-
"module": "lib/index.mjs",
7-
"typings": "lib/index.d.ts",
8-
"files": [
9-
"lib",
10-
"dist"
11-
],
12-
"exports": {
13-
".": {
14-
"types": "./lib/index.d.ts",
15-
"import": "./lib/index.mjs",
16-
"require": "./lib/index.cjs"
2+
"name": "koishi-plugin-chatluna-chatglm-adapter",
3+
"description": "chatglm adapter for chatluna",
4+
"version": "1.0.0",
5+
"main": "lib/index.cjs",
6+
"module": "lib/index.mjs",
7+
"typings": "lib/index.d.ts",
8+
"files": [
9+
"lib",
10+
"dist"
11+
],
12+
"exports": {
13+
".": {
14+
"types": "./lib/index.d.ts",
15+
"import": "./lib/index.mjs",
16+
"require": "./lib/index.cjs"
17+
},
18+
"./package.json": "./package.json"
19+
},
20+
"type": "module",
21+
"author": "dingyi222666 <dingyi222666@foxmail.com>",
22+
"repository": {
23+
"type": "git",
24+
"url": "https://github.com/ChatLunaLab/chatluna.git",
25+
"directory": "packages/chatglm-adapter"
26+
},
27+
"license": "AGPL-3.0",
28+
"bugs": {
29+
"url": "https://github.com/ChatLunaLab/chatluna/issues"
30+
},
31+
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/chatglm-adapter#readme",
32+
"scripts": {
33+
"build": "atsc -b"
34+
},
35+
"keywords": [
36+
"chatbot",
37+
"koishi",
38+
"plugin",
39+
"service",
40+
"chatglm",
41+
"chatluna",
42+
"adapter"
43+
],
44+
"dependencies": {
45+
"@langchain/core": "^0.3.18",
46+
"zod-to-json-schema": "^3.23.5"
47+
},
48+
"devDependencies": {
49+
"@types/uuid": "^10.0.0",
50+
"atsc": "^2.1.0",
51+
"koishi": "^4.18.4"
52+
},
53+
"resolutions": {
54+
"@langchain/core": "0.3.18",
55+
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
1756
},
18-
"./package.json": "./package.json"
19-
},
20-
"type": "module",
21-
"author": "dingyi222666 <dingyi222666@foxmail.com>",
22-
"repository": {
23-
"type": "git",
24-
"url": "https://github.com/ChatLunaLab/chatluna.git",
25-
"directory": "packages/chatglm-adapter"
26-
},
27-
"license": "AGPL-3.0",
28-
"bugs": {
29-
"url": "https://github.com/ChatLunaLab/chatluna/issues"
30-
},
31-
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/chatglm-adapter#readme",
32-
"scripts": {
33-
"build": "atsc -b"
34-
},
35-
"keywords": [
36-
"chatbot",
37-
"koishi",
38-
"plugin",
39-
"service",
40-
"chatglm",
41-
"chatluna",
42-
"adapter"
43-
],
44-
"dependencies": {
45-
"@langchain/core": "^0.3.18",
46-
"zod-to-json-schema": "^3.23.5"
47-
},
48-
"devDependencies": {
49-
"@types/uuid": "^10.0.0",
50-
"atsc": "^2.1.0",
51-
"koishi": "^4.18.4"
52-
},
53-
"resolutions": {
54-
"@langchain/core": "0.3.18",
55-
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
56-
},
57-
"overrides": {
58-
"@langchain/core": "0.3.18",
59-
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
60-
},
61-
"pnpm": {
6257
"overrides": {
63-
"@langchain/core": "0.3.18",
64-
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
65-
}
66-
},
67-
"peerDependencies": {
68-
"koishi": "^4.18.4",
69-
"koishi-plugin-chatluna": "^1.0.1-alpha.1"
70-
},
71-
"engines": {
72-
"node": ">=18.0.0"
73-
},
74-
"koishi": {
75-
"description": {
76-
"zh": "为 ChatLuna 提供 ChatGLM 等在 `API for Open LLMs` 上可用的大语言模型",
77-
"en": "Provide ChatGLM and other large language models available on `API for Open LLMs` for ChatLuna"
58+
"@langchain/core": "0.3.18",
59+
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
60+
},
61+
"pnpm": {
62+
"overrides": {
63+
"@langchain/core": "0.3.18",
64+
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
65+
}
66+
},
67+
"peerDependencies": {
68+
"koishi": "^4.18.4",
69+
"koishi-plugin-chatluna": "^1.0.1"
70+
},
71+
"engines": {
72+
"node": ">=18.0.0"
7873
},
79-
"service": {
80-
"required": [
81-
"chatluna"
82-
]
74+
"koishi": {
75+
"description": {
76+
"zh": "为 ChatLuna 提供 ChatGLM 等在 `API for Open LLMs` 上可用的大语言模型",
77+
"en": "Provide ChatGLM and other large language models available on `API for Open LLMs` for ChatLuna"
78+
},
79+
"service": {
80+
"required": [
81+
"chatluna"
82+
]
83+
}
8384
}
84-
}
8585
}

0 commit comments

Comments
 (0)