theKashey / react-focus-lock

It is a trap! A lock for a Focus. 🔓
MIT License
1.27k stars 67 forks source link

Add support for Node Corepack #261

Closed wojtekmaj closed 10 months ago

wojtekmaj commented 10 months ago

Node ships with Corepack, a "package manager manager". It works by reading packageManager entry in package.json and downloading required binaries transparently, on-the-fly. Therefore it ensures that all developers using Corepack run the same version of package manager:

This PR does not break the repository for those using Yarn Classic (v1) installed using standalone installer, while adding an easy way to contribute for those who did not install it.