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
4 changes: 2 additions & 2 deletions .claude/hooks/forbid-expo-pin-bump.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
// PreToolUse(Bash) hook: block npm commands that would bump an Expo-SDK-pinned
// package or bulk-update the mobile dependency tree. The Expo SDK 56 set is
// package or bulk-update the mobile dependency tree. The Expo SDK 57 set is
// version-locked (worklets<->reanimated ABI, RNGMA/Kotlin, the expo-* family);
// a stray `npm update` or `npm install <pkg>@<ver>` breaks the native build and
// drops RN transitive deps. Use `npx expo install <pkg>` (SDK-correct versions)
Expand Down Expand Up @@ -35,7 +35,7 @@ try {
) {
process.stderr.write(
`BLOCKED npm command (Expo SDK pin):\n ${command}\n\n` +
"That package's version is managed by the Expo SDK 56 pin. Install it with `npx expo install <pkg>` so it resolves to the SDK-correct, ABI-compatible version.\n",
"That package's version is managed by the Expo SDK 57 pin. Install it with `npx expo install <pkg>` so it resolves to the SDK-correct, ABI-compatible version.\n",
)
process.exit(2)
}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

# The isolated workspace is a copy of apps/mobile only, so the repo-root
# .npmrc (legacy-peer-deps=true) does not apply here. Pass the flag
# explicitly: worklets 0.8.3 is the ABI pair for reanimated 4.3.1 and must
# explicitly: worklets 0.10.0 is the ABI pair for reanimated 4.5.0 and must
# not be "fixed" to a newer patch to satisfy an advisory peer range.
- name: Install isolated mobile dependencies
working-directory: ${{ env.RELEASE_WORKDIR }}/apps/mobile
Expand All @@ -119,8 +119,8 @@ jobs:
node <<'NODE'
const pkg = require('./package.json')

