This repo uses yarn
for package management:
git clone https://github.com/microsoft/graphitation.git
yarn
For the innerloop experience, we take advantage of TypeScript watch mode:
cd packages/somepackage
yarn start
Or, use the yarn workspace
feature:
yarn workspace somepackage start
This repo uses lage
to achieve incremental builds:
yarn build
Type (d.ts) generation is done separately from build since
yarn build
yarn test
yarn lint
- Add a branch which will be releasing alpha version to .azure-devops\graphitation-release.yml into
trigger
- Change
release
script in the root package json toyarn beachball publish -t alpha
, - Modify package.json of the package you want to release to x.x.x-alpha.0
- Every time you want to release a new version use
yarn change
and selectprelease
. To avoid patching of dependent packages setdependentChangeType
tonone
manually in .changes directory