mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-04-18 03:00:22 -04:00
main
## Summary - Adds `npx node-gyp install` before every `yarn install` in CI workflows - This pre-downloads Node.js headers so that multiple native addon compilations during `yarn install` don't race to download the same headers simultaneously ## Files changed - `.github/workflows/ci.yml` - added `npx node-gyp install` before `yarn install` - `.github/workflows/release-packages.yml` - added `npx node-gyp install` before `yarn install` <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the installation process for dependencies in continuous integration workflows and modifying the version of `node-gyp` used in the project. ### Detailed summary - In `.github/workflows/ci.yml`: - Changed the installation command to use `npx node-gyp@12.2.0 install` before `yarn install`. - Updated the `node-gyp` version in `packages/core/package.json` from `^9.4.0` to `12.2.0`. - In `.github/workflows/release-packages.yml`: - Similar changes to the installation command as in `ci.yml`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
Hub Monorepo
This monorepo contains packages used to communicate with a Farcaster Hub.
Getting Started
See CONTRIBUTING.md to set up your developer environment and learn about how to contribute.
Code Organization
The repository is a monorepo with a primary application in the /apps/ folder that imports several packages /packages/. It is written primarily in Typescript and uses Yarn to orchestrate tasks and TurboRepo as its build system. Some performance intensive code is written in Rust and compiled with Cargo.
Packages
| Package Name | Description |
|---|---|
| @farcaster/shuttle | A package that streams Hubble events to Postgres |
| @farcaster/hub-nodejs | A Node.js client library for Hubble |
| @farcaster/hub-web | A Browser client library for Hubble |
| @farcaster/core | Shared code between all packages |
Languages
TypeScript
91.7%
Rust
8.1%
Go
0.1%