Set rootDir in package tsconfigs

Add compilerOptions.rootDir = ".." to tsconfig.json for napcat-onebot, napcat-shell, and napcat-webui-backend to ensure the TypeScript compiler uses the monorepo package root for source resolution. Also remove an extraneous blank line in theme.tsx near FileManager.uploadWebUIFont (minor formatting cleanup).
This commit is contained in:
手瓜一十雪 committed 2026-05-22 22:31:11 +08:00
1 parent 9d652be35d
commit 77cd40eceb
3 files changed
+9

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "../../packages"
},
"include": [ "include": [
"*.ts", "*.ts",
"**/*.ts" "**/*.ts"
+3
View File
@@ -1,5 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": ".."
},
"include": [ "include": [
"*.ts", "*.ts",
"**/*.ts" "**/*.ts"
@@ -1,5 +1,8 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": ".."
},
"include": [ "include": [
"*.ts", "*.ts",
"src/**/*.ts", "src/**/*.ts",