I'm using bower 1.3.12
Here is my bower.json
{
"name": "my_project",
"version": "0.0.0",
"authors": [
"ME <me@email.com>"
],
"main": "index.php",
"license": "None",
"homepage": "http://project.com",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"inuit-layout": "~0.3.2",
"inuit-starter-kit": "~0.2.8",
"inuit-widths": "~0.3.2",
"inuit-widths-responsive": "~0.1.3",
"inuit-clearfix": "~0.2.1",
"angular": "~1.3.3",
"angular-animate": "~1.3.3",
"dropzone": "~3.12.0",
"nouislider": "~7.0.10",
"angular-nouislider": "~0.3.1",
"angular-google-maps": "~2.0.12",
"slick-carousel": "~1.3.15",
"selectize": "~0.8.5",
"angular-selectize2": "~1.1.1"
},
"resolutions": {
"angular": ">=1.2.18",
"selectize": ">=0.9.0"
}
}
Notice I'm using Angular v 1.3
But when I do... bower install magnific-popup --save
I see that bower has downgraded Angular to v1.2.28.
I see that 1.2.28 is listed in the resolutions but I don't understand why this has anything to do with installing an unrelated package with no overlapping dependancies.
Why is this happening and how do I fix it?
Update
If I remove the "dependencies"
key/value from bower.json, I am prompted with this:
Unable to find a suitable version for angular, please choose one:
1) angular#~1.2.6 which resolved to 1.2.28 and is required by angular-nouislider#0.3.1
2) angular#1.3.3 which resolved to 1.3.3 and is required by angular-animate#1.3.3
3) angular#~1.3.3 which resolved to 1.3.13 and is required by letreehouse
4) angular#>=1.2.0 which resolved to 1.3.13 and is required by angular-google-maps#2.0.12Prefix the choice with ! to persist it to bower.json
Should I just choose 1.3.13
and move on? Or is should I be worried about a larger problem?