Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Use always the first configured package manager #119

@markov00

Description

@markov00

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 :)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions