Closed Davidsoff closed 9 years ago
That's a great idea. Keep me posted with your results.
all done, generator can be found at: https://www.npmjs.com/package/generator-meteor-fresh
Just tested. Nice work!
Could you have it make a new directory to put the files in? That would run more closely with meteor create my-new-app
command. There's also a warning about bower install && npm install
, could we remove that?
Lastly, I'm not too familiar with yo. Is this something we need to keep updated, or is it pulling from the latest Github release?
sure thing. It is my first crack at doing this aswell so I'm glad it works. I'll create the issues in the generator repo :)
I'll try and build a script that will run whenever you update the master branch of this repo.
If you find anything else just let me know ;)
I'm willing to bet there's a way for a yo generator to pull its files from Github. Then you could just point it to the tip of the master branch.
Possibly this? https://github.com/addyosmani/generator-boilerplate
yep, thats the one I used. we'll see if this auto updates. if it doesn't it'll probably take a git submodule update
to fix it
your requests have been heard and implemented :)
Wonderful! Looks like the submodule approach? It appears to be pointing one commit behind HEAD on develop. Maybe I should merge develop into master and tag it as a release. Can yo
do things like pick the latest release from a project?
I'm trying to find an automated solution so that our updates here get picked up by yo
without our interaction. That would be ideal. So yo
users are always getting the latest release.
I have pointed it to HEAD on master. Worst case there is probably a way to automate this using travis
Excellent. I'll merge develop into master and tag a release
awesome, open up an issue on the generator repo if you updated so I can check if it auto updates ;)
I will probably do this tomorrow but it would be cool to use the yeoman generator in stead of manually having to remove the .git folder