Fix EAS local builds and resolve require cycles

- Add dotenv-cli for EAS local builds to load env vars
- Break circular dependencies in store/hooks imports
- Add env var validation with clear error messages
- Remove hardcoded Sentry auth token from sentry.properties
- Add .ipa files to .gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jjbruntonandClaude Opus 4.5 committed 2026-01-04 16:43:24 +00:00
1 parent bb2ce5a6a6
commit 58209b94ef
19 files changed
+458 -114

No files matched your search

+6 -1
View File
@@ -12,7 +12,11 @@
"typecheck": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --runInBand --ci"
"test:ci": "jest --runInBand --ci",
"build:ios": "dotenv -e .env -- eas build --platform ios --profile production",
"build:ios:local": "dotenv -e .env -- eas build --platform ios --profile production --local",
"build:android": "dotenv -e .env -- eas build --platform android --profile production",
"build:android:local": "dotenv -e .env -- eas build --platform android --profile production --local"
},
"dependencies": {
"@expo/ngrok": "^4.1.0",
@@ -71,6 +75,7 @@
"@types/jest": "^30.0.0",
"@types/react": "~18.3.12",
"@types/react-test-renderer": "^19.1.0",
"dotenv-cli": "^11.0.0",
"jest": "^29.7.0",
"jest-expo": "~52.0.0",
"react-test-renderer": "^18.3.1",