aframevr / aframe-registry

[DISCONTINUED] Curated collection of community A-Frame components.
https://aframe.io/registry/
MIT License
77 stars 39 forks source link

Support dependencies #47

Closed ngokevin closed 7 years ago

ngokevin commented 7 years ago

If a component specifies dependency components (on other components in the Registry):

This will allow for components to build on top of each other (e.g., a component can use animations).

dmarcos commented 7 years ago

How do components specify the versions of the components they depend on

ngokevin commented 7 years ago

Registry handles versioning. When you install 0.4.0 version of component foo, it will install 0.4.0 version of component bar.

dmarcos commented 7 years ago

What happens if component foo version 0.4.0 uses version 0.2.3 of component bar and version 0.3.4 of component xyz?

dmarcos commented 7 years ago

How can components lock to a specific version of the dependencies?

dmarcos commented 7 years ago

Can two components x and y depend on different versions of the component z?

dmarcos commented 7 years ago

What happens if components bundle dependencies with them and another component depends on a diferent version of one of the bundled components?

machenmusik commented 7 years ago

namespace clashes, which could be fixed if component map keys have versioning, and there is wildcard-like matching as npm does... ?