facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.69k stars 26.84k forks source link

Support pnpm/don't default to yarn lock #8652

Open alexkrolick opened 4 years ago

alexkrolick commented 4 years ago

There are various places that treat npm/yarn as a binary choice. pnpm also exists and is pretty mature (and there may be others).

https://github.com/facebook/create-react-app/blob/fa85f030de6843667202f912de841c276275df00/packages/create-react-app/createReactApp.js#L249

At the least it would be nice if CRA didn't create a yarn lockfile if it wasn't really sure it was executing with yarn.

brunoparga commented 4 years ago

There is an open PR that allows pnpm: #7791 . There is also a previous issue about this: #7898