Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.17 KB

CLAUDE.md

File metadata and controls

33 lines (20 loc) · 1.17 KB

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Rocket.Chat React Native mobile client. Single-package React Native app (not a monorepo) using pnpm. Supports iOS 16.4+ and Android 7.0+.

Read CONTEXT.md.

Commands

corepack enable            # First-time per machine: activates the pinned pnpm version
bundle install             # First-time per worktree: gems vendor into vendor/bundle; pod-install fails with Bundler::GemNotFound without it
pnpm pod-install           # Required before any iOS build

Everything else is a standard package.json script.

Workflow

  • Before committing: Run pnpm format-lint (repo-wide; takes no file list) and pnpm test <paths> for modified files. Nothing enforces this locally — CI is the only gate.
  • Reviewing: apply CODING_STANDARDS.md.

Gotchas

  • Local-first data flow: the UI reads from WatermelonDB, sagas sync it with the server.
  • Redux + Redux-Saga holds global/server state, but Zustand backs several feature-local stores. Don't assume Redux.

Continuous Integration

CI triggers and manual gates: see .github/README.md.