Use Bower for dependency management #475

Closed
passy opened this Issue Mar 9, 2013 · 20 comments

Comments

Projects
None yet
6 participants
@passy
Member

passy commented Mar 9, 2013

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 the components/ directory from the index.html. The components/ directory should only contain the needed files, so we don't bloat the repository unnecessarily.

General Tasks

  • Update Spec
  • Remove shared assets
  • Update template

Apps to be updated

  • Backbone.js
  • AngularJS
  • Ember.js
  • KnockoutJS
  • Dojo
  • YUI
  • Agility.js
  • Knockback.js
  • CanJS
  • Maria
  • cujo.js
  • dermis
  • Montage
  • Ext.js
  • Sammy.js
  • Stapes
  • Epitome
  • soma.js
  • DUEL
  • Kendo UI
  • PureMVC
  • Olives
  • PlastronJS
  • Dijon
  • rAppid.js
  • Funnyface.js
  • Knockout + ClassBinding
  • DeftJS + ExtJS
  • Aria Templates
  • AngularJS (optimized)
  • Spine
  • Dart
  • Batman.js
  • GWT
  • TypeScript + Backbone.js
  • TypeScript + AngularJS
  • Closure
  • Serenade.js
  • MarionetteJS
  • Thorax
  • Chaplin + Brunch
  • Backbone.js + RequireJS
  • Ember.js + RequireJS
  • Knockout + RequireJS
  • AngularJS + RequireJS
  • CanJS + RequireJS
  • TroopJS
  • Thorax + Lumbar
  • Flight
  • Meteor
  • Derby
  • SocketStream
  • Vanilla JS
  • jQuery

Pull requests are more than welcome! Please leave a comment before you start working on an app, so we can avoid overlaps.

@paulmillr

This comment has been minimized.

Show comment Hide comment
@paulmillr

paulmillr Mar 9, 2013

Contributor

Why bower? What if the workflow uses component(1)?

Contributor

paulmillr commented Mar 9, 2013

Why bower? What if the workflow uses component(1)?

@sindresorhus

This comment has been minimized.

Show comment Hide comment
@sindresorhus

sindresorhus Mar 9, 2013

Member

@paulmillr

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.

Member

sindresorhus commented Mar 9, 2013

@paulmillr

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.

sindresorhus added a commit that referenced this issue Mar 9, 2013

sindresorhus added a commit that referenced this issue Mar 9, 2013

sindresorhus added a commit that referenced this issue Mar 9, 2013

sindresorhus added a commit that referenced this issue Mar 9, 2013

sindresorhus added a commit that referenced this issue Mar 9, 2013

sindresorhus added a commit that referenced this issue Mar 9, 2013

passy added a commit that referenced this issue Mar 10, 2013

passy added a commit that referenced this issue Mar 11, 2013

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy Mar 11, 2013

Member

I made a few updates to the spec. Feel free to make adjustments. I also added a task to update the template.

Member

passy commented Mar 11, 2013

I made a few updates to the spec. Feel free to make adjustments. I also added a task to update the template.

passy added a commit that referenced this issue Mar 13, 2013

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy Mar 13, 2013

Member

Not ticking CanJS off the list yet, since two of the plugins aren't available as components yet.

Member

passy commented Mar 13, 2013

Not ticking CanJS off the list yet, since two of the plugins aren't available as components yet.

@rikkert

This comment has been minimized.

Show comment Hide comment
@rikkert

rikkert Mar 13, 2013

Would like to convert the Sammy.js app.
Started work at rikkert/todomvc

rikkert commented Mar 13, 2013

Would like to convert the Sammy.js app.
Started work at rikkert/todomvc

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy Mar 13, 2013

Member

@rikkert Awesome. Go for it! :)

Member

passy commented Mar 13, 2013

@rikkert Awesome. Go for it! :)

@sindresorhus

This comment has been minimized.

Show comment Hide comment
@sindresorhus

sindresorhus Mar 14, 2013

Member

@passy if they use valid semver git tags you can just register them yourself.

bower register name giturl

I did that for a few libs.

Member

sindresorhus commented Mar 14, 2013

@passy if they use valid semver git tags you can just register them yourself.

bower register name giturl

I did that for a few libs.

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy Mar 16, 2013

Member

@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: bitovi/canjs#252

Member

passy commented Mar 16, 2013

