Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.32 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.32 KB

Common TypeScript library for Graph Protocol components

CI Coverage

Usage / Documentation

More information can be found in the @graphprotocol/common-ts README.

Development notes

General notes

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

  1. Update the changelog(s).
  2. Run
    yarn publish

Copyright

Copyright © 2020 The Graph Foundation.

Licensed under the MIT license.