Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support "hash" alias #146

Open
garak opened this issue May 24, 2016 · 0 comments
Open

support "hash" alias #146

garak opened this issue May 24, 2016 · 0 comments

Comments

@garak
Copy link
Member

garak commented May 24, 2016

Bower is supporting definitions like this one:

"Ionicons": "ionicons#^2.0.1"

where the key is a sort of name alias, where the actuale package name is in the value, followed by an hash and finally the version. So, bowerphp should support this, checking for a possible hash, stripping everything before and assigning it to package name and keeping the rest (except the hash itsfelf) as version.
So, the resulting of previous example should work as if it was:

"ionicons": "^2.0.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant