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
+8 -10
View File
@@ -30,9 +30,7 @@ async function runEnsure(): Promise<void> {
s.stop("No browser found — downloading");
const downloadSpinner = clack.spinner();
downloadSpinner.start(
`Downloading Chrome Headless Shell ${c.dim("v" + CHROME_VERSION)}...`,
);
downloadSpinner.start(`Downloading Chrome Headless Shell ${c.dim("v" + CHROME_VERSION)}...`);
let lastPct = -1;
const result = await ensureBrowser({
@@ -66,9 +64,7 @@ async function runPath(): Promise<void> {
const ensured = await ensureBrowser();
process.stdout.write(ensured.executablePath + "\n");
} catch (err: unknown) {
console.error(
err instanceof Error ? err.message : "Failed to find browser",
);
console.error(err instanceof Error ? err.message : "Failed to find browser");
process.exit(1);
}
return;
@@ -81,9 +77,7 @@ function runClear(): void {
const removed = clearBrowser();
if (removed) {
clack.outro(
c.success("Removed cached browser from ") + c.dim(CACHE_DIR),
);
clack.outro(c.success("Removed cached browser from ") + c.dim(CACHE_DIR));
} else {
clack.outro(c.dim("No cached browser to remove."));
}
@@ -92,7 +86,11 @@ function runClear(): void {
export default defineCommand({
meta: { name: "browser", description: "Manage the Chrome browser used for rendering" },
args: {
subcommand: { type: "positional", description: "Subcommand: ensure, path, clear", required: false },
subcommand: {
type: "positional",
description: "Subcommand: ensure, path, clear",
required: false,
},
},
async run({ args }) {
const subcommand = args.subcommand;