adonis-cli icon indicating copy to clipboard operation
adonis-cli copied to clipboard

Use always the first configured package manager

Open markov00 opened this issue 7 years ago • 1 comments

Why this feature is required (specific use-cases will be appreciated)?

When you create an adonis app the first time, you select the package manager you prefer (npm or yarn currently). Thing is that this option doesn't seems to be stored somewhere so everytime I need to add a new package I always have to specify --yarn if my configuration was using yarn. If I forgot it than npm will kick in and will pollute node modules and my repo with npm locks etc.

I'm suggesting to save this configuration somewhere and let adonis-cli to read it and use it as the predefined package manager

Have you tried any other work arounds?

No

Are you willing to work on it with little guidance?

Possibly :)

markov00 avatar Dec 30 '18 15:12 markov00

Hey @markov00! 👋

This is going to be on the next version!

RomainLanz avatar Jan 02 '19 09:01 RomainLanz