common-ts
common-ts copied to clipboard
Common TypeScript library for use in Graph Protocol components
Common TypeScript library for Graph Protocol components
Usage / Documentation
More information can be found in the @graphprotocol/common-ts
README.
Development notes
General notes
-
This repository is managed using Lerna and Yarn workspaces.
-
Chan is used to maintain changelogs.
Install dependencies
yarn
Build
yarn prepublish
Test
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
Release
- Update the changelog(s).
- Run
yarn publish
Copyright
Copyright © 2020 The Graph Foundation.
Licensed under the MIT license.