# @arete/mobile

Arete - Personal Development & Life Mastery Mobile App

Expo / React Native app. Run `pnpm start` to launch the Expo dev client, or use
`eas build` for native binaries.

## Scripts

| Command              | Definition                                                                       |
| -------------------- | -------------------------------------------------------------------------------- |
| `pnpm start`         | react-native start                                                               |
| `pnpm android`       | react-native run-android                                                         |
| `pnpm ios`           | react-native run-ios                                                             |
| `pnpm build:android` | cd android && ./gradlew assembleRelease                                          |
| `pnpm build:ios`     | cd ios && xcodebuild -workspace Arete.xcworkspace -scheme Arete -configuration R |
| `pnpm lint`          | eslint "src/\*_/_.{ts,tsx}"                                                      |
| `pnpm typecheck`     | tsc --noEmit                                                                     |
| `pnpm test`          | jest                                                                             |
| `pnpm test:coverage` | jest --coverage                                                                  |
| `pnpm clean`         | react-native clean                                                               |
| `pnpm pod-install`   | cd ios && pod install                                                            |

## Layout

- `__tests__/`
- `android/`
- `e2e/`
- `ios/`
- `jest/`
- `src/`

## Working on this package

The fastest local loop is via Nx:

```bash
pnpm nx test arete-mobile
pnpm nx lint arete-mobile
pnpm nx build arete-mobile
```

When Nx is unhappy (usually because another worktree has duplicate project
names), bypass it with the underlying tools from this directory:

```bash
npx tsc --noEmit
npx vitest run
```

See the [root README](../../../README.md) for monorepo-wide conventions (catalog
deps, commit format, git workflow). See the
[Contributor Guide](../../../docs/CONTRIBUTING.md) for the full PR workflow.
