Volo updated, documented "add" rules

1 view
Skip to first unread message

James Burke

unread,
Feb 3, 2012, 12:42:16 AM2/3/12
to amdpackag...@googlegroups.com
There is a 0.0.4 update for volo which now does some parsing for AMD
and commonjs dependencies, but it only uses that right now to know how
much from the tar.gz it should keep, not to do a nested install of
external dependencies. But the plus side is that it also detects if
CommonJS/Node style modules are in play and will AMD wrap them, if the
project is an AMD project.

This allowed me for example to do a test where I grabbed uglifyjs from
github and was then able to use it in my requirejs/AMD project right
away after the add.

I also documented the rules it is using right now to know what to keep
from the tar.gz file:

https://github.com/volojs/volo/wiki/add-dependency-rules

I'll be contacting the dojo-contributors list and asking them how they
feel about this kind of approach, with github and the rules mentioned
above. Give a holler if you think I should be doing this differently.

James

Reply all
Reply to author
Forward
0 new messages