[Feature]: Detect if user is running yarn
and use yarn install
instead of npm install
#1098
Closed
Description
What is the new or updated feature that you are suggesting?
When creating a remix project,create-remix
should detect if user is using yarn
.
If user uses yarn
:
- it should ask "Do you want me to run 'yarn install'?" instead of the default "Do you want me to run 'npm install'"
- Use
yarn install
to install such dependencie
Why should this feature be included?
For yarn
users:
- It is a bit odd to ask "Do you want me to run 'npm install'" when you are creating the project using yarn.
- Using
yarn
to install the dependencies lets remix generate yarn's correct lock files (yarn.lock
instead ofpackage-lock.json
)