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.
yarnyarn prepublishThe following environment variables need to be defined for the test suite to run:
POSTGRES_TEST_HOSTPOSTGRES_TEST_PORT(optional)POSTGRES_TEST_USERNAMEPOSTGRES_TEST_PASSWORDPOSTGRES_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.