read-frog/SOURCE_CODE_REVIEW.md
ananaBMaster 7c99db6a16
build: firefox publish (#1003)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:50:25 -08:00

788 B

Source Code Review - Build Instructions

Build Environment

  • Node.js: >= 22.0.0
  • pnpm: 10.30.2 (auto-installed via corepack)

Build Steps

# 1. Enable corepack (ships with Node.js) to auto-install the correct pnpm version
corepack enable

# 2. Install dependencies
pnpm install --frozen-lockfile

# 3. Build the Firefox extension
pnpm zip:firefox

Environment Variables

The .env.production file is included in this archive. It contains:

  • WXT_GOOGLE_CLIENT_ID — A public Google OAuth Client ID used for Google Sign-In. This is not a secret; OAuth Client IDs are designed to be embedded in client-side applications.

Build Output

After a successful build, the packaged extension will be at:

.output/read-frog-<version>-firefox.zip