This is a monorepo managed using lerna in independent mode (each packages is versioned and published individually).
$ npm run new
- Add link to new package in README
We use yarn workspaces for developing. If you don't have yarn you can install it by running
npm install -g yarn
. Otherwise you can run the below to install all the dependencies.
yarn install
All subsequent installs should be quick after the first initial one.
Commits should use the Angular Commit Format. Scope should one of un-prefixed name of the packages under ./packages/. If a commit applies to multiple packages, leave out the scope.
Make sure when you publish that there are no spooky things going on with the version bumps. Lerna will auto detect the changes up to the last commit and auto bump all the required packages accordingly.
lerna publish
You can alternatively run a canary release that will not impact the current latest
tag version and can be used to test out changes.
lerna publish -c