refactor: move terminal core into package (#88279)

* refactor: move terminal core into package

* refactor: move terminal module files

* fix: clean terminal package CI followups

* test: update lint suppression allowlist

* fix: ship terminal core runtime aliases
This commit is contained in:
Peter Steinberger
2026-05-30 11:07:45 +02:00
committed by GitHub
parent 7b699fddac
commit de1dfab03e
351 changed files with 1158 additions and 457 deletions

View File

@@ -378,7 +378,7 @@ describe("proxy cli runtime", () => {
it("applies the terminal color theme when rich output is enabled", async () => {
vi.resetModules();
vi.doMock("../terminal/theme.js", () => ({
vi.doMock("../../packages/terminal-core/src/theme.js", () => ({
colorize: (rich: boolean, color: (value: string) => string, value: string) =>
rich ? color(value) : value,
isRich: () => true,
@@ -400,7 +400,7 @@ describe("proxy cli runtime", () => {
expect(output).toContain("<heading>Checks</heading>");
expect(output).toContain("<success>✓</success>");
} finally {
vi.doUnmock("../terminal/theme.js");
vi.doUnmock("../../packages/terminal-core/src/theme.js");
}
});