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:
co-authored by
Daniel Imms
parent
a04941a936
commit
9a96b27566
@@ -5,7 +5,7 @@
|
||||
import { test } from '@playwright/test';
|
||||
import { deepStrictEqual, notStrictEqual, strictEqual } from 'assert';
|
||||
import { ITestContext, createTestContext, openTerminal, pollFor, timeout } from './TestUtils';
|
||||
import { IRenderDimensions } from 'browser/renderer/shared/Types';
|
||||
import { IRenderDimensions } from '../../src/browser/renderer/shared/Types';
|
||||
|
||||
let ctx: ITestContext;
|
||||
test.beforeAll(async ({ browser }) => {
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
import { Browser, JSHandle, Page } from '@playwright/test';
|
||||
import { deepStrictEqual, strictEqual } from 'assert';
|
||||
import type { IRenderDimensions as IRenderDimensionsInternal } from 'browser/renderer/shared/Types';
|
||||
import type { IRenderService } from 'browser/services/Services';
|
||||
import type { ICoreTerminal, IDisposable, IMarker } from 'common/Types';
|
||||
import type { IRenderDimensions as IRenderDimensionsInternal } from '../../src/browser/renderer/shared/Types';
|
||||
import type { IRenderService } from '../../src/browser/services/Services';
|
||||
import type { ICoreTerminal, IDisposable, IMarker } from '../../src/common/Types';
|
||||
import * as playwright from '@playwright/test';
|
||||
import { IBuffer, IBufferCell, IBufferLine, IBufferNamespace, IBufferRange, IDecoration, IDecorationOptions, IModes, IRenderDimensions, ITerminalInitOnlyOptions, ITerminalOptions, Terminal } from '@xterm/xterm';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user