mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
- Add "type": "module" to all workspace package.json files - Replace __dirname with import.meta.url-based resolveCliPath() helper - Convert stream-json/stream-chain CJS named imports to default + destructure for ESM compatibility - Use createRequire() for @node-rs/jieba native module loading in ESM context Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
318 B
JSON
14 lines
318 B
JSON
{
|
|
"name": "@openchatlab/config",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "ChatLab 配置读取层:TOML/JSON 文件 + 环境变量 + Zod 校验",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"dependencies": {
|
|
"smol-toml": "^1.3.1",
|
|
"zod": "^3.24.4"
|
|
}
|
|
}
|