chore(deps): replace cli-highlight (#4468)

This commit is contained in:
Armin Ronacher
2026-05-13 12:19:45 +02:00
committed by GitHub
parent 2829146dde
commit e0b5d27af2
8 changed files with 281 additions and 149 deletions

View File

@@ -2,12 +2,12 @@ import * as fs from "node:fs";
import * as path from "node:path";
import type { EditorTheme, MarkdownTheme, SelectListTheme } from "@earendil-works/pi-tui";
import chalk from "chalk";
import { highlight, supportsLanguage } from "cli-highlight";
import { type Static, Type } from "typebox";
import { Compile } from "typebox/compile";
import { getCustomThemesDir, getThemesDir } from "../../../config.js";
import type { SourceInfo } from "../../../core/source-info.js";
import { closeWatcher, watchWithErrorHandler } from "../../../utils/fs-watch.js";
import { highlight, supportsLanguage } from "../../../utils/syntax-highlight.js";
// ============================================================================
// Types & Schema