Inline compiler options in common layer tsconfigs; remove tsconfig.compiler.json
Each subfolder tsconfig.json now explicitly lists lib, types, paths, and project references instead of extending a shared tsconfig.compiler.json. Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
6d826ac022
commit
ba582efbfa
@@ -1,21 +1,40 @@
|
||||
{
|
||||
"extends": [
|
||||
"../../tsconfig-library-base",
|
||||
"../tsconfig.compiler.json"
|
||||
],
|
||||
"extends": "../../tsconfig-library-base",
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"es2015",
|
||||
"es2016.Array.Include",
|
||||
"es2019.string",
|
||||
"es2021.weakref",
|
||||
"dom"
|
||||
],
|
||||
"types": [
|
||||
"../../../node_modules/@types/mocha"
|
||||
],
|
||||
"paths": {
|
||||
"@xterm/xterm": ["../../../typings/xterm.d.ts"],
|
||||
"common/base/*": ["../base/*"],
|
||||
"common/encoding/*": ["../encoding/*"],
|
||||
"common/data/*": ["./*"],
|
||||
"common/buffer/*": ["../buffer/*"],
|
||||
"common/parser/*": ["../parser/*"],
|
||||
"common/input/*": ["../input/*"],
|
||||
"common/services/*": ["../services/*"],
|
||||
"common/terminal/*": ["../terminal/*"],
|
||||
"common/public/*": ["../public/*"],
|
||||
"common/*": ["../*"],
|
||||
"*": ["../../*"]
|
||||
},
|
||||
"outDir": "../../../out/common/data",
|
||||
"rootDir": "."
|
||||
},
|
||||
"include": [
|
||||
"./**/*"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../base"
|
||||
}
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.test.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../base" }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user