aframevr / aframe-registry

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

Consider flattening structure to support other module types later (components, systems, primitives) #28

Open ngokevin opened 8 years ago

ngokevin commented 8 years ago

We could perhaps cross this road later once we consider support, but good to get feedback. This is easier than managing different aspects of a package across different keys.

Current:

components:
  aframe-physics:
    names: body, joint

to:

aframe-physics:
  components: body, joint
  systems: physics
  primitives: a-newtons-cradle
feiss commented 8 years ago

yup, this has lot of sense. And if is only a component, no problemo:

my-cool-component:
     components: my-cool-component