1.0.8 • Published 4 years ago

tyranid-cli v1.0.8

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
4 years ago

Tyranid npm version Build Status

Packages

PackageStatusDescription
tyranidnpm versionTyranid core library
tyranid-tdgennpm versionTypeScript definition generator for tyranid
tyranid-graphqlnpm versionTyranid GraphQL driver
tyranid-graclnpm versionTyranid Permissions Library
tyranid-openapinpm versionOpenAPI Spec Generator for Tyranid
tyranid-sanitizenpm versionText sanitization plugin for Tyranid

Development

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

Publishing

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.