More information can be found in the @graphprotocol/common-ts
README.
-
This repository is managed using Lerna and Yarn workspaces.
-
Chan is used to maintain changelogs.
yarn
yarn prepublish
The following environment variables need to be defined for the test suite to run:
POSTGRES_TEST_HOST
POSTGRES_TEST_PORT
(optional)POSTGRES_TEST_USERNAME
POSTGRES_TEST_PASSWORD
POSTGRES_TEST_DATABASE
After that, the test suite can be run with:
yarn test
- Update the changelog(s).
- Run
yarn publish
Copyright © 2020 The Graph Foundation.
Licensed under the MIT license.