# veritas-mobile

veritas-mobile — part of the Oshun monorepo.

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`          | expo start                    |
| `pnpm start:ios`      | expo start --ios              |
| `pnpm start:android`  | expo start --android          |
| `pnpm start:web`      | expo start --web              |
| `pnpm prebuild`       | expo prebuild                 |
| `pnpm prebuild:clean` | expo prebuild --clean         |
| `pnpm build:ios`      | eas build --platform ios      |
| `pnpm build:android`  | eas build --platform android  |
| `pnpm build:all`      | eas build --platform all      |
| `pnpm submit:ios`     | eas submit --platform ios     |
| `pnpm submit:android` | eas submit --platform android |
| `pnpm lint`           | eslint . --ext .ts,.tsx       |
| `pnpm typecheck`      | tsc --noEmit                  |
| `pnpm test`           | jest                          |

## Layout

- `android-auto/`
- `android-widgets/`
- `app/`
- `assets/`
- `ios-widgets/`
- `plugins/`
- `scripts/`
- `src/`
- `store/`

## Working on this package

The fastest local loop is via Nx:

```bash
pnpm nx test veritas-mobile
pnpm nx lint veritas-mobile
pnpm nx build veritas-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.
