build: update to react native 0.65.1

This commit is contained in:
Arnaud Vergnet 2021-09-10 12:21:27 +02:00
parent 26f6518270
commit 6104b88815
7 changed files with 3992 additions and 842 deletions

View file

@ -141,11 +141,6 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig { defaultConfig {
applicationId 'fr.amicaleinsat.application' applicationId 'fr.amicaleinsat.application'
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
@ -238,7 +233,7 @@ dependencies {
// Run this once to be able to run the application with BUCK // Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use // puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) { task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile from configurations.implementation
into 'libs' into 'libs'
} }

View file

@ -2,18 +2,18 @@
buildscript { buildscript {
ext { ext {
buildToolsVersion = "29.0.3" buildToolsVersion = "30.0.2"
minSdkVersion = 23 minSdkVersion = 23
compileSdkVersion = 29 compileSdkVersion = 30
targetSdkVersion = 29 targetSdkVersion = 30
ndkVersion = "20.1.5948944" ndkVersion = "20.1.5948944"
} }
repositories { repositories {
google() google()
jcenter() mavenCentral()
} }
dependencies { dependencies {
classpath("com.android.tools.build:gradle:4.1.0") classpath("com.android.tools.build:gradle:4.2.1")
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
@ -22,6 +22,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
mavenCentral()
mavenLocal() mavenLocal()
maven { maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
@ -36,7 +37,6 @@ allprojects {
url "$rootDir/../node_modules/expo-camera/android/maven" url "$rootDir/../node_modules/expo-camera/android/maven"
} }
google() google()
jcenter()
maven { url 'https://www.jitpack.io' } maven { url 'https://www.jitpack.io' }
} }
} }

View file

@ -24,4 +24,4 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX # Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true android.enableJetifier=true
# Version of flipper SDK to use with React Native # Version of flipper SDK to use with React Native
FLIPPER_VERSION=0.75.1 FLIPPER_VERSION=0.93.0

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View file

@ -1,7 +1,7 @@
require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '10.0' platform :ios, '11.0'
target 'Campus' do target 'Campus' do
config = use_native_modules! config = use_native_modules!
@ -28,5 +28,4 @@ target 'Campus' do
post_install do |installer| post_install do |installer|
react_native_post_install(installer) react_native_post_install(installer)
end end
end end

4799
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,8 +29,8 @@
"@react-navigation/stack": "5.14.5", "@react-navigation/stack": "5.14.5",
"i18n-js": "3.8.0", "i18n-js": "3.8.0",
"moment": "2.29.1", "moment": "2.29.1",
"react": "17.0.1", "react": "17.0.2",
"react-native": "0.64.2", "react-native": "0.65.1",
"react-native-animatable": "1.3.3", "react-native-animatable": "1.3.3",
"react-native-app-intro-slider": "4.0.4", "react-native-app-intro-slider": "4.0.4",
"react-native-appearance": "0.3.4", "react-native-appearance": "0.3.4",
@ -78,11 +78,12 @@
"jest": "26.6.3", "jest": "26.6.3",
"jest-extended": "0.11.5", "jest-extended": "0.11.5",
"jest-fetch-mock": "3.0.3", "jest-fetch-mock": "3.0.3",
"metro-react-native-babel-preset": "0.65.2", "metro-react-native-babel-preset": "0.66.0",
"prettier": "2.3.2", "prettier": "2.3.2",
"react-native-clean-project": "3.6.4", "react-native-clean-project": "3.6.4",
"react-native-codegen": "0.0.7",
"react-native-version": "4.0.0", "react-native-version": "4.0.0",
"react-test-renderer": "17.0.1", "react-test-renderer": "17.0.2",
"typescript": "4.3.5" "typescript": "4.3.5"
}, },
"eslintConfig": { "eslintConfig": {