- 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>
34 lines
880 B
JSON
34 lines
880 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"es2021"
|
|
],
|
|
"rootDir": "..",
|
|
"outDir": "../out-benchmark",
|
|
"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/*"],
|
|
"SerializeAddon": ["../src/SerializeAddon"],
|
|
"@xterm/addon-serialize": [
|
|
"../typings/addon-serialize.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"include": ["../**/*", "../../../typings/xterm.d.ts"],
|
|
"exclude": ["../../../**/*test.ts", "../../**/*api.ts"],
|
|
"references": [
|
|
{ "path": "../../../src/common" },
|
|
{ "path": "../../../src/target-browser" }
|
|
]
|
|
}
|