Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/kilo-app-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ jobs:
- name: Typecheck
run: pnpm --filter kilo-app run typecheck

# The release preflight is the only other job that evaluates app.config.ts,
# and it runs nightly. Read the config here so a broken import fails the PR.
- name: Read Expo config
run: pnpm --filter kilo-app exec expo config --type public > /dev/null

lint:
runs-on: ${{ vars.RUNNER_DEFAULT_LABEL || 'ubuntu-latest' }}
timeout-minutes: 15
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ExpoConfig } from 'expo/config';
import { ENV_KEYS, OPTIONAL_ENV_KEYS } from './src/lib/env-keys';
import { SUPPORTED_LANGUAGES } from './src/i18n/languages';
import { SUPPORTED_LANGUAGES } from './src/i18n/languages.ts';
import { SENTRY_NATIVE_OPTIONS } from './src/lib/sentry-dsn';
import { UNIVERSAL_LINK_PATH_PATTERNS } from './src/lib/universal-link-paths';
import {
Expand Down
3 changes: 3 additions & 0 deletions apps/mobile/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true,
// app.config.ts imports src/i18n/languages.ts with its extension: the Expo
// config loader resolves require('./x.ts') but not the extensionless form.
"allowImportingTsExtensions": true,
"noUncheckedIndexedAccess": true,
"paths": {
"@/*": ["./src/*"],
Expand Down