// Keep the verified coherent set together: reanimated 4.3.1 is built
// against worklets 0.8.3 (ABI), and the Expo SDK 56.0.14 module set is
// Keep the verified coherent set together: reanimated 4.5.0 is built
// against worklets 0.10.0 (ABI), and the Expo SDK 57.0.4 module set is
// the one verified to build the release AAB. A from-scratch resolve can
// drift these to newer patches and break reanimated or the build. Fail
// here instead of shipping a broken AAB to Google Play.
Expand All @@ -143,7 +143,7 @@ jobs:
if (mismatches.length > 0) {
console.error(
`::error::Pinned native module versions drifted: ${mismatches.join('; ')}. ` +
'This is the verified coherent reanimated + Expo SDK 56.0.14 set; a newer ' +
'This is the verified coherent reanimated + Expo SDK 57.0.4 set; a newer ' +
'resolve can break reanimated or the release build. Fix the pins/overrides in apps/mobile/package.json.'
)
process.exit(1)
Expand Down
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# react-native-worklets is pinned to 0.8.3 (the version Reanimated 4.3.1 is built
# against) via `overrides`, matching the Expo SDK 56 bundled native module set.
# react-native-worklets is pinned to 0.10.0 (the version Reanimated 4.5.0 is built
# against) via `overrides`, matching the Expo SDK 57 bundled native module set.
# Reanimated and worklets share a native ABI and must stay locked together; letting
# npm "fix" worklets to a newer patch to satisfy an advisory peer range would break
# reanimated at runtime. legacy-peer-deps tolerates those advisory peer mismatches.
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Orbit

Personal habit tracker. Turborepo monorepo: `apps/web` (Next.js 16), `apps/mobile` (Expo SDK 56, Android-only), `packages/shared`. Sibling repos worked from this session: `orbit-api` (.NET 10 / EF Core / MediatR CQRS) + `orbit-landing-page` (Astro 6 + Tailwind v4).
Personal habit tracker. Turborepo monorepo: `apps/web` (Next.js 16), `apps/mobile` (Expo SDK 57, Android-only), `packages/shared`. Sibling repos worked from this session: `orbit-api` (.NET 10 / EF Core / MediatR CQRS) + `orbit-landing-page` (Astro 6 + Tailwind v4).

<!-- Sibling guidance lives in each repo; it loads here because Orbit sessions always launch from orbit-ui-mobile. @-imports load in full every session and survive /compact. -->
@../orbit-api/CLAUDE.md
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# apps/mobile — Expo SDK 56 + Expo Router
# apps/mobile — Expo SDK 57 + Expo Router

Mobile client (Android only — no iOS app exists). Direct calls to `orbit-api` (no BFF). Auth via SecureStore. SQLite offline queue.

Expand Down
84 changes: 42 additions & 42 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,64 +28,64 @@
"@expo-google-fonts/roboto": "^0.4.3",
"@expo-google-fonts/rubik": "^0.4.2",
"@hookform/resolvers": "^5.2.2",
"@lodev09/react-native-true-sheet": "^3.10.1",
"@lodev09/react-native-true-sheet": "^3.11.3",
"@orbit/shared": "*",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-clipboard/clipboard": "1.16.3",
"@react-native-community/netinfo": "12.0.1",
"@sentry/react-native": "^8.15.1",
"@sentry/react-native": "^8.17.2",
"@siteed/audio-studio": "3.2.1",
"@supabase/supabase-js": "^2.102.1",
"@tanstack/react-query": "^5.96.2",
"date-fns": "^4.1.0",
"expo": "56.0.14",
"expo-audio": "~56.0.12",
"expo-blur": "56.0.3",
"expo-build-properties": "~56.0.21",
"expo-dev-client": "56.0.22",
"expo-device": "56.0.4",
"expo-document-picker": "~56.0.4",
"expo-font": "56.0.7",
"expo": "57.0.4",
"expo-audio": "~57.0.0",
"expo-blur": "57.0.0",
"expo-build-properties": "~57.0.3",
"expo-dev-client": "57.0.5",
"expo-device": "57.0.0",
"expo-document-picker": "~57.0.0",
"expo-font": "57.0.0",
"expo-iap": "4.3.6",
"expo-image-picker": "56.0.19",
"expo-linear-gradient": "56.0.4",
"expo-linking": "56.0.15",
"expo-modules-core": "56.0.19",
"expo-notifications": "56.0.19",
"expo-router": "56.2.13",
"expo-secure-store": "56.0.4",
"expo-sharing": "~56.0.20",
"expo-speech": "56.0.3",
"expo-splash-screen": "~56.0.12",
"expo-sqlite": "56.0.5",
"expo-status-bar": "56.0.4",
"expo-store-review": "56.0.3",
"expo-updates": "56.0.21",
"expo-web-browser": "56.0.5",
"hermes-compiler": "250829098.0.10",
"expo-image-picker": "57.0.2",
"expo-linear-gradient": "57.0.0",
"expo-linking": "57.0.2",
"expo-modules-core": "57.0.3",
"expo-notifications": "57.0.3",
"expo-router": "57.0.4",
"expo-secure-store": "57.0.0",
"expo-sharing": "~57.0.3",
"expo-speech": "57.0.0",
"expo-splash-screen": "~57.0.2",
"expo-sqlite": "57.0.0",
"expo-status-bar": "57.0.0",
"expo-store-review": "57.0.0",
"expo-updates": "57.0.6",
"expo-web-browser": "57.0.0",
"hermes-compiler": "250829098.0.14",
"html-parse-stringify": "^3.0.1",
"i18next": "^26.0.3",
"lucide-react-native": "^1.7.0",
"lucide-react-native": "^1.23.0",
"memoize-one": "^5.0.0",
"nativewind": "^4.2.3",
"promise": "^8.3.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-hook-form": "^7.72.1",
"react-i18next": "^17.0.2",
"react-native": "0.85.3",
"react-native": "0.86.0",
"react-native-draggable-flatlist": "^4.0.3",
"react-native-gesture-handler": "~2.31.1",
"react-native-gesture-handler": "~2.32.0",
"react-native-google-mobile-ads": "16.3.3",
"react-native-marked": "^8.1.0",
"react-native-qrcode-svg": "^6.3.21",
"react-native-reanimated": "4.3.1",
"react-native-reanimated": "4.5.0",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "4.25.2",
"react-native-svg": "15.15.4",
"react-native-url-polyfill": "^3.0.0",
"react-native-view-shot": "5.1.0",
"react-native-worklets": "0.8.3",
"react-native-worklets": "0.10.0",
"regenerator-runtime": "^0.13.2",
"sp-react-native-in-app-updates": "^1.5.0",
"underscore": "^1.13.8",
Expand All @@ -97,8 +97,8 @@
"@types/node": "^24.5.2",
"@types/react": "~19.2.14",
"@vitest/coverage-v8": "^4.1.9",
"babel-preset-expo": "~56.0.16",
"eslint-config-expo": "~56.0.4",
"babel-preset-expo": "~57.0.2",
"eslint-config-expo": "~57.0.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-sonarjs": "^4.1.0",
"react-test-renderer": "19.2.7",
Expand All @@ -108,15 +108,15 @@
"vitest": "^4.1.9"
},
"overrides": {
"react-native-worklets": "0.8.3",
"expo-application": "56.0.3",
"expo-asset": "56.0.18",
"expo-constants": "56.0.20",
"expo-dev-launcher": "56.0.23",
"expo-dev-menu": "56.0.19",
"expo-file-system": "56.0.8",
"expo-image-loader": "56.0.3",
"expo-keep-awake": "56.0.3",
"react-native-worklets": "0.10.0",
"expo-application": "57.0.0",
"expo-asset": "57.0.3",
"expo-constants": "57.0.3",
"expo-dev-launcher": "57.0.5",
"expo-dev-menu": "57.0.5",
"expo-file-system": "57.0.0",
"expo-image-loader": "57.0.0",
"expo-keep-awake": "57.0.0",
"underscore": "^1.13.8"
}
}
4 changes: 2 additions & 2 deletions apps/mobile/plugins/with-android-release-build-fixes.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ allprojects {
&& details.requested.name.startsWith('play-services-ads')
&& details.requested.name != 'play-services-ads-identifier') {
details.useVersion '${PINNED_PLAY_SERVICES_ADS_VERSION}'
details.because 'play-services-ads 25.3.0+ ships Kotlin 2.3 metadata the Expo SDK 56 (Kotlin 2.1.20) toolchain cannot read; 25.2.0 is the last release before that bump and still has the AgeRestrictedTreatment API react-native-google-mobile-ads 16.3.3 needs'
details.because 'play-services-ads 25.3.0+ ships Kotlin 2.3 metadata the Expo SDK 57 (Kotlin 2.1.20) toolchain cannot read; 25.2.0 is the last release before that bump and still has the AgeRestrictedTreatment API react-native-google-mobile-ads 16.3.3 needs'
}
}
}
Expand Down Expand Up @@ -115,7 +115,7 @@ function forceJvmFlag(value, pattern, flag) {
: `${value} ${flag}`.trim()
}

