Skip to content
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

Add support for Bower package management #213

Open
Siyfion opened this issue Jun 18, 2013 · 9 comments
Open

Add support for Bower package management #213

Siyfion opened this issue Jun 18, 2013 · 9 comments

Comments

@Siyfion
Copy link

Siyfion commented Jun 18, 2013

Currently the bower links directly to the github repo, which means that after getting the latest version it first has to be built before being usable. This goes against the idea of bower containing ready-to-use packages.

So could we look into adding a bower.json file, and including a pre-built version in the tagged releases?

@StrictlySkyler
Copy link

+1

@Siyfion
Copy link
Author

Siyfion commented Aug 28, 2013

@basecode Do you have any thoughts on this?

@basecode
Copy link
Contributor

Hi @Siyfion, thank you for your feedback!

Providing a ready-to-use package sounds doable. I'd like to see how bower is integrated in other projects first. Could you point me to a good project please?

@Siyfion
Copy link
Author

Siyfion commented Aug 30, 2013

Of course, SugarJS recently extended their bower support to the latest specs, so this project and bower.json is a good point of reference: https://github.com/andrewplummer/Sugar/blob/master/bower.json

@earaujoassis
Copy link

+1

2 similar comments
@JZ-at-TP
Copy link

+1

@lyrobinson
Copy link

+1

@kibiz0r
Copy link

kibiz0r commented Jul 26, 2014

+1

From browsing around, it looks like there are two general strategies here:

  1. Keep a copy of the minified release in the repo
  2. Make a separate repo that is just for the bower distribution

I'll probably end up forking and doing option 1 if I keep using rails-assets on my project. I'll submit a pull if that's the case, but long-term this would have to be maintained by the devs.

@wjdp
Copy link

wjdp commented Feb 28, 2016

👍

Also a note for people needing a solution now: bower install --save https://github.com/uxebu/bonsai/releases/download/v0.4.5/bonsai-0.4.5.js will install the latest (at time of writing) version and save to your bower.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants