volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 100 forks source link

Create a repo of dependencies and exports #30

Closed jrburke closed 12 years ago

jrburke commented 12 years ago

For common projects, so that it is easy to auto-upgrade them to AMD or stamp config with the information without having to ask the end user to specify this information.

Maybe a "volojs/dependencies" repo and the directories are of the form:

owner/repo/deps.json

where deps.json are of the form:

{
    "deps": ["jquery", "underscore"],
    "exports": "Backbone"
}
jrburke commented 12 years ago

Should there be entries on which repos to use for the depedencies?

jrburke commented 12 years ago

Also need a way to specify download overrides. For instance, for three.js need to have it really download:

mrdoob/three.js/#build/Three.js

jrburke commented 12 years ago

https://github.com/volojs/repos has been created to house this info.

owner/repo/package.json should be used to hold package.json overrides.

owner/repo/amd.json should hold the info that is used for AMD converson, the deps and exports. Replaces the deps.json suggestion above.