{"id":18492896,"url":"https://github.com/graphprotocol/common-ts","last_synced_at":"2025-04-05T22:08:56.832Z","repository":{"id":42125244,"uuid":"239757162","full_name":"graphprotocol/common-ts","owner":"graphprotocol","description":"Common TypeScript library for use in Graph Protocol components","archived":false,"fork":false,"pushed_at":"2024-11-07T15:19:16.000Z","size":1683,"stargazers_count":27,"open_issues_count":19,"forks_count":18,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-29T04:49:27.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-11T12:31:58.000Z","updated_at":"2025-03-12T11:17:19.000Z","dependencies_parsed_at":"2024-10-28T16:03:01.990Z","dependency_job_id":"ac888d38-d6db-490f-b7ed-f6501ff27314","html_url":"https://github.com/graphprotocol/common-ts","commit_stats":{"total_commits":461,"total_committers":12,"mean_commits":"38.416666666666664","dds":0.2754880694143167,"last_synced_commit":"f300c979bc1c2f643826439f06c0cec5c95a2a4b"},"previous_names":[],"tags_count":141,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fcommon-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fcommon-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fcommon-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fcommon-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphprotocol","download_url":"https://codeload.github.com/graphprotocol/common-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406091,"owners_count":20933803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:11:31.178Z","updated_at":"2025-04-05T22:08:56.814Z","avatar_url":"https://github.com/graphprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Common TypeScript library for Graph Protocol components\n\n[![CI](https://github.com/graphprotocol/common-ts/workflows/CI/badge.svg)](https://github.com/graphprotocol/common-ts/actions?query=workflow%3ACI)\n[![Coverage](https://codecov.io/gh/graphprotocol/common-ts/branch/master/graph/badge.svg)](https://codecov.io/gh/graphprotocol/common-ts)\n\n## Usage / Documentation\n\nMore information can be found in the [`@graphprotocol/common-ts`\nREADME](./packages/common-ts/).\n\n## Development notes\n\n### General notes\n\n- This repository is managed using [Lerna](https://lerna.js.org/) and [Yarn\n  workspaces](https://classic.yarnpkg.com/en/docs/workspaces/).\n\n- [Chan](https://github.com/geut/chan/tree/master/packages/chan) is used to\n  maintain [changelogs](./packages/common-ts/CHANGELOG.md).\n\n### Install dependencies\n\n```sh\nyarn\n```\n\n### Build\n\n```sh\nyarn prepublish\n```\n\n### Test\n\nThe following environment variables need to be defined for the test suite to run:\n\n- `POSTGRES_TEST_HOST`\n- `POSTGRES_TEST_PORT` (optional)\n- `POSTGRES_TEST_USERNAME`\n- `POSTGRES_TEST_PASSWORD`\n- `POSTGRES_TEST_DATABASE`\n\nAfter that, the test suite can be run with:\n\n```sh\nyarn test\n```\n\n### Release\n\n1. Update the changelog(s).\n2. Run\n   ```sh\n   yarn publish\n   ```\n\n## Copyright\n\nCopyright \u0026copy; 2020 The Graph Foundation.\n\nLicensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Fcommon-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphprotocol%2Fcommon-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Fcommon-ts/lists"}