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 update of a single package updates all #256
Comments
happens here too |
this happened also to me with several kind of configurations. i run |
The |
I think that this should be reopened as a bug. In many cases, updating all packages can break a site, especially as certain packages may be updated ahead of others. Yet for other packages, an update is warranted. |
This no longer happens in |
I most definitely ran into this yesterday with 1.0.0. I'll try to pinpoint what may be different about my configuration. It happened both while installing a new package as well as upgrading an existing one. |
@brandoncarl It happens if there's a missing packages (declared in .json but not installed). |
Thanks for the tip. I just went through each package/version by hand, and they are installed. I do have items I placed manually in the directory. Wondering if that triggers something. I hope to get to the bottom of it, as it really makes Bower unusable if I can't know in advance what it's going to do. On Thursday, July 25, 2013 at 2:33 PM, André Cruz wrote:
|
I think I found the problem. I upgraded to Bower 1.0.0. Many of my packages were still using component.json. My guess is that when this happens, all packages are upgraded. On Friday, July 26, 2013 at 7:09 PM, Brandon Carl wrote:
|
@brandoncarl yes it needs to re-install packages installed with older bower versions, but then it should not update everything when you specify a single package. |
Thank you Andre for your help Brandon Carl On Saturday, July 27, 2013 at 6:43 AM, André Cruz wrote:
|
I also recently updated Bower and then updated a single component and noticed that in all packages "bower.json" was replaced with ".bower.json" the difference being the dot at the beginning. Also, components in my app's bower.json with the ~ in the version # were updated in the process. Not saying there is anything wrong with either of those. Just a heads up for anybody else who comes across this. |
Will reopen this as I think it shouldn't be happening, and I created an issue for a similar experience when using |
That only matters when you're installing all the packages. |
This still happens in 1.3.1. I am using |
Hitting this issue too in Bower 1.3.3. Running |
I'm using Bower 1.3.5 and still hit this Problem. @satazor can you reopen this issu |
Can @trisys3 @joecorcoran @dreampulse confirm that 1.3.9 still have this problem? |
Confirming the same issue with bower 1.3.12 on OSX. @necolas Please re-open this. |
I can confirm |
+1 👍 I wish only one package installation method worked. bower 1.3.12 on OSX |
Without version locking this feature doesn't make much sense. Please contribute to #1592 |
+1 |
The correct behavior is as @nschloe pointed out:
Failing tests can be added to: |
@prappo Why did you close it? |
@albertinadx Are you working on this issue? If you're not, let me know, and I'll hack on it later today. |
Satisfied by #2070. |
@contolini I'm on bower 1.7.9 and am still experiencing this issue. I run Is there any known reason why this would be happening? |
This is true, I had to revert because of #2097 |
Still happens in 1.8. |
Now that Bower is not developed anymore, I'll close this issue. The update command never worked very well, and in fact even npm's and yarn's update also suffers from many issues. The solution is to use proper version ranges in |
Heya,
I have a component.json file that looks like:
When I run
bower update demo
, I see the followingBut my jQuery dependency is set to 1.8.3, so why would update of demo cause jQuery to bump to 1.9.1?
I'm using bower 0.7.0.
Thanks!
Euge
The text was updated successfully, but these errors were encountered: