Closed aroman closed 10 years ago
For anyone else who might want to install validator through bower right now, of course the following works:
"dependencies": {
...
"validator": "git@github.com:chriso/validator.js.git#3.2.0",
}
Not much we can do about conflicts in a flat namespace. Is validator.js taken?
Unfortunately yes, by https://github.com/guillaumepotier/validator.js.
See: http://sindresorhus.com/bower-components/#!/search/validator
:confused: not sure then. I could suggest in the README that people install from git but then they need to manually specify a version or take the risk with HEAD.
yeah, i guess you could ask the guy who owns https://github.com/cam-stitt/validator to unlist his (apparently unmaintained) module from bower, or you could list this module on bower under a different name such as "validatorjs" (which isn't taken).
But yeah, in the meantime I'm just specifying the version via github with the 3.2.0 release tag. If you don't want to compromise the name in bower, I'd suggest putting a note about that workaround in the README and closing this issue.
Basically, 'validator' is already a package on bower:
So there's some clobbering going on in bower right now. What can be done to fix this?