git clone, one
git pull, one
git push, one
yarn install, one README to read, one place to raise PRs, ... and so on - it's simpler, quicker, easier for everyone.
yarn add -WD).
yarn devto start working.
yarninstalls every dependency; there's only one lockfile, package installs are faster.
@project/domain. The folder names of workspace modules are the same names without namespace:
packagesto remove a shell completion annoyance (have only one thing starting with "package" in the root folder).
node_modulesis shared and will contain the installed packages. The one next to your server-side apps is not guaranteed actually to contain the runtime dependencies. This issue trips up the tooling for AWS Lambdas and Firebase Functions (Serverless.com included) for example. The solution is to build a bundle before deploying to these providers. Webpack works nicely. It seems to be an unavoidable complexity at the moment.