jhendley25 / generator-dyno

Yeoman Generator that gives ya ES6-ready Javascript, Browserify, Gulp, Jade, and Compass/Sass.
85 stars 14 forks source link

Optional extended settings #16

Open iduuck opened 9 years ago

iduuck commented 9 years ago

I am currently working on a project, where I need to deploy an application (only frontend). I added gulp-rsync. But it also would be nice to have as much options as possible, if this is possible.

I am thinking of something like conditional prompts. When the user is answering that he wants extended options, he will be asked them, otherwise they will not be asked and all set to undefined.

How does that sounds?

jhendley25 commented 9 years ago

Sounds interesting. I'm hesitant to add any deployment related stuff to the generator because deployments vary so much. But I'd be open to discussing a gh-pages deployment task, and maybe an AWS s3 deployment task. I've had success with gulp-awspublish. https://www.npmjs.com/package/gulp-awspublish

iduuck commented 9 years ago

i think as of this, we could also add rsync. the user can choose, it would be not bad for some users.

jhendley25 commented 9 years ago

Ok cool. Rsync is a good place to start.

For the options, maybe start with a question like:

"Would you like to add a deployment process?"

then go into the options.