style: apply oxfmt baseline formatting across all source files (#25)

## Summary
- Run `oxfmt .` across the entire codebase to establish formatted baseline
- 299 files changed — mechanical formatting only, no logic changes
- Double quotes, semicolons, 2-space indent, trailing commas, 100 print width

Part 3/4 of [VA-851](https://linear.app/heygen/issue/VA-851/pre-migration-configure-eslint-prettier-and-conventional-commits)

## Test plan
- [x] `pnpm format:check` — all 426 files pass
- [x] `pnpm -r typecheck` — all packages pass
- [x] `pnpm build` — all packages build
- [x] All 348 tests pass
This commit is contained in:
Vance Ingalls
2026-03-23 17:15:14 -07:00
committed by GitHub
parent 323ff8f860
commit 20be2ea1c2
299 changed files with 27750 additions and 16792 deletions
+24 -3
View File
@@ -289,7 +289,18 @@ export async function encodeFramesChunkedConcat(
const concatInput = chunkPaths.map((path) => `file '${path.replace(/'/g, "'\\''")}'`).join("\n");
writeFileSync(concatListPath, concatInput, "utf-8");
const concatArgs = ["-f", "concat", "-safe", "0", "-i", concatListPath, "-c", "copy", "-y", outputPath];
const concatArgs = [
"-f",
"concat",
"-safe",
"0",
"-i",
concatListPath,
"-c",
"copy",
"-y",
outputPath,
];
const concatResult = await new Promise<{ success: boolean; error?: string }>((resolve) => {
const ffmpeg = spawn("ffmpeg", concatArgs);
let stderr = "";
@@ -358,7 +369,12 @@ export async function muxVideoWithAudio(
const result = await runFfmpeg(args, { signal, timeout: processTimeout });
if (signal?.aborted) {
return { success: false, outputPath, durationMs: result.durationMs, error: "FFmpeg mux cancelled" };
return {
success: false,
outputPath,
durationMs: result.durationMs,
error: "FFmpeg mux cancelled",
};
}
return {
success: result.success,
@@ -384,7 +400,12 @@ export async function applyFaststart(
const result = await runFfmpeg(args, { signal, timeout: processTimeout });
if (signal?.aborted) {
return { success: false, outputPath, durationMs: result.durationMs, error: "FFmpeg faststart cancelled" };
return {
success: false,
outputPath,
durationMs: result.durationMs,
error: "FFmpeg faststart cancelled",
};
}
return {
success: result.success,