-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Automatic global install for tasks #59
Comments
There was a similar question #40 but I couldn't find a way to do it ;-( |
I'll see if I can work on a PR. Yeoman does it, so it's definitely possible ;) |
That would be cool! |
I was thinking about implementing this task and there are two approaches to this: either The first case, where The second option is to change the way I did some quick tests on my machine (using Before actually opening a PR, I decided to post it here so we can figure out the best way to make this happen. Maybe even a mixture of both approaches. Let me know what you think @sapegin @lucasconstantino |
The way that yeoman does it seem to just be to spawn an I can submit a PR if help is needed. |
@nperez0111 That would be cool! Are they doing it by default? How's the UX looks like? |
So it seems that what they do is if they can't find the generator on the system they will
I can make a PoC by tomorrow. |
This sounds good! 🦄 |
Currently, any custom (not part of core repository) Mrm task must be first installed globally in order to be used - which contradicts the principle of non-polluting the host machine, carried out very well by the
npx mrm
approach. Similar libraries have found ways to address this, and carry out search for the mentioned derivate package either by name patter or published keywords. I think Mrm should be able to do the same.Thoughts?
The text was updated successfully, but these errors were encountered: