walmartlabs / generator-thorax

Thorax yeoman generator
MIT License
87 stars 27 forks source link

Coffeescript generators #86

Closed eriktrom closed 10 years ago

eriktrom commented 10 years ago

I'll rebase this when i'm done, i think it should be merged last. There are some things to like and others to dislike about the features contained within this branch. Namely, coffee script support is cool in general but comes with it's own set of caveats, and I'm beginning to think just in time compilation of cs files is more of a fetish than a benefit. Yet to be determined though.

eriktrom commented 10 years ago

intends to close #70, #71

eriktrom commented 10 years ago

I'm putting this on hold until we iron out the conventions for regular js files and simplify the output of the generator even more... if anyone thought understanding this in plain js was hard, it's even harder with coffescript because of the cs! crap that is used... pre-compiling is simpler, but also slower...

I actually have a preference to write tests in coffee script cause their easier to read, so i would like this to be easy to use/edit

the remaining TODO's here are:

eriktrom commented 10 years ago

superseded by https://github.com/walmartlabs/generator-thorax/tree/refactor-sprint

chollier commented 10 years ago

is that available yet ? I installed the generator using npm install -g yo generator-thorax

That would be awesome !

eriktrom commented 10 years ago

@chollier - coffeescript generators(with tests) for model, controller, view, collection-view should be out and ready for use early next week, thanks for prodding me to get them out the door!

eriktrom commented 10 years ago

@chollier this is now available in master, feel free to give it a try. Let me know if you spot any issues