mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
The engine package's hdrCapture.ts uses WebGPU APIs and references @webgpu/types via a triple-slash directive, and both engine and producer tsconfigs include @webgpu/types in compilerOptions.types. However the package was never declared as a devDependency, so it worked locally (transitive resolution) but failed in CI with TS2688: Cannot find type definition file for '@webgpu/types'. Add @webgpu/types ^0.1.69 as a devDependency to both packages and refresh bun.lock so the CI Build and Typecheck jobs pass. Made-with: Cursor
39 lines
890 B
JSON
39 lines
890 B
JSON
{
|
|
"name": "@hyperframes/engine",
|
|
"version": "0.4.6",
|
|
"description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
"directory": "packages/engine"
|
|
},
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.13.0",
|
|
"@hyperframes/core": "workspace:^",
|
|
"hono": "^4.6.0",
|
|
"linkedom": "^0.18.12",
|
|
"puppeteer": "^24.0.0",
|
|
"puppeteer-core": "^24.39.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.1",
|
|
"@webgpu/types": "^0.1.69",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|