Skip to content

Repository files navigation

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.

About

Common TypeScript library for use in Graph Protocol components

Resources

Stars

28 stars

Watchers

28 watching

Forks

Releases

Packages

Used by

Contributors

Languages