mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
Move all 14+ format parsers (QQ, WeChat, Telegram, WhatsApp, LINE, Discord, Instagram, etc.) from electron/main/parser/ to packages/parser/ as a standalone shared package. Electron's parser module becomes a thin re-export wrapper. This enables the server to use the same parser for CLI serve Web import functionality.
30 lines
709 B
JSON
30 lines
709 B
JSON
{
|
|
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
|
|
"include": [
|
|
"electron.vite.config.*",
|
|
"vite.config.*",
|
|
"electron/main/**/*",
|
|
"electron/preload/**/*",
|
|
"electron/shared/**/*",
|
|
"src/types/**/*",
|
|
"packages/shared-types/**/*",
|
|
"packages/core/**/*",
|
|
"packages/node-runtime/**/*",
|
|
"packages/config/**/*",
|
|
"packages/parser/**/*",
|
|
"packages/server/**/*",
|
|
"packages/tools/**/*"
|
|
],
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"types": ["electron-vite/node"],
|
|
"moduleResolution": "bundler",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@electron/*": ["electron/*"],
|
|
"@openchatlab/*": ["packages/*"]
|
|
}
|
|
}
|
|
}
|