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
+25 -4
View File
@@ -59,7 +59,15 @@ export async function extractVideoMetadata(filePath: string): Promise<VideoMetad
}
const probePromise = new Promise<VideoMetadata>((resolve, reject) => {
const args = ["-v", "quiet", "-print_format", "json", "-show_format", "-show_streams", filePath];
const args = [
"-v",
"quiet",
"-print_format",
"json",
"-show_format",
"-show_streams",
filePath,
];
const ffprobe = spawn("ffprobe", args);
let stdout = "";
@@ -87,7 +95,8 @@ export async function extractVideoMetadata(filePath: string): Promise<VideoMetad
}
const hasAudio = output.streams.some((s) => s.codec_type === "audio");
const fps = parseFrameRate(videoStream.avg_frame_rate) || parseFrameRate(videoStream.r_frame_rate);
const fps =
parseFrameRate(videoStream.avg_frame_rate) || parseFrameRate(videoStream.r_frame_rate);
const durationSeconds = output.format.duration ? parseFloat(output.format.duration) : 0;
const metadata: VideoMetadata = {
@@ -100,7 +109,11 @@ export async function extractVideoMetadata(filePath: string): Promise<VideoMetad
};
resolve(metadata);
} catch (parseError: unknown) {
reject(new Error(`[FFmpeg] Failed to parse ffprobe output: ${parseError instanceof Error ? parseError.message : parseError}`));
reject(
new Error(
`[FFmpeg] Failed to parse ffprobe output: ${parseError instanceof Error ? parseError.message : parseError}`,
),
);
}
});
@@ -128,7 +141,15 @@ export async function extractAudioMetadata(filePath: string): Promise<AudioMetad
}
const probePromise = new Promise<AudioMetadata>((resolve, reject) => {
const args = ["-v", "quiet", "-print_format", "json", "-show_format", "-show_streams", filePath];
const args = [
"-v",
"quiet",
"-print_format",
"json",
"-show_format",
"-show_streams",
filePath,
];
const ffprobe = spawn("ffprobe", args);
let stdout = "";