mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 06:54:28 +00:00
refactor: migrate to modern TypeScript path mapping (remove baseUrl)
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"ignoreDeprecations": "6.0",
|
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/ui/*": ["./*"]
|
"@/ui/*": ["./*"]
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-16
@@ -9,24 +9,22 @@
|
|||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"ignoreDeprecations": "6.0",
|
|
||||||
"baseUrl": ".",
|
|
||||||
"types": ["bun"],
|
"types": ["bun"],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/ui/*": ["packages/webui/*"],
|
"@/ui/*": ["./packages/webui/*"],
|
||||||
"@shumai/webui": ["packages/webui/index.html"],
|
"@shumai/webui": ["./packages/webui/index.html"],
|
||||||
"@shumai/api": ["packages/api/src/index.ts"],
|
"@shumai/api": ["./packages/api/src/index.ts"],
|
||||||
"@shumai/core": ["packages/core/src/index.ts"],
|
"@shumai/core": ["./packages/core/src/index.ts"],
|
||||||
"@shumai/core/src/*": ["packages/core/src/*"],
|
"@shumai/core/src/*": ["./packages/core/src/*"],
|
||||||
"@shumai/db": ["packages/db/src/index.ts"],
|
"@shumai/db": ["./packages/db/src/index.ts"],
|
||||||
"@shumai/db/test": ["packages/db/src/test.ts"],
|
"@shumai/db/test": ["./packages/db/src/test.ts"],
|
||||||
"@shumai/dtos": ["packages/dtos/src/index.ts"],
|
"@shumai/dtos": ["./packages/dtos/src/index.ts"],
|
||||||
"@shumai/workflow-core": ["packages/workflow-core/src/index.ts"],
|
"@shumai/workflow-core": ["./packages/workflow-core/src/index.ts"],
|
||||||
"@shumai/workflow-core/src/*": ["packages/workflow-core/src/*"],
|
"@shumai/workflow-core/src/*": ["./packages/workflow-core/src/*"],
|
||||||
"@shumai/agent": ["packages/agent/src/index.ts"],
|
"@shumai/agent": ["./packages/agent/src/index.ts"],
|
||||||
"@shumai/agent/src/*": ["packages/agent/src/*"],
|
"@shumai/agent/src/*": ["./packages/agent/src/*"],
|
||||||
"@shumai/transcode": ["packages/transcode/src/index.ts"],
|
"@shumai/transcode": ["./packages/transcode/src/index.ts"],
|
||||||
"@shumai/transcode/src/*": ["packages/transcode/src/*"]
|
"@shumai/transcode/src/*": ["./packages/transcode/src/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules"]
|
"exclude": ["node_modules"]
|
||||||
|
|||||||
Reference in New Issue
Block a user