mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
* docs(skills): fix anime.js v3 syntax in v4 adapter guidance
The animejs adapter docs teach v3 syntax against a v4 build, so the examples
cannot run as written: every v4 bundle assigns a *namespace object* to the
global `anime`, making v3's `anime({ targets })` call form a TypeError. `easing:`
is now `ease:`, ease names lost their `ease` prefix, and `timeline.add()` takes
`(targets, parameters, position)`.
- Rewrite `skills/hyperframes-animation/adapters/animejs.md` for v4:
`anime.animate()` / `anime.createTimeline()`, `ease:` names, targets-first
`add()`, position shorthands, and a note that the producer fixtures pin
4.0.2 (`lib/`) while 4.1+ moved bundles to `dist/bundles/`.
- Fix the same v3 `anime.timeline({ targets })` snippet in
`skills/hyperframes-keyframes/references/keyframe-patterns.md`.
- Stop advertising `anime.running` auto-discovery as a safety net. No v4 build
exports `running` (checked 4.0.2 and 4.5.0), so `discover()` returns
immediately and any instance a composition forgets to push onto
`window.__hfAnime` is silently never seeked. Marked v3-only/inert in the
skill page and the adapter docstring; explicit registration is now stated
as mandatory.
- Add render-safety notes the page lacked: `createSeededRandom()` as the
deterministic replacement for `Math.random()`, and why
`autoplay: onScroll(...)`, `createDraggable`, and pointer-driven
`createAnimatable` cannot work under headless seek rendering.
- Regenerate skills-manifest.json.
Runtime behaviour is unchanged: the `packages/core` edit is comment-only, and
the seek path already works on v4 (registered instances expose
seek/pause/play). The now-dead `anime.running` branch in `discover()` is left
in place — it is guarded and try/caught, and removing it is a behaviour change
that belongs in its own PR.
* fix(core): align Anime.js globals with v4
---------
Co-authored-by: Miguel Ángel <miguel.sierra@heygen.com>
86 lines
1.7 KiB
JSON
86 lines
1.7 KiB
JSON
{
|
|
"source": "heygen-com/hyperframes",
|
|
"skills": {
|
|
"embedded-captions": {
|
|
"hash": "14e79d53c24e3945",
|
|
"files": 138
|
|
},
|
|
"faceless-explainer": {
|
|
"hash": "c70b904aa68cf7e5",
|
|
"files": 24
|
|
},
|
|
"figma": {
|
|
"hash": "4f524b4962bd8d7c",
|
|
"files": 2
|
|
},
|
|
"general-video": {
|
|
"hash": "49f5216832cb8e91",
|
|
"files": 4
|
|
},
|
|
"hyperframes": {
|
|
"hash": "756a72f58fa3739b",
|
|
"files": 17
|
|
},
|
|
"hyperframes-animation": {
|
|
"hash": "2ce5ca7dbf361e27",
|
|
"files": 121
|
|
},
|
|
"hyperframes-audio": {
|
|
"hash": "534cea75fe0f2bc6",
|
|
"files": 6
|
|
},
|
|
"hyperframes-cli": {
|
|
"hash": "e042fcaaa3f9767f",
|
|
"files": 11
|
|
},
|
|
"hyperframes-core": {
|
|
"hash": "e9daaccaed05b8b4",
|
|
"files": 19
|
|
},
|
|
"hyperframes-creative": {
|
|
"hash": "bacb5205ea5eb3d8",
|
|
"files": 78
|
|
},
|
|
"hyperframes-keyframes": {
|
|
"hash": "d00744ff0e669624",
|
|
"files": 3
|
|
},
|
|
"hyperframes-registry": {
|
|
"hash": "9a4049ea33f0b914",
|
|
"files": 12
|
|
},
|
|
"media-use": {
|
|
"hash": "7e329ade41b1c1ba",
|
|
"files": 152
|
|
},
|
|
"motion-graphics": {
|
|
"hash": "1434e22bb0259bbb",
|
|
"files": 23
|
|
},
|
|
"music-to-video": {
|
|
"hash": "55a2b5fdcd6f892c",
|
|
"files": 132
|
|
},
|
|
"pr-to-video": {
|
|
"hash": "7769801640dca521",
|
|
"files": 30
|
|
},
|
|
"product-launch-video": {
|
|
"hash": "81953f054fcb9d91",
|
|
"files": 28
|
|
},
|
|
"remotion-to-hyperframes": {
|
|
"hash": "3ecc684432b298dd",
|
|
"files": 70
|
|
},
|
|
"slideshow": {
|
|
"hash": "6a24a84b0c1a75f9",
|
|
"files": 2
|
|
},
|
|
"talking-head-recut": {
|
|
"hash": "2f5d99f823c48e75",
|
|
"files": 28
|
|
}
|
|
}
|
|
}
|