- Add composite TypeScript projects for common/primitives and common/runtime - Decouple primitives from runtime (buffer service interfaces, UnicodeProperties, CellTypes, etc.) - Move Types.ts to runtime; re-export primitive types from runtime/Types - Rename src/browser -> src/target-browser, src/headless -> src/target-headless - Update import paths (target-browser/*, target-headless/*) across repo - Fix esbuild outbase so common/* and target-* resolve under out-esbuild/ - Point unicode addons at primitives for UnicodeTypes/UnicodeProperties - Update ARCHITECTURE.md and AGENTS.md Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
38 lines
786 B
JSON
38 lines
786 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"es2021",
|
|
],
|
|
"outDir": "../../out-test/benchmark",
|
|
"rootDir": "../..",
|
|
"types": [
|
|
"../../node_modules/@types/node"
|
|
],
|
|
"moduleResolution": "nodenext",
|
|
"strict": false,
|
|
"target": "es2021",
|
|
"module": "nodenext",
|
|
"paths": {
|
|
"common/*": [
|
|
"../../src/common/primitives/*",
|
|
"../../src/common/runtime/*",
|
|
"../../src/common/*"
|
|
],
|
|
"target-browser/*": [ "../../src/target-browser/*" ],
|
|
"Terminal": ["../../src/Terminal"]
|
|
},
|
|
},
|
|
"include": [
|
|
"./**/*",
|
|
"../../typings/xterm.d.ts"
|
|
],
|
|
"exclude": [
|
|
"../../**/*test.ts"
|
|
],
|
|
"references": [
|
|
{ "path": "../../src/common" },
|
|
{ "path": "../../src/target-browser" },
|
|
]
|
|
}
|