Simon Boudrias
Simon Boudrias
So, I was thinking that when we call a generator in a folder, we could check the `.yo-rc.json` file, then 1. If there's no default generator, assign a default generator...
We'd try to run the concatenation of the args + the generator name, if that fail, we fallback to just the args. This way multiple generators are handled, but only...
Let's make sure the list is stable before we go forward with this. We still have short outage of 2-3 minutes sometime when we update our cache.
I think that's a great idea! Would you be interested in sending us a PR?
That make perfect sense. I'd like Yeoman generators to export a main entry point with config and paths to sub generators. The issue here would be to find a way...
> At worst we could detect what generator version they're using before requiring. Yeah, I thought about that, but generators are consumed by `yo` who's version is controlled by the...
Error prone in the way many generators references `*:app` in the `main` field. So, chances are some people gonna miss it and publish bugged versions on NPM. That's why I...
Looks like something we could fix. But I'm not 100% sure what would be the side effects. Do you want to send a PR? This would help move the conversation...
@ydogandjiev can you give us more details? What was the prefix path - what was at this path? Was it empty/non-existing?
@msitruk you could try using `nvm` - it handles prefix automatically and does pass the yo check on my side. Also, if anyone want to dig into why this issue...