Expo: verify a change
source /home/box/expo-builder/env.sh, then from the project root:
- Baseline: ensure
expo-env.d.tsexists (elsetscfails on CSS imports); record the base branch'stsc/lint results so existing errors aren't blamed on the change. - Checks (pass/fail comes from exit codes only):
Dependencies changed → alsopnpm expo lint pnpm exec tsc --noEmit pnpm dlx expo-doctor@latest pnpm expo install --check pnpm run --if-present test pnpm expo export -p ios --output-dir /tmp/export-ios && pnpm expo export -p android --output-dir /tmp/export-androidCI=1 pnpm install --frozen-lockfile(what EAS runs: catches lockfile drift, missingallowBuilds),pnpm why react-native(one version), and on an SDK 58 beta the override still equalsbundledNativeModules.json. - UI: web preview (
pnpm expo start --web --port <free>), screenshot changed routes in the box browser, stop the server, and read its log (anyERROR, including a bareWeb ERROR null, means investigate). Device attached to a live dev server → worktree rule inexpo-builder-core. Changed screens: run theexpo-native-feelchecklist (scope: the change); device-only items go under "not verified" unless a simulator run covers them. - Native impact:
agent_cli status --assert js-only; exit20= more than JS-only (dev-client-compatibleorneeds-native-build): readagent_cli status --explainbefore choosing OTA or a build. - Optional device proof (simulator budget):
agent_cli smoke --ios --eas --route <r> --jsonorexpo-cloud-sim-verify. - Report per the evidence contract (reference §7): commands and exit codes, screenshots, what wasn't verified, errors pre-existing on the base branch.