Skip to content

graphprotocol/common-ts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.