Remove TypeScript path mappings in favor of relative imports

Replace common/*, browser/*, and headless/* path-mapped imports with
relative paths across src/, addons/, test/, and demo/. Remove paths
from all tsconfig.json files and include addon typings directly.

Addon sources import shared code via out-esbuild/ so unit tests resolve
compiled modules with runtime const enums. Fix benchmark bare imports
and normalize corrupted tsconfig formatting.

Resolves #5896

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-28 01:01:25 +00:00
co-authored by Daniel Imms
parent a04941a936
commit 9a96b27566
194 changed files with 759 additions and 759 deletions
+8 -8
View File
@@ -1,12 +1,12 @@
import { ISelectionRenderModel } from 'browser/renderer/shared/Types';
import { ICoreBrowserService, IThemeService } from 'browser/services/Services';
import { ReadonlyColorSet } from 'browser/Types';
import { Attributes, BgFlags, ExtFlags, FgFlags, NULL_CELL_CODE, UnderlineStyle } from 'common/buffer/Constants';
import { IDecorationService, IOptionsService } from 'common/services/Services';
import { ICellData } from 'common/Types';
import { ISelectionRenderModel } from '../../../out-esbuild/browser/renderer/shared/Types';
import { ICoreBrowserService, IThemeService } from '../../../out-esbuild/browser/services/Services';
import { ReadonlyColorSet } from '../../../out-esbuild/browser/Types';
import { Attributes, BgFlags, ExtFlags, FgFlags, NULL_CELL_CODE, UnderlineStyle } from '../../../out-esbuild/common/buffer/Constants';
import { IDecorationService, IOptionsService } from '../../../out-esbuild/common/services/Services';
import { ICellData } from '../../../out-esbuild/common/Types';
import { Terminal } from '@xterm/xterm';
import { rgba } from 'common/Color';
import { treatGlyphAsBackgroundColor } from 'browser/renderer/shared/RendererUtils';
import { rgba } from '../../../out-esbuild/common/Color';
import { treatGlyphAsBackgroundColor } from '../../../out-esbuild/browser/renderer/shared/RendererUtils';
import { blockPatternCodepoints } from './customGlyphs/CustomGlyphDefinitions';
// Work variables to avoid garbage collection