-
Notifications
You must be signed in to change notification settings - Fork 332
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.json support #43
Comments
npm-check-updates uses npm heavily, so maybe the bower version would be a On Wed, Jan 28, 2015 at 8:38 AM, Lipis [email protected] wrote:
|
I still believe that it could be part of this one with a separate argument or something instead of having two different repos.. plus this one is already quite popular.. |
It's better to split things up into independent, modular pieces as much as On Wed, Jan 28, 2015 at 12:27 PM, Lipis [email protected] wrote:
|
Thinking about this more, I agree this would be very useful. Maybe house them in the same package, but expose two executables: npm-check-updates and bower-check-updates? |
It's not What about:
and slowly adding on whatever else out there.. :) |
Or maybe just something like that:
These files always going to have this exact filename otherwise it doesn't make sense.. so this is more extensible :) |
+1 for being able to update bower components as well. See also bower-update |
Thanks Jacob. It's helpful to hear how this is an issue for you. It would On Thu, Feb 12, 2015 at 2:48 PM, Jacob [email protected] wrote:
|
I actually searched for bower-check-updates immediately after finding this one... |
would be great! |
+1 |
So what do you think @metaraine.. will we see that any time soon?! |
Thanks for the feedback. Since many people are interested in this feature, I will make this the next thing to implement. It requires decoupling the package system specifics from the version comparison and update logic. I have put significant time into development over the last several months: converting everything to Promises, fixing bugs, refactoring, expanding unit test coverage, and updating the output format. All of this is culminating in the v2 release within the next few days. I will need to take a break after all of this work. If anyone is interested in taking this on I would be happy to support them. Otherwise it will have to wait till later in the year, when I have some free time again. |
We can just thank you for all the effort and time @metaraine!! Whenever you have time.. unfortunately my time is also limited but if anyone can help.. it will be much appreciated as well :) |
In the meantime: https://www.npmjs.com/package/bower-update |
Just placed it here https://github.com/se-panfilov/bower-check-updates P.s. My vote is for ncu -u bower.json |
@se-panfilov Thanks for maintaining the fork during the interim. One question: Isn't it still searching npm instead of bower? What if something is in the bower registry but not npm, or is different? (FYI, you could always pipe bower.json to ncu and then write it back to bower.json like this: |
Hey guys, I can reply to that question, i've tried to use bcu, it still uses the NPM repo for bower and that makes it unusable. E.g. for modernizr, on NPM we have version 3.0.0-alpha.4 but on github the latest release is 2.8.3. So it's not feasible to just pipe the bower.json to ncu. |
Thank you, @zenopopovici, that's what I imagined. It is not a difficult addition, I've just been busy lately and already put considerable time into the project this summer. If anybody has an hour or two free to add this feature, I'll happily review a pull request and advise as needed. As for the suggested interface, I would prefer having a single command-line option like My suggestion:
|
I would like to suggest making it more of a flag so that you could update On Sat, 15 Aug 2015, 21:22 Raine [email protected] wrote:
|
@Climax777 Thanks for the suggestion. That would be nice to do both in one call. Since the current output reflects a single set of dependencies, it would have to output separate sections that clearly indicate which package they are for. This, in addition to the fact that npm and bower would be two completely separate API calls and data flows, makes me think simply running them together in bash would be preferable:
|
That is a very good point. One could display the origin next to the On Sun, 16 Aug 2015, 03:12 Raine [email protected] wrote:
|
Rejoice! Bower support is here.
|
💯 👊 |
You Sir are awesome! |
Maybe adding this line somewhere in the README to have it as an example? |
Just updated to v3 and wondered why NPM was installing bower and a bunch of other crap bower needs. We don't all use or need Bower. I myself use JSPM. There is already and easy built in way to use the latest bower packages within bower, there is also a similar tool available. I vote to remove bower from this package. Bower support should be a seperate package. This violates NPM/GNU philosophy of small packages that do one thing. I would like a jspm-check-updates but I would not want it in the same package. Remove Bower support and move it to it's own package., this was a mistake and you will get more backlash than praise. People are moving away from bower to stuff like JSPM and WebPack. Bower has increased the installation size and increased dependencies that won't be needed if bower is not used. I'm sure if I JSPM support was added, those who don't use JSPM would be ticked about having an increased install/update time, increased space, and longer processing. It's also runs slower than the latest v2. I will be downgrading :( |
I completely disagree.. I think that's the right place for such utility that upgrades the packages to their latest. It could even support more filetypes instead of removing this one.. we are talking about milliseconds and if anything the other packages shouldn't affect the speed of the individual ones. I'm closing this issues as it's resolved. |
Bunch of projects are using bower.json files and it would awesome if it could also upgrade these packages as well to their latest if defined with a version..!
The text was updated successfully, but these errors were encountered: