-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
Use Bower for dependency management #475
Comments
Why bower? What if the workflow uses component(1)? |
|
I made a few updates to the spec. Feel free to make adjustments. I also added a task to update the template. |
Not ticking CanJS off the list yet, since two of the plugins aren't available as components yet. |
Would like to convert the Sammy.js app. |
@rikkert Awesome. Go for it! :) |
@passy if they use valid semver git tags you can just register them yourself.
I did that for a few libs. |
@sindresorhus I created a repository for the localstorage plugin myself, because I couldn't find a canonical source for that. Looks like it was more like a snippet being copied around all the time. The mustache plugin, however, is part of the official repository but not distributed with their bower package. I'm going to open an issue for that. For reference: canjs/canjs#252 |
If it would help to ask the community for more help with the conversion effort I'm happy to post about it. |
@addyosmani That could certainly help. I tried converting the ember+require app today, but it's still using Ember 0.9.8.1 in a custom build with the router integrated which isn't available on bower. I think the time would be better spent porting it to 1.0rc2 instead of pushing the old releases on bower. |
I'm going to give the Sammy.js example a shot. The style appears to be out of date, and the sammy.js library file itself is a couple versions behind. Is it worth the effort of re-styling and upgrading as well? |
@rikkert Did you make any progress on the sammy.js port? |
' I think the time would be better spent porting it to 1.0rc2 instead of pushing the old releases on bower' agreed! |
Yes, I'm still working at it. On 3 apr. 2013, at 11:20, Stephen Sawchuk notifications@github.com wrote:
|
They're all using Bower now 👍 |
Yay, closing! 🍸 |
@addyosmani we should do the G+ post about it now. Did we have a draft doc? |
I don't think we did but I agree. Let's put something together next week!
|
tastejs#475 - puremvc updated with bower.
All apps should use bower for dependency management if this is possible and does not interfere with the framework's best practices or their own dependency management.
In particular, every app should have a
component.json
on the root level and should link to thecomponents/
directory from theindex.html
. Thecomponents/
directory should only contain the needed files, so we don't bloat the repository unnecessarily.General Tasks
Apps to be updated
DartGWTVanilla JSPull requests are more than welcome! Please leave a comment before you start working on an app, so we can avoid overlaps.
The text was updated successfully, but these errors were encountered: