Using PNPM
How to use PNPM instead of Yarn.
If you prefer to use pnpm instead of yarn, you need to set up the pnpm workspace.
Create .pnpm-workspace.yaml in the root of your project with the following content:
packages:
- 'apps/*'
- 'packages/*'The recommended way to install PNPM is using corepack, you can enable corepack using the following command:
corepack enableInstall PNPM:
corepack prepare pnpm@latest --activateThen run the following command to install all dependencies:
pnpm iMake sure you also update the scripts in package.json to use pnpm instead of yarn.