zjffun blog

Node.js Corepack

更新于 写于 前端

Corepack is an experimental tool to help with managing versions of your package managers.

Node.js now has Yarn and pnpm built in through Corepack.

You can tell others which package manager should be used by setting the packageManager in package.json.