Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know when a new package version using bower?

Tags:

bower

I am using bower see dependencies from my bower.json below, so the question is I want bower to give a report of dependencies with newer version release but without installing it, for insatnce using npm-check-updates for npm give a nice list of dependencies that are outdated.

...
 "dependencies": {
        "angular": "1.3.0-beta.17",
        "angular-animate": "1.3.0-beta.17",
        "angular-mocks": "1.3.0-beta.17",
        "angular-resource": "1.3.0-beta.17",
        "angular-route": "1.3.0-beta.17",
        "angular-ui-select2": "~0.0.5",
        "underscore": "~1.x",
        "bootstrap": "~3.x",
        "components-font-awesome": "~4.x",
        "angular-bootstrap": "~0.11.0",
        "ng-grid": "~2.0.11",
        "AngularJS-Toaster": "~0.4.6",
        "intro.js": "~0.9.0",
        "angular-intro.js": "~1.1.1"
    },
...
like image 290
Acosta Avatar asked Jul 30 '14 13:07

Acosta


People also ask

How do I know my bower version?

Bower lets you query the bower registry via the command line to find a package by a given name and then list its versions. e.g.

How do I update my bower package?

If there aren't that many bower packages you have installed, try writing bower install [package_name] --save . This will just update your bower. json file.

Is bower still relevant?

Bower has been deprecated by its creators After a long and heated debate on Github, the creators of Bower decided it does not add value to the current web development stack and should be discontinued.


1 Answers

You can just do bower ls and it'll tell you which packages are outdated. However there's discussion regarding adding an outdated command alias to be consistent with other package managers, included npm. You can voice your support here: https://github.com/bower/bower/issues/1138

like image 116
Ray Shan Avatar answered Oct 05 '22 05:10

Ray Shan