Refactor TypeScript configs to use shared base

Introduced tsconfig.base.json for shared TypeScript configuration and updated all package tsconfig.json files to extend from it, reducing duplication and improving maintainability. Also updated typecheck script in package.json and fixed import in prebuild-loader.ts.
This commit is contained in:
手瓜一十雪 committed 2025-11-15 14:00:27 +08:00
1 parent ad4a108781
commit b147e57c1c
14 files changed
+53 -455

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
"build:framework": "pnpm --filter napcat-framework run build || exit 1",
"build:webui": "pnpm --filter napcat-webui-frontend run build || exit 1",
"dev:shell": "pnpm --filter napcat-develop run dev || exit 1",
"typecheck": "pnpm -w -r --filter napcat-shell --filter napcat-framework --filter napcat-webui-backend --filter napcat-onebot --filter napcat-core --filter napcat-webui-frontend run typecheck"
"typecheck": "pnpm -r --if-present run typecheck"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",