This document explains how to build, test, and publish the packages from the monorepo.
In order to install all the dependencies run:
npm run bootstrap
This will download all development dependencies for the monorepo and download the dependencies for each individual package. It will also call lerna bootstrap
which will create symlinks for the cross-package dependencies.
In order to build the packages run:
npm run build
The command will build all the packages, topologically sorted.
To publish the packages, run:
npm run publish
The publish
script will delegate the execution to lerna publish
which will take care of updating the dependencies' versions and publishing them to npm.