cloverfield-tools / cf-package

Cloverfield Package Scaffold
MIT License
98 stars 14 forks source link

Should generate a fresh package using prod-module-boilerplate #2

Closed ericelliott closed 9 years ago

ericelliott commented 9 years ago

This scaffold should generate a new module using prod-module-boilerplate as the base. Once this is working, we should deprecate prod-module-boilerplate and refer people here, instead.

@nkbt?

nkbt commented 9 years ago

Taken.

ericelliott commented 9 years ago

I started investigation of this topic. So far the most popular scaffold generator is http://yeoman.io/authoring/

Pretty good example of a generator is https://github.com/keystonejs/generator-keystone

There are some things I don't like about it. EJS as a templating language and OOP nature of a generator.

Agreed. The approach leaves a bad taste in my mouth.

If you are not concerned too much about using in-house code, couple of months ago I've written sort of a cli framework to run multiple mock servers. Purely functional with a very simple syntax. It did not use any templates, but it should be super simple to add handlebars in there. I can implement cf using it and prod-module-boilerplate as a template. It should not take much time and we can see how it goes afterwards. Hopefully will get first working prototype in couple of days

Sounds good, as long as it's compatible with our MIT license, let's make it happen. =)

nkbt commented 9 years ago

I am going to work on this issue today. Can't see why it can't be completed today as well

ericelliott commented 9 years ago

:+1:

ericelliott commented 9 years ago

There's a bit more work on this. Just wanted to merge so it would be easier to play with. =)

nkbt commented 9 years ago

This issue could be closed now. All outstanding tasks moved to new issues.