// The template's default org.gradle.jvmargs is too small for the SDK 56 release
// The template's default org.gradle.jvmargs is too small for the SDK 57 release
// build: R8 minification of the Hermes bundle exhausts the default heap, and the
// expo-updates KSP AA worker exhausts the default metaspace
// (https://github.com/google/ksp/issues/1922). Force both flags authoritatively.
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/scripts/prepare-release-workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function prepareReleaseWorkspace(targetRoot) {
ensureParentDir(targetBaseTsConfigPath);
fs.copyFileSync(path.join(repoRoot, "tsconfig.base.json"), targetBaseTsConfigPath);

// SDK 56 @expo/cli resolves the tsconfig `extends` chain through Metro's file
// SDK 57 @expo/cli resolves the tsconfig `extends` chain through Metro's file
// map and crashes ("Invariant Violation: Failed to collapse") when the target
// sits above the project root in this isolated workspace, so keep the chain
// inside apps/mobile: https://github.com/expo/expo/blob/main/packages/%40expo/cli/src/start/server/metro/createTypescriptResolver.ts
Expand Down
14 changes: 7 additions & 7 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@hookform/resolvers": "^5.4.0",
"@orbit/shared": "*",
"@parcel/watcher": "^2.5.6",
"@sentry/nextjs": "^10.63.0",
"@supabase/supabase-js": "^2.110.0",
"@sentry/nextjs": "^10.64.0",
"@supabase/supabase-js": "^2.110.1",
"@tanstack/react-query": "^5.101.2",
"@vercel/analytics": "^2.0.1",
"@vercel/speed-insights": "^2.0.0",
Expand All @@ -36,7 +36,7 @@
"qrcode": "^1.5.4",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.80.0",
"react-hook-form": "^7.81.0",
"sonner": "^2.0.7",
"zod": "^4.4.3",
"zustand": "^5.0.14"
Expand All @@ -47,20 +47,20 @@
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^26.1.0",
"@types/node": "^26.1.1",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"@vitest/coverage-v8": "^4.1.9",
"@vitest/coverage-v8": "^4.1.10",
"eslint": "^9.39.4",
"eslint-config-next": "^16.2.10",
"eslint-plugin-sonarjs": "^4.1.0",
"jsdom": "^29.1.1",
"react-test-renderer": "^19.2.7",
"tailwindcss": "^4.3.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.1",
"vitest": "^4.1.9"
"typescript-eslint": "^8.63.0",
"vitest": "^4.1.10"
}
}
Loading
Loading