davej / angular-classy

Cleaner class-based controllers with Angular 1
http://davej.github.io/angular-classy/
813 stars 27 forks source link

Publish on NPM #38

Closed ivancevich closed 9 years ago

ivancevich commented 10 years ago

I think Angular Classy is a pretty cool project. I've been working with Angular a lot, and this seems to make things quite easier. Could you publish Classy on NPM, so I can use it using CommonJS and Browserify? Also I'd like to know if the 1.0 beta is stable enough to use in production. Thanks!

davej commented 10 years ago

1.0 final will have wrappers for AMD and commonJS. It will more than likely also be published on NPM too, although I'm not 100% certain on that.

1.0 is well tested and is stable from the point of view that there are no known bugs. There is still a small possibility that there will be breaking changes between now and 1.0 final. I've used it in production for client sites and not had any problems.

davej commented 9 years ago

I've had more of a think about this and I've decided that I will stay away from module definition schemes for the moment but I'm happy to take pull requests from people requiring this functionality. I'm also happy to help people come up with a nice shim for their chosen module definition spec.

Classy is a bit different than your average module because it monkey-patches the angular.module function. It's not so simple to come up with a one-size-fits-all UMD but I'm happy to help anybody who wants to give it a shot.

davej commented 8 years ago

Published to npm in v1.2.4.