mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 14:50:02 +00:00
The cli, engine, and lint packages each carried their own copy of the ffmpeg/ffprobe lookup, annotated fallow-ignore code-duplication, and the copies had drifted: the engine copy handled Windows PATHEXT and executed which/where without a shell but lacked the Homebrew-dirs fallback for GUI-spawned processes; the cli copy had the opposite. One resolver in @hyperframes/parsers (the dependency-graph bottom) now carries the union of both hardenings, and all three packages delegate to it. Every consumer gets strictly more robust resolution; env-override semantics per call site are preserved via configuredMustExist.
30 lines
826 B
TypeScript
30 lines
826 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
index: "src/index.ts",
|
|
gsapParserExports: "src/gsapParserExports.ts",
|
|
gsapParserAcorn: "src/gsapParserAcorn.ts",
|
|
gsapWriterAcorn: "src/gsapWriterAcorn.ts",
|
|
gsapConstants: "src/gsapConstants.ts",
|
|
springEase: "src/springEase.ts",
|
|
hfIds: "src/hfIds.ts",
|
|
gsapParser: "src/gsapParser.ts",
|
|
slideshow: "src/slideshow/index.ts",
|
|
assets: "src/assets.ts",
|
|
composition: "src/composition.ts",
|
|
compositionContract: "src/compositionContract.ts",
|
|
subCompositionValidity: "src/subCompositionValidity.ts",
|
|
ffBinaries: "src/ffBinaries.ts",
|
|
},
|
|
format: ["esm"],
|
|
outDir: "dist",
|
|
target: "node22",
|
|
platform: "node",
|
|
bundle: true,
|
|
splitting: false,
|
|
sourcemap: true,
|
|
clean: true,
|
|
dts: true,
|
|
});
|