From 83d0a20d0143199279895e6a6f16f9b85d60f50f Mon Sep 17 00:00:00 2001 From: linonetwo Date: Sat, 10 Feb 2024 00:32:49 +0800 Subject: [PATCH] chore: add dependency --- package.json | 1 + pnpm-lock.yaml | 39 ++++++++++++++++++++++++++++++++++++--- scripts/fix-gradle.mjs | 4 ++++ 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5b220ea..d09540f 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@react-native-async-storage/async-storage": "1.21.0", "@react-native-community/datetimepicker": "7.6.1", "@react-native-picker/picker": "2.6.1", + "@react-navigation/bottom-tabs": "^6.5.12", "@react-navigation/elements": "^1.3.21", "@react-navigation/native": "^6.1.9", "@react-navigation/stack": "^6.3.20", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4a073f1..591d590 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ dependencies: '@react-native-picker/picker': specifier: 2.6.1 version: 2.6.1(react-native@0.73.4)(react@18.2.0) + '@react-navigation/bottom-tabs': + specifier: ^6.5.12 + version: 6.5.12(@react-navigation/native@6.1.9)(react-native-safe-area-context@4.8.2)(react-native-screens@3.29.0)(react-native@0.73.4)(react@18.2.0) '@react-navigation/elements': specifier: ^1.3.21 version: 1.3.21(@react-navigation/native@6.1.9)(react-native-safe-area-context@4.8.2)(react-native@0.73.4)(react@18.2.0) @@ -53,9 +56,6 @@ dependencies: expo-clipboard: specifier: 5.0.1 version: 5.0.1(expo@50.0.6) - expo-constants: - specifier: ~15.4.5 - version: 15.4.5(expo@50.0.6) expo-device: specifier: 5.9.3 version: 5.9.3(expo@50.0.6) @@ -3019,6 +3019,25 @@ packages: nullthrows: 1.1.1 react-native: 0.73.4(@babel/core@7.23.9)(@babel/preset-env@7.23.9)(react@18.2.0) + /@react-navigation/bottom-tabs@6.5.12(@react-navigation/native@6.1.9)(react-native-safe-area-context@4.8.2)(react-native-screens@3.29.0)(react-native@0.73.4)(react@18.2.0): + resolution: {integrity: sha512-8gBHHvgmJSRGfQ5fcFUgDFcXj1MzDzEZJ/llDYvcSb6ZxgN5xVq+4oVkwPMxOM6v+Qm2nKvXiUKuB/YydhzpLw==} + peerDependencies: + '@react-navigation/native': ^6.0.0 + react: '*' + react-native: '*' + react-native-safe-area-context: '>= 3.0.0' + react-native-screens: '>= 3.0.0' + dependencies: + '@react-navigation/elements': 1.3.22(@react-navigation/native@6.1.9)(react-native-safe-area-context@4.8.2)(react-native@0.73.4)(react@18.2.0) + '@react-navigation/native': 6.1.9(react-native@0.73.4)(react@18.2.0) + color: 4.2.3 + react: 18.2.0 + react-native: 0.73.4(@babel/core@7.23.9)(@babel/preset-env@7.23.9)(react@18.2.0) + react-native-safe-area-context: 4.8.2(react-native@0.73.4)(react@18.2.0) + react-native-screens: 3.29.0(react-native@0.73.4)(react@18.2.0) + warn-once: 0.1.1 + dev: false + /@react-navigation/core@6.4.10(react@18.2.0): resolution: {integrity: sha512-oYhqxETRHNHKsipm/BtGL0LI43Hs2VSFoWMbBdHK9OqgQPjTVUitslgLcPpo4zApCcmBWoOLX2qPxhsBda644A==} peerDependencies: @@ -3047,6 +3066,20 @@ packages: react-native-safe-area-context: 4.8.2(react-native@0.73.4)(react@18.2.0) dev: false + /@react-navigation/elements@1.3.22(@react-navigation/native@6.1.9)(react-native-safe-area-context@4.8.2)(react-native@0.73.4)(react@18.2.0): + resolution: {integrity: sha512-HYKucs0TwQT8zMvgoZbJsY/3sZfzeP8Dk9IDv4agst3zlA7ReTx4+SROCG6VGC7JKqBCyQykHIwkSwxhapoc+Q==} + peerDependencies: + '@react-navigation/native': ^6.0.0 + react: '*' + react-native: '*' + react-native-safe-area-context: '>= 3.0.0' + dependencies: + '@react-navigation/native': 6.1.9(react-native@0.73.4)(react@18.2.0) + react: 18.2.0 + react-native: 0.73.4(@babel/core@7.23.9)(@babel/preset-env@7.23.9)(react@18.2.0) + react-native-safe-area-context: 4.8.2(react-native@0.73.4)(react@18.2.0) + dev: false + /@react-navigation/native@6.1.9(react-native@0.73.4)(react@18.2.0): resolution: {integrity: sha512-AMuJDpwXE7UlfyhIXaUCCynXmv69Kb8NzKgKJO7v0k0L+u6xUTbt6xvshmJ79vsvaFyaEH9Jg5FMzek5/S5qNw==} peerDependencies: diff --git a/scripts/fix-gradle.mjs b/scripts/fix-gradle.mjs index 062d1a3..80e4dd7 100644 --- a/scripts/fix-gradle.mjs +++ b/scripts/fix-gradle.mjs @@ -1 +1,5 @@ +/** + * Fix No signature of method: org.gradle.internal.extensibility.DefaultExtraPropertiesExtension.kotlinVersion() is applicable for argument types: () values: [] + * @url https://github.com/expo/expo/issues/24945#issuecomment-1914306405 + */ await $`find ./node_modules -name "build.gradle" -exec sed -i 's/kotlinVersion()/kotlinVersion/g' {} +`;