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

Bower install of specific tagged version #47

Closed
meconlin opened this issue May 10, 2014 · 2 comments
Closed

Bower install of specific tagged version #47

meconlin opened this issue May 10, 2014 · 2 comments

Comments

@meconlin
Copy link

I am having troubling using bower to install a specific tagged version.

When I attempt to install 1.1.0-beta.14 (which is angular 1.2.16).
I end up with 1.1.0-beta.19 (which needs angular 1.2.17) causing me conflicts.

Why does bower fetch beta.19?

Some output from my install command

$ node_modules/bower/bin/bower install mobile-angular-ui#1.1.0-beta.14
bower mobile-angular-ui#1.1.0-beta.14       not-cached git://github.com/mcasimir/mobile-angular-ui.git#1.1.0-beta.14
bower mobile-angular-ui#1.1.0-beta.14          resolve git://github.com/mcasimir/mobile-angular-ui.git#1.1.0-beta.14
bower mobile-angular-ui#~1.1.0              not-cached git://github.com/mcasimir/mobile-angular-ui.git#~1.1.0
bower mobile-angular-ui#~1.1.0                 resolve git://github.com/mcasimir/mobile-angular-ui.git#~1.1.0
bower mobile-angular-ui#1.1.0-beta.14         download https://github.com/mcasimir/mobile-angular-ui/archive/1.1.0-beta.14.tar.gz
bower mobile-angular-ui#~1.1.0                download https://github.com/mcasimir/mobile-angular-ui/archive/1.1.0-beta.19.tar.gz

List cached to see what it downloaded:

node_modules/bower/bin/bower cache list
angular=git://github.com/angular/bower-angular.git#1.2.17-build.162+sha.5319621
angular-route=git://github.com/angular/bower-angular-route.git#1.2.16
angular-toggle-switch=git://github.com/cgarvis/angular-toggle-switch.git#0.3.0
angular-touch=git://github.com/angular/bower-angular-touch.git#1.2.16
bootstrap=git://github.com/twbs/bootstrap.git#3.0.3
fastclick=git://github.com/ftlabs/fastclick.git#1.0.1
font-awesome=git://github.com/FortAwesome/Font-Awesome.git#4.0.3
iscroll=git://github.com/cubiq/iscroll.git#5.1.1
jquery=git://github.com/jquery/jquery.git#2.1.1
mobile-angular-ui=git://github.com/mcasimir/mobile-angular-ui.git#1.1.0-beta.14
mobile-angular-ui=git://github.com/mcasimir/mobile-angular-ui.git#1.1.0-beta.19
overthrow=git://github.com/filamentgroup/Overthrow.git#0.7.0

@mcasimir
Copy link
Owner

Ok I think I could relax this dependency since it would work with any version of Angular 1.2+. Moreover I've included some dependency that are used only in demo and that could potentially cause conflicts, so I could drop them at all and link from their cdns.

Anyway I don't know why bower would fetch beta.19 despite of what you setup in your bower.json.

I'm going to release beta.20 with a looser dependency on Angular 1.2, and i strongly advice you to use it in place of beta.14 because it has a lot of changes/fixes since beta.14 and is more close to a first release candidate. See CHANGELOG.

@mcasimir
Copy link
Owner

Thinking it twice.. I can drop the whole angular.js dependency since it does not take part in building process.

Thank You

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

No branches or pull requests

2 participants