From 2cac03a68182b369449b0a6fe012883d12ebd052 Mon Sep 17 00:00:00 2001 From: Syahdan Date: Thu, 15 May 2025 10:06:46 +0700 Subject: [PATCH] =?UTF-8?q?use=20typescript=20because=20types=20?= =?UTF-8?q?=F0=9F=A4=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .node-version | 1 - App.js => App.tsx | 2 +- index.js => index.ts | 0 package.json | 6 +- pnpm-lock.yaml | 167 +++++++++++++++++++++++++------------------ tsconfig.json | 6 ++ 6 files changed, 109 insertions(+), 73 deletions(-) delete mode 100644 .node-version rename App.js => App.tsx (85%) rename index.js => index.ts (100%) create mode 100644 tsconfig.json diff --git a/.node-version b/.node-version deleted file mode 100644 index 517f386..0000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -v22.14.0 diff --git a/App.js b/App.tsx similarity index 85% rename from App.js rename to App.tsx index 09f879b..0329d0c 100644 --- a/App.js +++ b/App.tsx @@ -4,7 +4,7 @@ import { StyleSheet, Text, View } from 'react-native'; export default function App() { return ( - Open up App.js to start working on your app! + Open up App.tsx to start working on your app! ); diff --git a/index.js b/index.ts similarity index 100% rename from index.js rename to index.ts diff --git a/package.json b/package.json index b9fbc5e..128467d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "checkcare", "version": "1.0.0", - "main": "index.js", + "main": "index.ts", "scripts": { "start": "expo start", "android": "expo start --android", @@ -21,7 +21,9 @@ "react-native-screens": "^4.10.0" }, "devDependencies": { - "@babel/core": "^7.20.0" + "@babel/core": "^7.25.2", + "@types/react": "~19.0.10", + "typescript": "~5.8.3" }, "private": true, "packageManager": "pnpm@10.6.1+sha512.40ee09af407fa9fbb5fbfb8e1cb40fbb74c0af0c3e10e9224d7b53c7658528615b2c92450e74cfad91e3a2dcafe3ce4050d80bda71d757756d2ce2b66213e9a3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0f566d..d2f848b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,38 +10,44 @@ importers: dependencies: '@react-navigation/native': specifier: ^7.1.9 - version: 7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) '@react-navigation/native-stack': specifier: ^7.3.13 - version: 7.3.13(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native-screens@4.10.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 7.3.13(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native-screens@4.10.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) expo: specifier: ~53.0.9 - version: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) expo-status-bar: specifier: ~2.2.3 - version: 2.2.3(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 2.2.3(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) react: specifier: 19.0.0 version: 19.0.0 react-native: specifier: 0.79.2 - version: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + version: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) react-native-gesture-handler: specifier: ^2.25.0 - version: 2.25.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 2.25.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) react-native-reanimated: specifier: ^3.17.5 - version: 3.17.5(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 3.17.5(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) react-native-safe-area-context: specifier: ^5.4.0 - version: 5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) react-native-screens: specifier: ^4.10.0 - version: 4.10.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + version: 4.10.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) devDependencies: '@babel/core': - specifier: ^7.20.0 + specifier: ^7.25.2 version: 7.27.1 + '@types/react': + specifier: ~19.0.10 + version: 19.0.14 + typescript: + specifier: ~5.8.3 + version: 5.8.3 packages: @@ -828,6 +834,9 @@ packages: '@types/node@22.15.18': resolution: {integrity: sha512-v1DKRfUdyW+jJhZNEI1PYy29S2YRxMV5AOO/x/SjKmW0acCIOqmbj6Haf9eHAhsPmrhlHSxEhv/1WszcLWV4cg==} + '@types/react@19.0.14': + resolution: {integrity: sha512-ixLZ7zG7j1fM0DijL9hDArwhwcCb4vqmePgwtV0GfnkHRSCUEv4LvzarcTdhoqgyMznUx/EhoTUv31CKZzkQlw==} + '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} @@ -1167,6 +1176,9 @@ packages: resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} engines: {node: '>=8'} + csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -2452,6 +2464,11 @@ packages: resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} engines: {node: '>=8'} + typescript@5.8.3: + resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + engines: {node: '>=14.17'} + hasBin: true + undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} @@ -3472,11 +3489,11 @@ snapshots: '@expo/sudo-prompt@9.3.2': {} - '@expo/vector-icons@14.1.0(expo-font@13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0)': + '@expo/vector-icons@14.1.0(expo-font@13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)': dependencies: - expo-font: 13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0) + expo-font: 13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0) react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) '@expo/ws-tunnel@1.0.6': {} @@ -3700,12 +3717,14 @@ snapshots: '@react-native/normalize-colors@0.79.2': {} - '@react-native/virtualized-lists@0.79.2(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0)': + '@react-native/virtualized-lists@0.79.2(@types/react@19.0.14)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) + optionalDependencies: + '@types/react': 19.0.14 '@react-navigation/core@7.9.2(react@19.0.0)': dependencies: @@ -3718,34 +3737,34 @@ snapshots: use-latest-callback: 0.2.3(react@19.0.0) use-sync-external-store: 1.5.0(react@19.0.0) - '@react-navigation/elements@2.4.2(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0)': + '@react-navigation/elements@2.4.2(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)': dependencies: - '@react-navigation/native': 7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + '@react-navigation/native': 7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) color: 4.2.3 react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) - react-native-safe-area-context: 5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) + react-native-safe-area-context: 5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) - '@react-navigation/native-stack@7.3.13(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native-screens@4.10.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0)': + '@react-navigation/native-stack@7.3.13(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native-screens@4.10.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)': dependencies: - '@react-navigation/elements': 2.4.2(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - '@react-navigation/native': 7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + '@react-navigation/elements': 2.4.2(@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + '@react-navigation/native': 7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) - react-native-safe-area-context: 5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - react-native-screens: 4.10.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) + react-native-safe-area-context: 5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + react-native-screens: 4.10.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) warn-once: 0.1.1 transitivePeerDependencies: - '@react-native-masked-view/masked-view' - '@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0)': + '@react-navigation/native@7.1.9(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0)': dependencies: '@react-navigation/core': 7.9.2(react@19.0.0) escape-string-regexp: 4.0.0 fast-deep-equal: 3.1.3 nanoid: 3.3.11 react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) use-latest-callback: 0.2.3(react@19.0.0) '@react-navigation/routers@7.3.7': @@ -3803,6 +3822,10 @@ snapshots: dependencies: undici-types: 6.21.0 + '@types/react@19.0.14': + dependencies: + csstype: 3.1.3 + '@types/stack-utils@2.0.3': {} '@types/yargs-parser@21.0.3': {} @@ -4199,6 +4222,8 @@ snapshots: crypto-random-string@2.0.0: {} + csstype@3.1.3: {} + debug@2.6.9: dependencies: ms: 2.0.0 @@ -4277,39 +4302,39 @@ snapshots: exec-async@2.2.0: {} - expo-asset@11.1.5(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + expo-asset@11.1.5(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: '@expo/image-utils': 0.7.4 - expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - expo-constants: 17.1.6(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0)) + expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + expo-constants: 17.1.6(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0)) react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) transitivePeerDependencies: - supports-color - expo-constants@17.1.6(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0)): + expo-constants@17.1.6(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0)): dependencies: '@expo/config': 11.0.10 '@expo/env': 1.0.5 - expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) transitivePeerDependencies: - supports-color - expo-file-system@18.1.10(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0)): + expo-file-system@18.1.10(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0)): dependencies: - expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) - expo-font@13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0): + expo-font@13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0): dependencies: - expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) fontfaceobserver: 2.3.0 react: 19.0.0 - expo-keep-awake@14.1.4(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0): + expo-keep-awake@14.1.4(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0): dependencies: - expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + expo: 53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) react: 19.0.0 expo-modules-autolinking@2.1.10: @@ -4326,14 +4351,14 @@ snapshots: dependencies: invariant: 2.2.4 - expo-status-bar@2.2.3(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + expo-status-bar@2.2.3(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) - react-native-edge-to-edge: 1.6.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - react-native-is-edge-to-edge: 1.1.7(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) + react-native-edge-to-edge: 1.6.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + react-native-is-edge-to-edge: 1.1.7(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) - expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.27.1 '@expo/cli': 0.24.13 @@ -4341,18 +4366,18 @@ snapshots: '@expo/config-plugins': 10.0.2 '@expo/fingerprint': 0.12.4 '@expo/metro-config': 0.20.14 - '@expo/vector-icons': 14.1.0(expo-font@13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + '@expo/vector-icons': 14.1.0(expo-font@13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) babel-preset-expo: 13.1.11(@babel/core@7.27.1) - expo-asset: 11.1.5(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) - expo-constants: 17.1.6(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0)) - expo-file-system: 18.1.10(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0)) - expo-font: 13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0) - expo-keep-awake: 14.1.4(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0))(react@19.0.0) + expo-asset: 11.1.5(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) + expo-constants: 17.1.6(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0)) + expo-file-system: 18.1.10(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0)) + expo-font: 13.3.1(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0) + expo-keep-awake: 14.1.4(expo@53.0.9(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0))(react@19.0.0) expo-modules-autolinking: 2.1.10 expo-modules-core: 2.3.13 react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) - react-native-edge-to-edge: 1.6.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) + react-native-edge-to-edge: 1.6.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) whatwg-url-without-unicode: 8.0.0-3 transitivePeerDependencies: - '@babel/core' @@ -5170,25 +5195,25 @@ snapshots: react-is@19.1.0: {} - react-native-edge-to-edge@1.6.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + react-native-edge-to-edge@1.6.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) - react-native-gesture-handler@2.25.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + react-native-gesture-handler@2.25.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: '@egjs/hammerjs': 2.0.17 hoist-non-react-statics: 3.3.2 invariant: 2.2.4 react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) - react-native-is-edge-to-edge@1.1.7(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + react-native-is-edge-to-edge@1.1.7(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) - react-native-reanimated@3.17.5(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + react-native-reanimated@3.17.5(@babel/core@7.27.1)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: '@babel/core': 7.27.1 '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.27.1) @@ -5203,24 +5228,24 @@ snapshots: convert-source-map: 2.0.0 invariant: 2.2.4 react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) - react-native-is-edge-to-edge: 1.1.7(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) + react-native-is-edge-to-edge: 1.1.7(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - supports-color - react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + react-native-safe-area-context@5.4.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: react: 19.0.0 - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) - react-native-screens@4.10.0(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0): + react-native-screens@4.10.0(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0): dependencies: react: 19.0.0 react-freeze: 1.0.4(react@19.0.0) - react-native: 0.79.2(@babel/core@7.27.1)(react@19.0.0) + react-native: 0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0) warn-once: 0.1.1 - react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0): + react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0): dependencies: '@jest/create-cache-key-function': 29.7.0 '@react-native/assets-registry': 0.79.2 @@ -5229,7 +5254,7 @@ snapshots: '@react-native/gradle-plugin': 0.79.2 '@react-native/js-polyfills': 0.79.2 '@react-native/normalize-colors': 0.79.2 - '@react-native/virtualized-lists': 0.79.2(react-native@0.79.2(@babel/core@7.27.1)(react@19.0.0))(react@19.0.0) + '@react-native/virtualized-lists': 0.79.2(@types/react@19.0.14)(react-native@0.79.2(@babel/core@7.27.1)(@types/react@19.0.14)(react@19.0.0))(react@19.0.0) abort-controller: 3.0.0 anser: 1.4.10 ansi-regex: 5.0.1 @@ -5259,6 +5284,8 @@ snapshots: whatwg-fetch: 3.6.20 ws: 6.2.3 yargs: 17.7.2 + optionalDependencies: + '@types/react': 19.0.14 transitivePeerDependencies: - '@babel/core' - '@react-native-community/cli' @@ -5562,6 +5589,8 @@ snapshots: type-fest@0.7.1: {} + typescript@5.8.3: {} + undici-types@6.21.0: {} undici@6.21.3: {} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..b9567f6 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "expo/tsconfig.base", + "compilerOptions": { + "strict": true + } +}