chore: refine typecheck scripts and update TypeScript configuration

- Removed the UI typecheck script from package.json to streamline type checking.
- Updated tsconfig.web.json to include the UI package for improved type checking coverage.
This commit is contained in:
MyPrototypeWhat 2025-12-17 13:42:30 +08:00
parent ad90d22be3
commit 7aa136da3b
2 changed files with 3 additions and 3 deletions

View File

@ -50,10 +50,9 @@
"generate:icons": "electron-icon-builder --input=./build/logo.png --output=build",
"analyze:renderer": "VISUALIZER_RENDERER=true yarn build",
"analyze:main": "VISUALIZER_MAIN=true yarn build",
"typecheck": "concurrently -n \"node,web,ui\" -c \"cyan,magenta,green\" \"npm run typecheck:node\" \"npm run typecheck:web\" \"npm run typecheck:ui\"",
"typecheck": "concurrently -n \"node,web\" -c \"cyan,magenta\" \"npm run typecheck:node\" \"npm run typecheck:web\"",
"typecheck:node": "tsgo --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsgo --noEmit -p tsconfig.web.json --composite false",
"typecheck:ui": "cd packages/ui && npm run type-check",
"check:i18n": "dotenv -e .env -- tsx scripts/check-i18n.ts",
"sync:i18n": "dotenv -e .env -- tsx scripts/sync-i18n.ts",
"update:i18n": "dotenv -e .env -- tsx scripts/update-i18n.ts",

View File

@ -10,7 +10,8 @@
"packages/ai-sdk-provider/**/*",
"packages/extension-table-plus/**/*",
"packages/mcp-trace/**/*",
"packages/shared/**/*"
"packages/shared/**/*",
"packages/ui/**/*",
],
"compilerOptions": {
"composite": true,