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

Volo add local from package.json updates relative path #206

Closed jbblanchet closed 4 years ago

jbblanchet commented 9 years ago

I have a package.json file containing the following dependency:

"lib/test": "local:../test/test.js"

When running volo add from the command line, the package.json will be updated to the absolute path:

"lib/test": "local:C:\\folder\\test\\test.js"

I need the relative file path, and I don't think volo should update the package.json when using volo add to install all dependencies.