@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: bitovi/canjs#252

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani Apr 2, 2013

Member

If it would help to ask the community for more help with the conversion effort I'm happy to post about it.

Member

addyosmani commented Apr 2, 2013

If it would help to ask the community for more help with the conversion effort I'm happy to post about it.

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy Apr 2, 2013

Member

@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.

Member

passy commented Apr 2, 2013

@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.

@stephenplusplus

This comment has been minimized.

Show comment Hide comment
@stephenplusplus

stephenplusplus Apr 2, 2013

Member

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?

Member

stephenplusplus commented Apr 2, 2013

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?

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy Apr 3, 2013

Member

@rikkert Did you make any progress on the sammy.js port?

Member

passy commented Apr 3, 2013

@rikkert Did you make any progress on the sammy.js port?

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani Apr 3, 2013

Member

' I think the time would be better spent porting it to 1.0rc2 instead of pushing the old releases on bower' agreed!

Member

addyosmani commented Apr 3, 2013

' I think the time would be better spent porting it to 1.0rc2 instead of pushing the old releases on bower' agreed!

@stephenplusplus

This comment has been minimized.

Show comment Hide comment
@stephenplusplus

stephenplusplus Apr 3, 2013

Member

@passy I can't believe I missed that @rikkert already claimed it. I definitely remember reading his post, I guess the Sammy.js part didn't stick.

Member

stephenplusplus commented Apr 3, 2013

@passy I can't believe I missed that @rikkert already claimed it. I definitely remember reading his post, I guess the Sammy.js part didn't stick.

@rikkert

This comment has been minimized.

Show comment Hide comment
@rikkert

rikkert Apr 3, 2013

Yes, I'm still working at it.
Already moved to the latest version in bower.
Should be done pretty soon.

On 3 apr. 2013, at 11:20, Stephen Sawchuk notifications@github.com wrote:

@passy I can't believe I missed that @rikkert already claimed it. I definitely remember reading his post, I guess the Sammy.js part didn't stick.


Reply to this email directly or view it on GitHub.

rikkert commented Apr 3, 2013

Yes, I'm still working at it.
Already moved to the latest version in bower.
Should be done pretty soon.

On 3 apr. 2013, at 11:20, Stephen Sawchuk notifications@github.com wrote:

@passy I can't believe I missed that @rikkert already claimed it. I definitely remember reading his post, I guess the Sammy.js part didn't stick.


Reply to this email directly or view it on GitHub.

@stephenplusplus

This comment has been minimized.

Show comment Hide comment
@stephenplusplus

stephenplusplus May 23, 2013

Member

They're all using Bower now 👍

Member

stephenplusplus commented May 23, 2013

They're all using Bower now 👍

@passy

This comment has been minimized.

Show comment Hide comment
@passy

passy May 23, 2013

Member

Yay, closing! 🍸

Member

passy commented May 23, 2013

Yay, closing! 🍸

@passy passy closed this May 23, 2013

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani May 23, 2013

Member

Well done everyone!

Member

addyosmani commented May 23, 2013

Well done everyone!

@sindresorhus

This comment has been minimized.

Show comment Hide comment
@sindresorhus

sindresorhus May 23, 2013

Member

@addyosmani we should do the G+ post about it now. Did we have a draft doc?

Member

sindresorhus commented May 23, 2013

@addyosmani we should do the G+ post about it now. Did we have a draft doc?

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani May 24, 2013

Member

I don't think we did but I agree. Let's put something together next week!
On 23 May 2013 14:44, "Sindre Sorhus" notifications@github.com wrote:

@addyosmani https://github.com/addyosmani we should do the G+ post
about it now. Did we have a draft doc?


Reply to this email directly or view it on GitHubhttps://github.com/tastejs/todomvc/issues/475#issuecomment-18343862
.

Member

addyosmani commented May 24, 2013

I don't think we did but I agree. Let's put something together next week!
On 23 May 2013 14:44, "Sindre Sorhus" notifications@github.com wrote:

@addyosmani https://github.com/addyosmani we should do the G+ post
about it now. Did we have a draft doc?


Reply to this email directly or view it on GitHubhttps://github.com/tastejs/todomvc/issues/475#issuecomment-18343862
.

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

gustaff-weldon pushed a commit to gustaff-weldon/todomvc that referenced this issue Dec 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment