- lib/api.ts (879 baris) → 13 file di lib/api/ per domain - constants/Styles.ts (1.275 baris) → 10 file di constants/styles/ per domain - tambah docs/FILE-HEALTH.md dan referensinya ke CLAUDE.md - kedua file lama tetap sebagai re-export — zero breaking changes
978 B
978 B
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
Desa+ is a React Native (Expo) mobile app for village administration — managing announcements, projects, discussions, members, divisions, and documents. Primary platforms are Android and iOS.
Commands
npm run start # Start Expo dev server
npm run android # Run on Android
npm run ios # Run on iOS
npm run lint # Expo lint
npm run test # Jest tests
npm run build:android # Production Android build via EAS (bumps version first)
Run a single test file:
bunx jest path/to/test.tsx --no-coverage
Project uses Bun as the package manager (
bun.lockpresent). Usebun add/bunxinstead ofnpm install/npx.
Architecture
See @docs/ARCHITECTURE.md
Key Conventions
See @docs/CONVENTIONS.md
File Health
See @docs/FILE-HEALTH.md