fix: resolve build and typecheck failures across packages

This commit is contained in:
James
2026-03-23 01:29:53 +00:00
parent 00909c8258
commit fac39541f5
6 changed files with 94 additions and 11 deletions
+2 -3
View File
@@ -103,13 +103,12 @@ export default defineCommand({
try {
const startTime = Date.now();
await producer.renderComposition(project.dir, {
output: outputPath,
const job = producer.createRenderJob({
fps: config.fps,
quality: config.quality,
workers: config.workers,
quiet: true,
});
await producer.executeRenderJob(job, project.dir, outputPath);
const elapsedMs = Date.now() - startTime;
let fileSize: number | null = null;
+4 -5
View File
@@ -143,14 +143,13 @@ async function renderDocker(
const startTime = Date.now();
try {
await producer.renderComposition(projectDir, {
output: outputPath,
const job = producer.createRenderJob({
fps: options.fps,
quality: options.quality,
workers: options.workers ?? null,
gpu: options.gpu,
quiet: options.quiet,
workers: options.workers,
useGpu: options.gpu,
});
await producer.executeRenderJob(job, projectDir, outputPath);
} catch (error: unknown) {
const message = error instanceof Error ? error.message : String(error);
errorBox("Render failed", message, "Try --docker for containerized rendering");