Files
dpid cc72ffc647 fix(worldlabs): pin three to ^0.180.0 to match Spark 2.0 peer dep
Spark 2.0 declares `three@^0.180.0` as its peer. Three treats every 0.x
minor as potentially breaking, so the previous `three@^0.183.0` pin
caused ERESOLVE on `npm install` for both the worldlabs-arcade example
and any new game scaffolded from the threejs-3d template + /worldlabs.

- examples/worldlabs-arcade: three ^0.183.0 → ^0.180.0
- templates/threejs-3d: three ^0.183.0 → ^0.180.0
- skills/worldlabs/SKILL.md: document the three@^0.180.0 requirement
  alongside the @sparkjsdev/spark@^2.0.0 pin

Verified with a clean `npm install` in examples/worldlabs-arcade — no
peer warnings, no --legacy-peer-deps needed. Template uses only stable
pre-0.150 three APIs (Scene, WebGLRenderer, GLTFLoader, OrbitControls,
MeshoptDecoder, SkeletonUtils), so stepping back 3 minors has no
functional impact.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 16:51:22 -07:00
..