Skip to content

@babylonjsmarket/ecs@0.1.3 — stop blocking installs on Babylon version

Choose a tag to compare

@lawwantsin lawwantsin released this 20 May 01:04

Fixes ERESOLVE on any Babylon version mismatch by setting peer ranges to *:

  • @babylonjs/core: >=8.0.0*
  • @babylonjs/loaders: >=8.0.0*
  • @babylonjs/havok: >=1.3.0*
  • three: >=0.180.0*

Why this was needed

Optional peer dependencies (peerDependenciesMeta.optional = true) only suppress "missing peer" warnings — they still enforce the version range when the peer is present. That meant a project on Babylon 7 still hit ERESOLVE even though Babylon is optional from this package's perspective.

Setting the range to * advertises the peer but lets npm resolve without enforcement. Consumers pick whatever Babylon version works for them.