Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.14 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.14 KB

Monorepo Starter Kit

A starter kit that provides configuration for a multi-package monorepo with the following features:

  • Packages bundled with Rollup
  • TypeScript-friendly throughout
  • ESLint (uses the standard config with a few extras)
  • Jest for unit tests
  • Prettier (opinionated code formatting)
  • Individual package configs extend base configs

Installation

Clone the repo:

git clone git@github.com:andyjessop/lerna-rollup-typescript.git

Install dependencies

cd lerna-rollup-typescript
npm i

Get started by linking the packages:

./node_modules/.bin/lerna bootstrap --hoist

Then you can run all builds/tests/lints from the root with:

./node_modules/.bin/lerna run build
./node_modules/.bin/lerna run lint
./node_modules/.bin/lerna run test

Or run them from the roots of individual packages:

npm run build
npm run lint
npm run test

There's not much else to write here. The rest is up to the docs at: