Blaise
Blaise

Reputation: 22242

How to bower install the unstable version of Angular UI Grid?

A better pagination is implemented in ui-grid. The demo looks good. But it is using an unstable version.

When I check the bower packages by

bower info angular-ui-grid

The latest found is #3.0.0-RC.18.

After a bower install:

bower install angular-ui-grid#3.0.0-RC.18

I find no unstable.js to use. And the ui-grid.js installed contains no functions like enablePaginationControls. Obviously, that unstable version is not installed.

So, what is the correct way to obtain the unstable file?


Just checked the GitHub page link, and found there is a new update.

We don't want to just bower install a single file, which defeats the purpose of package management.

How is it possible to bower install version 3.0.0-RC.18-7774d30?

I tried:

bower install angular-ui-grid#3.0.0-RC.18-7774d30 --save

And here is the error:

bower not-cached    git://github.com/angular-ui/bower-ui-grid.git#3.0.0-RC.18-7774d30
bower resolve       git://github.com/angular-ui/bower-ui-grid.git#3.0.0-RC.18-7774d30
bower ENORESTARGET  No tag found that was able to satisfy 3.0.0-RC.18-7774d30

Additional error details:
Available versions: 3.0.0-rc.16, 3.0.0-rc.15, 3.0.0-rc.14, 3.0.0-rc.13, 3.0.0-rc.12, 3.0.0-rc.11, 3.0.0-rc.10, 3.0.0-rc.8, 3.0.0-rc.7, 3.0.0-RC.18

Upvotes: 8

Views: 2715

Answers (2)

Panciz
Panciz

Reputation: 2234

Now there is also the bower package.

https://libraries.io/bower/ui-grid-unstable

Upvotes: 0

MFazio23
MFazio23

Reputation: 1312

If you just want the one file, you can use this command to download it:

bower install --save https://github.com/angular-ui/ui-grid.info/blob/gh-pages/release/ui-grid-unstable.js

Upvotes: 1

Related Questions