pepperoni-app-kit icon indicating copy to clipboard operation
pepperoni-app-kit copied to clipboard

Module Generation

Open sercanov opened this issue 8 years ago • 6 comments

It would be great to have a yeoman style module generation. Like pepperoni generate module:Login would create a folder in modules with defaults. Isn't it ?

sercanov avatar Feb 27 '17 18:02 sercanov

Yes, that's quite a nice idea. If you have time you could prototype something and we can see how it would work!

krivachy avatar Mar 03 '17 17:03 krivachy

Sure ! I think yeoman is not the only option here, will come up in a few days.

sercanov avatar Mar 03 '17 18:03 sercanov

Rather than yeoman we can also use plopjs and gluegun, they all can do the job but plop.js seems more lightweight and easy to implement.

I'll come up with experimental branch in few days.

sercanov avatar Mar 09 '17 10:03 sercanov

It's here https://github.com/sercanov/pepperoni-app-kit/tree/feat/generator

What do you think ?

sercanov avatar Mar 09 '17 11:03 sercanov

Hey @sercanov, do you mind opening a PR? Would be easier to review and keep track of it. Based on my initial glance it looks nice. I think what we also want in the future is to be able to add extra "features" to a sample app, such as Auth0 (removed due to many people not liking it) and other optional things.

krivachy avatar Mar 18 '17 12:03 krivachy

Hey @krivachy sure, opening right away.

Actually there are a lot of to do and plenty of possibilities. It may evolve a whole selective generator in the end.

sercanov avatar Mar 18 '17 12:03 sercanov