fix: deterministic stagger, lint importmap/module, cache-bust previews

- Replace from:"random" with from:"center" stagger in us-map,
  world-map, spain-map — random stagger is non-deterministic across
  parallel render workers, causing visual jumps at chunk boundaries.

- Exempt type="importmap" and type="module" inline scripts from the
  invalid_inline_script_syntax lint rule. The rule used new Function()
  to parse, which rejects import statements and JSON import maps.
  Closes #929.

- Cache-bust all map MDX preview video URLs after re-rendering with
  the deterministic stagger fix.
This commit is contained in:
Miguel Ángel
2026-05-18 01:18:24 -04:00
parent 8777c18870
commit 4b9abaaf6f
13 changed files with 19 additions and 15 deletions
+2 -2
View File
@@ -311,7 +311,7 @@
duration: 0.4,
stagger: {
each: 0.08,
from: "random",
from: "center",
},
ease: "back.out(1.4)",
},
@@ -325,7 +325,7 @@
duration: 0.3,
stagger: {
each: 0.05,
from: "random",
from: "center",
},
ease: "power2.out",
},
+2 -2
View File
@@ -331,7 +331,7 @@
duration: 0.4,
stagger: {
each: 0.06,
from: "random",
from: "center",
},
ease: "back.out(1.4)",
},
@@ -345,7 +345,7 @@
duration: 0.3,
stagger: {
each: 0.04,
from: "random",
from: "center",
},
ease: "power2.out",
},
+1 -1
View File
@@ -370,7 +370,7 @@
duration: 0.3,
stagger: {
each: 0.02,
from: "random"
from: "center"
},
ease: "power1.out"
},