Ty Book 1639731124 fix: pre-download node-gyp headers to avoid install race condition (#2672)
## 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>
2026-02-11 13:59:21 -05:00
2026-02-04 17:39:17 -05:00
2024-07-11 10:01:03 -07:00
2025-01-27 13:52:57 -08:00

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
Description
No description provided
Readme MIT 54 MiB
Languages
TypeScript 91.7%
Rust 8.1%
Go 0.1%