-
-
Notifications
You must be signed in to change notification settings - Fork 737
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
should scoped generators show up in my generator list? #1640
Comments
I have same issue. @molant and @SBoudrias , it looks you have make it work. Would you like to shed some light on this? |
Run it with |
seeing this, I tried running
which worked, so the generator itself seems to be functional. Admittedly, I haven't built a generator for a while, so I may be forgetting some important details. If so, hopefully you can shed some light on what I missed, but I don't understand why this generator would be getting registered, but wouldn't show up in the list. |
I think the list only show top level generators, and not the sub-generators they themselves contains no? |
that appears to be the problem. i overlooked the fact that the default generator is it's too bad that |
I think that's a very good point! Mind opening a ticket here https://github.com/yeoman/doctor ? |
sure thing: yeoman/doctor#32 |
I've been struggling with something that I kind of expected to just work.
I've started to put together a couple of very foundational generators that I want to extend with more specialized ones, the first of which is here. My intent is to scope these to my namespace so they don't collide with others.
When I try to make it available to
yo
by usingnpm link
, it does not show up in the list of generators. Also, when I try to run it directly asyo @travi/git
, I get the following message:Some debugging details:
This issue seems to suggest that this should work, but I don't find any details in the docs, so I'm hoping you can help me understand what I might be missing.
The text was updated successfully, but these errors were encountered: