WickyNilliams / enquire.js

Awesome Media Queries in JavaScript
http://wicky.nillia.ms/enquire.js/
MIT License
3.62k stars 269 forks source link

bower version and tag mismatch #78

Closed codekipple closed 11 years ago

codekipple commented 11 years ago

Just installed via bower to the latest tag v2.1.0 and bower said this:- "mismatch Version declared in the json (2.0.3) is different than the resolved one (2.1.0)"

WickyNilliams commented 11 years ago

Hmm, I'm not entirely sure what's going on there. The bower.json states the version is 2.1.0 and there's a tag for that version in the repo. I'm not familiar with bower, so you may have to assist with diagnosing this, if you'd be so kind :)

codekipple commented 11 years ago

I think it's because the version tagged as v2.1.0 actually has a bower.json that says '2.0.3'. You can see that here https://github.com/WickyNilliams/enquire.js/blob/v2.1.0/bower.json

I'm new to using bower i just thought i'd give it a spin, when i specify to bower that i want version v2.1.0 (i choose this as it looked like the latest stable version, also new to enquire.js too but really like it) it takes everything from that tag and then notices that the bower.json is not matching up with the tag version.

It's not a big deal it just alerts you but stills downloads the files for you, it's just a notice really.

WickyNilliams commented 11 years ago

Thanks for the info. I've only given bower a cursory glance, need to get to grips with it myself as I've been tripped up by a few things in that area.

Anyway, I've deleted the old tag and retagged it. I just installed v2.1.0 via bower and got no complaints so hopefully all is now well :) Close the issue if it's all good at your end

Shedal commented 7 years ago

This is again an issue. All versions from 2.1.3 and above have 2.1.2 specified in the package.json:

https://github.com/WickyNilliams/enquire.js/blob/v2.1.6/bower.json