/lerna-monorepo-boilerplate

:fire: TypeScript monorepo using lerna with eslint & pritter hooked.

Primary LanguageTypeScriptMIT LicenseMIT

Boilerplate

NOTE: THIS IS MY TIME WORKING WITH MONOREPO, HENCE THE CODE/CONFIG MAY NOT BE THE BEST/OPTIMIZED.


Configured With

  • Lerna (Monorepo)
  • Typescript
  • ESLint
  • Prettier

Commands

Adding dependency to a package

lerna add dependency --scope=package

Adding dependency to all packages

lerna add dependency

Adding dependency to main project

yarn add -W dependency

Removing dependency

lerna exec -- yarn remove dependency