Merge remote-tracking branch 'origin/develop' into refactor/js-to-ts-migration

# Conflicts:
#	scripts/typecheck.ts
This commit is contained in:
Gauvino
2026-06-29 14:31:42 +02:00
115 changed files with 2429 additions and 4898 deletions

View File

@@ -146,7 +146,16 @@ function runTypeCheck(): { ok: boolean } {
const extraArgs = process.argv.slice(2);
// Prefer local TypeScript binary when available
const runnerArgs = ["-p", "tsconfig.json", "--noEmit", ...extraArgs];
// --pretty false: TS 6 enables pretty output even when piped, which breaks
// the line-based error parser below
const runnerArgs = [
"-p",
"tsconfig.json",
"--noEmit",
"--pretty",
"false",
...extraArgs,
];
let execArgs: { cmd: string; args: string[] };
try {
const tscBin = require.resolve("typescript/bin/tsc");