如何找到一个鲍尔依赖的可用版本

假设我想在 bower.json 中包含 jquery-ui 的最新版本。有没有办法找出哪些版本是可用的?

我看到我可以在 http://sindresorhus.com/bower-components/#!/search/jquery-ui上找到可用的组件,但似乎没有提到任何版本。

48198 次浏览

You can use info command to get information

for example:

Open a terminal and type

bower info jquery-ui

You will get a list of available versions as well

BTW: You can search via your terminal with:

bower search jquery-ui

In case you are working with IntelliJ IDEA (or WebStorm), you can use its bower plugin to browse through through all available components find out their latest version:

Screenshot

It also offers a nice tabular view displaying current vs. latest versions of your installed components.

Try bower-update. It will check for updates and allow you to update packages one-by-one.

From it's own description:

Updates Bower project’s components to the really latest versions, no matter what bower.json requires.

enter image description here