-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Please create a component package #1322
Comments
would you like to create a pull request? On Thu, Aug 30, 2012 at 12:41 PM, Jason Kuhrt notifications@github.comwrote:
|
mhevery, I'd like to take on this chore. I'll put in a pull request when its ready. Please let me know if you have any additional information to provide for the task. |
Sorry I never followed up on this issue. I'm updating this issue to reflect the preferred package manager solution which would be component(1): https://github.com/component/component/ I do not think |
jasonkuhrt, Ok. Then I'll package it as a "component". Is this ok with everyone? |
@jasonkuhrt @johnsextro Could I hold you back a bit guys? There is a big PR waiting to be merged switching the build system from the current rake to Grunt: The package (whatever the package manager) should be generated during the build time so till the build is sorted out I don't think it makes much sense to work on this topic. @johnsextro There are plenty of other issues marked with the |
Yeah. Sure thing. I'll look around and find another something to work on. |
+1 It'd be super awesome to have a component/component version of angular(and it's add-on modules). I did a really dirty test here: https://github.com/casio/angular.js/tree/1.1.0 This would be totally great for projects like angular-ui, angular-strap but also for standalone components like directives, etc. Now, while work on this might wait until the grunt switch is done, we could already evaluate how to approach this. |
Like @jasonkuhrt mentioned it would be beneficial even when only used as a build system, angular could still be distributed in the same way, but allowing other people to use each subset as standalone libs/components would be nice too. I'm not sure how coupled the internals are, but even if they're coupled it's still a build tool for large projects. As far as all of angular being a component, I dont think it would end up too nice really, you could do it I suppose but it would be like packing 20 libraries into one |
how's it going, guys? |
Based on recent angular presentations It appears that angular is going towards the bower/yeoman for package management and optional AMD for module management. If the Angular teams is certain that component is not going to receive support what-so-ever please close this issue. |
If anybody is interested in this, I'm using the latest angular version and maintain an updated fork here: https://github.com/leostera/angular.js Every 1 hour an ec2 instance uses componentizr (https://github.com/leostera/componentizr) to make a component.io module. I could do the same for the different angular pieces (routes, animate, sanitize, resource, etc) if someone requested so but I have no hurry in doing it for a couple weeks at least. |
@leostera looks great, thanks. |
can you give me some more context?, did you do On Thu, Oct 10, 2013 at 10:32 AM, Jason Kuhrt notifications@github.comwrote:
Leandro Ostera I hack at github.com/leostera |
All good, it works if I component install but not if I edit the component json. Thanks. Sent from my iPhone
|
You have to do a |
Just finished splitting angular up into it's submodules. Now you can go $ component install componentizr/angular.js
// and from your code
require('angular.js') or any of it's submodules $ component install componentizr/angular-route
// and from your code
require('angular-route') Now you can build your component app and not bundle a bunch of stuff that All this repos are automatically updated and are available at https://github.com/componentizr |
@leostera very cool, thanks for your efforts! |
Very cool! Thanks @leostera! |
Although the size of angularjs is somewhat contrary to the goals of
component
it would still be beneficial for projects to be able to consume angularjs as a component for those really requiring such a framework.https://github.com/component/component/
The text was updated successfully, but these errors were encountered: