Package | Status | Description |
---|---|---|
tyranid | Tyranid core library | |
tyranid-tdgen | TypeScript definition generator for tyranid | |
tyranid-graphql | Tyranid GraphQL driver | |
tyranid-gracl | Tyranid Permissions Library | |
tyranid-openapi | OpenAPI Spec Generator for Tyranid | |
tyranid-sanitize | Text sanitization plugin for Tyranid | |
tyreant | Ant driven UI component library for Tyranid |
First, install yarn
and lerna
:
npm i -g yarn lerna
Next, bootstrap the packages:
yarn
This will install all the dependences for each package in ./packages
, along
with the dev dependencies in the root ./package.json
file. Finally, it
simlinks the built packages to ./node_modules
to allow the packages to reference eachother.
To check that the bootstrap was successfully, run the tests using the linked packages:
yarn test
To ensure that tests are run across all packages before publishing, we use the following npm script to publish
yarn bump
This will internally call npm test && lerna publish
, and the normal lerna publishing ui
will come up.