mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
Pre-stack fixes covering all 6 of Miguel's code-level issues, plus
the launch-video skill removal and SFX licensing note flagged by
Rames.
- snapshot.ts: `--describe` resolution was contradictory (comment
said opt-in, code defaulted to "true"). Now: runs by default,
`--describe "custom Q"` overrides the prompt, `--describe false`
opts out. Help text updated to match.
- package.json: removed `sharp` from root devDependencies. Already
declared in packages/cli; root-level was forcing every workspace
to pull the native binary.
- fontMetadataExtractor.ts: dropped the `as unknown as { ... }` cast
and the hand-rolled interface. Use `Font | FontCollection` from
`@types/fontkit` directly + a real type guard. `fsSelection` is
now typed (italic/oblique booleans, not a raw bitfield), so fontkit
API drift would surface as a compile error instead of silently
returning undefined.
- contactSheet.ts: `escapeXml` now also encodes `'` → `'` so
it's safe for both single- and double-quoted SVG attributes.
- agentPromptGenerator.ts: regex metacharacters in `baseName` are
now escaped before being interpolated into `new RegExp(...)`.
- screenshotCapture.ts: cookie-dismiss `button[id*="accept"]`-style
selectors are now scoped under a `[id*="cookie"]` / consent / gdpr
ancestor. Stops false-positives like "Accept invitation".
- skills/launch-video/: removed. Not part of the website-to-hyperframes
scope.
- skills/website-to-hyperframes/assets/sfx/CREDITS.md: documents
Pixabay provenance + license for the 20 bundled .mp3 files.
65 lines
2.4 KiB
JSON
65 lines
2.4 KiB
JSON
{
|
|
"name": "hyperframes-monorepo",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/heygen-com/hyperframes"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun run studio",
|
|
"build": "bun run --filter @hyperframes/core build && bun run --filter '@hyperframes/{core,engine,producer,player,studio,shader-transitions,aws-lambda}' build && bun run --filter @hyperframes/cli build",
|
|
"build:producer": "bun run --filter @hyperframes/producer build",
|
|
"studio": "bun run --filter @hyperframes/studio dev",
|
|
"build:hyperframes-runtime": "bun run --filter @hyperframes/core build:hyperframes-runtime",
|
|
"build:hyperframes-runtime:modular": "bun run --filter @hyperframes/core build:hyperframes-runtime:modular",
|
|
"verify:packed-manifests": "node scripts/verify-packed-manifests.mjs",
|
|
"validate:release-channel": "node scripts/validate-release-channel.mjs",
|
|
"set-version": "tsx scripts/set-version.ts",
|
|
"sync-schemas": "tsx scripts/sync-schemas.ts",
|
|
"sync-schemas:check": "tsx scripts/sync-schemas.ts --check",
|
|
"lint": "oxlint . && tsx scripts/lint-skills.ts",
|
|
"lint:skills": "tsx scripts/lint-skills.ts",
|
|
"lint:fix": "oxlint --fix .",
|
|
"format": "oxfmt .",
|
|
"test": "bun run --filter '*' test",
|
|
"player:perf": "bun run --filter @hyperframes/player perf",
|
|
"format:check": "oxfmt --check .",
|
|
"knip": "knip",
|
|
"generate:previews": "tsx scripts/generate-template-previews.ts",
|
|
"generate:catalog-previews": "tsx scripts/generate-catalog-previews.ts",
|
|
"upload:docs-images": "bash scripts/upload-docs-images.sh",
|
|
"prepare": "test -d .git && lefthook install || true"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^20.5.0",
|
|
"@commitlint/config-conventional": "^20.5.0",
|
|
"@hyperframes/player": "workspace:*",
|
|
"@types/node": "^25.0.10",
|
|
"concurrently": "^8.2.0",
|
|
"fallow": "^2.75.0",
|
|
"happy-dom": "^20.9.0",
|
|
"knip": "^6.0.3",
|
|
"lefthook": "^2.1.4",
|
|
"oxfmt": "^0.41.0",
|
|
"oxlint": "^1.56.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"overrides": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
}
|
|
}
|