bower-update icon indicating copy to clipboard operation
bower-update copied to clipboard

Idea: optionally persist updated versions to bower.json

Open homerjam opened this issue 9 years ago • 9 comments

Similar to the way this works https://www.npmjs.com/package/npm-check-updates

homerjam avatar Mar 11 '15 10:03 homerjam

Good idea for pull request.

sapegin avatar Mar 11 '15 12:03 sapegin

Just to clarify: this issue is about making updating of bower.json optional. If bower-update doesn’t update it (as was the case in #14) then it’s a bug and should be reported.

sapegin avatar Apr 21 '15 14:04 sapegin

I too expected this to actually update the versions in bower.json like npm-check-updates. This would be far more useful if it did that :)

catdadcode avatar May 28 '15 17:05 catdadcode

@chevex What do you mean by “actually update”?

sapegin avatar May 28 '15 18:05 sapegin

Persist the latest version numbers to bower.json, like the way npm-check-updates does to package.json.

catdadcode avatar May 28 '15 19:05 catdadcode

That’s what bower-update do.

sapegin avatar May 28 '15 19:05 sapegin

So after running it, deleting bower_components, and running "bower install" I should have the latest versions of the dependencies? Maybe I did something wrong...

catdadcode avatar May 28 '15 19:05 catdadcode

I will try it again when I am at a computer in an hour.

catdadcode avatar May 28 '15 19:05 catdadcode

You don’t need to remove the folder and run bower install. Just run bower-update.

https://github.com/sapegin/bower-update/pull/14#issuecomment-94759494

sapegin avatar May 28 '15 19:05 sapegin