Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@huextrat/github-expo-build-cache-provider

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@huextrat/github-expo-build-cache-provider

Build cache provider for Expo CLI using GitHub Releases

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

github-build-cache-provider

A remote build cache provider for Expo CLI that uses GitHub Releases to cache and retrieve build artifacts. This helps speed up local development by reusing builds across machines and CI environments.

What is this?

This package implements the Expo Build Cache Provider Plugin interface and uses GitHub Releases as a backend for storing and resolving cached builds. When you run npx expo run:ios or npx expo run:android, the plugin checks if a build with a matching fingerprint exists on GitHub Releases. If found, it downloads and uses the cached build; otherwise, it uploads the new build for future use.

Installation

Install the provider as a dev dependency:

yarn add -D github-expo-build-cache-provider

Configuration

Add the following to your Expo project's app.json:

{
  "expo": {
    // ...
    "experiments": {
      "remoteBuildCache": {
        "provider": {
          "plugin": "@huextrat/github-expo-build-cache-provider",
          "options": {
            "owner": "<YOUR_GITHUB_USERNAME>",
            "repo": "<YOUR_REPO_NAME>"
          }
        }
      }
    }
  }
}
  • Replace <YOUR_GITHUB_USERNAME> and <YOUR_REPO_NAME> with your GitHub username and repository name.

Set your GitHub personal access token (with repo permissions) in your environment:

export GITHUB_TOKEN=ghp_xxxYourTokenHerexxx

Security

  • Never commit your GITHUB_TOKEN to source control.
  • Use a token with the minimum required permissions.
  • Artifacts are uploaded as GitHub Release assets and are accessible to anyone with access to the repository.

References

This project is not officially affiliated with Expo or GitHub. Use at your own risk.

FAQs

Package last updated on 14 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts