This ensures a consistent package manager is used by contributors by adding packageManager to the package.json, for use with corepack. All that is required to use the correct package manager is to run corepack enable, and the correct yarn will be installed.
I didn't set up anything fancy like yarn pnp or zero installs, because IMHO it's a PITA.
This ensures a consistent package manager is used by contributors by adding
packageManager
to the package.json, for use with corepack. All that is required to use the correct package manager is to runcorepack enable
, and the correct yarn will be installed.I didn't set up anything fancy like yarn pnp or zero installs, because IMHO it's a PITA.