juliancwirko / generator-zf5

Yeoman generator for Zurb Foundation 5
https://www.npmjs.com/package/generator-zf5
MIT License
204 stars 29 forks source link

Maybe Gulp as an option? #10

Closed juliancwirko closed 9 years ago

juliancwirko commented 10 years ago

Like in title...

chrisjlee commented 10 years ago

I like this idea. So port the gruntfile over?

juliancwirko commented 10 years ago

We can add another Yeoman prompt question for Gulp. ..and of course you can take care of it if you want :)

chrisjlee commented 10 years ago

I've never worked with a generator. What's the best way to test it if i already have this generator installed?

juliancwirko commented 10 years ago

You can remove generator-zf5 (npm remove -g generator-zf5) and run 'npm link' (in generator-zf5 repo folder) to locally link it.

2014-07-12 23:24 GMT+02:00 Chris J. Lee notifications@github.com:

I've never written a generator. What's the best way to test it if i already have this generator installed?

— Reply to this email directly or view it on GitHub https://github.com/juliancwirko/generator-zf5/issues/10#issuecomment-48824499 .

ppowalowski commented 9 years ago

Is anyone working on this already? When porting to gulp consider the usage of browser-sync

This tool blew my mind ;-)

I propose to kick this off if I have spare time left (probable somwhere in may).

Cheers

juliancwirko commented 9 years ago

Hi, there are no works on it. It will be great if you could take care of it. Gulp should be an option to choose. And yes, I would like to see Browser-sync here. I think it could be replacement for LiveReload, am I right?

Anyway, I am thinking of renaming generator to something like 'generator-foundation-for-sites' and it needs general cleanup for version 1.0. Soon there will be Foundation 6.0 so we will be able to have smooth transition (I hope).

ppowalowski commented 9 years ago

Yesss browser-sync is kind of an universal live-reload solution. It's awesome due to site proxying capability so one can use it independently with any underlying project. It also provides fancy functionality such as scroll syncing across browsers.

I'll keep this issue in mind. Currently I'm working on a differently based ecommerce project so there's not much time left for this purpose. I'll come back to this as soon as I feel having time for doing it in one sprint.

siema ;-)

juliancwirko commented 9 years ago

Yeah, time.. time is what I need here too ;)

But I will try to find some time for cleaning and preparation for 1.0.0 and then we could try to add gulp and browser-sync.

Dzięki :)

juliancwirko commented 9 years ago

https://github.com/juliancwirko/generator-zf5/issues/41

CharlieGreenman commented 9 years ago

Hey guys, not sure if this helps, but just finished this build for gulp [https://github.com/CharlieGreenman/Gulp-with-foundation-and-sass] . It uses browser-sync btw. I'm just terrible at Yeoman, and am doing that right now. Hopefully, I can get this one done.

ppowalowski commented 9 years ago

Thank you Charlie, Definitely there will by a gulp version released! Thanks.

ppowalowski commented 9 years ago

Did anyone look at this one? https://github.com/niallobrien/generator-gulp-foundation

peterankelein commented 9 years ago

That was actually the first one I looked at when testing Foundation generators but when scaffolding, it throws a bunch of rebuild errors on the two win machines I've tried it on. There are apparently fixes like what's shown here: https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/ but it felt like a lot of extra effort and installs considering both gulp-webapp and Julian's ZF5 generator work right out of the gate. I just started a huge project where everything's being built off of a Foundation base so I've started with gulp-webapp and have it running Foundation and Font-Awesome. Been recently looking at ZF5 and I like how it's organized so have been mulling over combining some of it. Biggest hurdle seems to be interpreting what's going on on in the gulp-webapp gulpfile when actually doing a build.

juliancwirko commented 9 years ago

Thanks for the info. I wish I had some more time for this one :/ I plan to refresh generator when Foundation 6 will be ready.

peterankelein commented 9 years ago

Yeah, time is always the issue. I'm new to creating/forking generators but I have thought about forking gulp-webapp or yours and mucking about to see if I could incorporate the best (in my mind) features of the two.

CharlieGreenman commented 9 years ago

Hmm, maybe I'll take a crack at it. For me, it's really do I see Yeoman as being beneficial enough to make a yeoman generator, as opposed to cloning the build, running sudo npm install, and running bower install. Btw updated the gulp build here https://github.com/CharlieGreenman/Gulp-with-foundation-and-sass

juliancwirko commented 9 years ago

Closed for now. You can read more here: https://github.com/juliancwirko/generator-zf5/issues/41#issuecomment-146167374