chore: dependency updates and minor refactors

- Bump `@tanstack/react-query` and related packages to 5.95.0
- Add `@orpc/json-schema`, `@orpc/openapi`, `@orpc/server`, `@orpc/zod` to catalog and use catalog refs in `apps/server`
- Move `ORPCError` throws for backup not-found/invalid into `@sofa/core/backup` so the server procedure can simply `await deleteBackup()` without re-wrapping errors
- Add `@orpc/server` dep to `packages/core` to support the above
- Add `expo-updates` to native deps; switch `requireNativeModule` import to `expo` in `WidgetImagesModule`
- Pin native `react`/`react-dom` to catalog to avoid duplicate copies
- Add `@lingui/core` to web and `react` to i18n package deps
This commit is contained in:
2026-03-22 14:11:45 -04:00
parent 2c7068ced3
commit 6be586bd53
10 changed files with 77 additions and 185 deletions
+5 -4
View File
@@ -36,10 +36,10 @@
"@sofa/api": "workspace:*",
"@sofa/i18n": "workspace:*",
"@tabler/icons-react-native": "3.40.0",
"@tanstack/query-async-storage-persister": "5.94.5",
"@tanstack/query-async-storage-persister": "5.95.0",
"@tanstack/react-form": "1.28.5",
"@tanstack/react-query": "catalog:",
"@tanstack/react-query-persist-client": "5.94.5",
"@tanstack/react-query-persist-client": "5.95.0",
"better-auth": "catalog:",
"burnt": "0.13.0",
"expo": "55.0.8",
@@ -64,11 +64,12 @@
"expo-status-bar": "55.0.4",
"expo-system-ui": "55.0.10",
"expo-tracking-transparency": "55.0.9",
"expo-updates": "55.0.15",
"expo-web-browser": "55.0.10",
"expo-widgets": "55.0.7",
"posthog-react-native": "4.37.5",
"react": "19.2.0",
"react-dom": "19.2.0",
"react": "catalog:",
"react-dom": "catalog:",
"react-native": "0.83.2",
"react-native-gesture-handler": "2.30.0",
"react-native-ios-context-menu": "3.2.0",