1.0.8 • Published 6 years ago
tyranid-cli v1.0.8
Tyranid

Packages
| 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 |
Development
First, install yarn and lerna:
npm i -g yarn lernaNext, bootstrap the packages:
yarnThis 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 testPublishing
To ensure that tests are run across all packages before publishing, we use the following npm script to publish
yarn bumpThis will internally call npm test && lerna publish, and the normal lerna publishing ui
will come up.