New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generators directory #753
Comments
@sindresorhus is currently rewriting totally the generators as well as the API to use to implement a generator... I would say, wait a little bit ;) |
That's nice (and kind of sucks at the same time) :( I've always been confused on how the generator development workflow should be (including unic testing and all) I'm not sure what to do exactly after |
@sleeper That's not completely correct. Sorry for not keeping you in the loop. @mklabs is rewriting the internal generator API, but the user-end generator API will stay mostly unchanged for 1.0, except for addition of a Bower dep require API. @JavierVD See the generators docs: https://github.com/yeoman/yeoman/blob/master/docs/cli/generators.md#generators-lookup |
I see, I took a look at the docs but my main question about the workflow remains, basically what I'm doing now to create my test generator is:
Is this the correct way to do it? |
@JavierVD That's petty much it 👍 You'll need to specify To see if your generator is ok, you can try Hope it helps, one thing we really need to improve is the user documentation to develop custom generators. |
Thanks yeoman does pick it up I just wanted to make sure I was doing it right 👍 |
Final question: how should I "install" my custom generator to run it? I mean, I can run |
I'm trying to create my first generator for yeoman but I'm not exactly should I put it, considering I created it using
yeoman init generator testing
where should I place this folder?Sorry if it's a newb question I wasn't able to find the answer anywhere 😢
The text was updated successfully, but these errors were encountered: