I use volo v0.3.1. When I add my library to a project with volo I am getting a warning:
$ volo add heya/unify heya-unify
The result is wrong: library's main.js file is renamed as heya-unify.js, and placed in www/lib directory, but the rest of files in the library is ignored. Expected: a directory named heya-unify should be created in www/lib, and heya-unify.js should be a thunk file loading files from that directory.
When I specify -amdoff, I have no warning, yet the result is the same:
$ volo add -f -amdoff heya/unify heya-unify
Installed github:heya/unify/0.1.11 at www/lib/heya-unify.js
AMD dependency name: heya-unify
Interesting enough that heya/unify is modelled after uhop/dcl, yet the latter works properly with volo, while the former is installed incorrectly. Just like uhop/dcl, heya/unify has package.json and available with npm. Just like uhop/dcl package.json has no amd nor volo properties in it.
The only difference is that the main module is actually named main.js --- is this a problem? The doc says: "If there is a main module that serves as the entry point into the collection of modules, name it main.js and place it at the top level of the repo". I did precisely that because it is a collection of modules, there is a main module, which serves as an entry point to the main functionality. But somehow auxiliary modules are lost. If this is the culprit, it would be nice to reword the doc to be clearer, and spell out the exact behavior of volo.
Or did I do something wrong on my side? How can I fix it?
Cheers,
Eugene