Open eric-burel opened 2 years ago
Just a side note and not directly to your original subject, but you could upgrade Lerna-Lite, which I see you use, to latest version and take advantage of the workspace:
protocol which can help keeping smaller downloads and force the use of local dependencies. I'm not sure if it's a Yarn 2+ or Yarn 3 feature though. I migrated the Lerna-Lite project to pnpm and also use the workspace:
, it works great.
Cheers and happy coding
We have setup Yarn 2 in the monorepo for faster install and making Lerna bootstrap obsolete => yarn is able to automatically install the packages correctly for starter apps and packages, with symlink.
Except for a few bugs with Next 12, currently fixed by a patch, it works ok.
We should now try to switch to Yarn 2 plug and play mode to get rid of node_modules, in the monorepo and in starter apps: https://yarnpkg.com/getting-started/migration