volojs / volo

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

add: when url contains version, the localname includes the version #67

Closed jrburke closed 12 years ago

jrburke commented 12 years ago

As a result of the fix for #41, volo add jquery now ends up installing the file as jquery-1.7.2.js instead of just jquery.js

This should be fixed, the idea behind local names is that they should be version-agnostic so that they fit well with module schemes that are just baseUrl + dependencyname + .js.

Likely fix, trim [-.]?version[-.]? from the local name.