Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Sep 10, 2021
1 parent a3cbe65 commit 8278470
Show file tree
Hide file tree
Showing 6 changed files with 792 additions and 601 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@
"@react-navigation/native-stack": "6.1.0",
"@types/jest": "27.0.1",
"@types/mime-types": "2.1.1",
"@types/react-native": "0.64.13",
"@types/react-native": "0.65.0",
"@types/react-native-share": "3.3.3",
"@types/react-native-vector-icons": "6.4.8",
"@types/react-redux": "7.1.18",
"@types/react-test-renderer": "17.0.1",
"@types/semver": "7.3.8",
"@typescript-eslint/eslint-plugin": "4.30.0",
"@typescript-eslint/parser": "4.30.0",
"@typescript-eslint/eslint-plugin": "4.31.0",
"@typescript-eslint/parser": "4.31.0",
"appcenter": "4.2.0",
"appcenter-analytics": "4.2.0",
"appcenter-crashes": "4.2.0",
"axios": "0.21.3",
"babel-jest": "27.1.0",
"axios": "0.21.4",
"babel-jest": "27.1.1",
"babel-plugin-module-resolver": "4.1.0",
"babel-plugin-preval": "5.0.0",
"darkreader": "4.9.34",
"dayjs": "1.10.6",
"dayjs": "1.10.7",
"dotenv": "10.0.0",
"eslint": "7.32.0",
"expo-calendar": "9.2.2",
Expand All @@ -51,13 +51,13 @@
"fuse.js": "6.4.6",
"graphql": "15.5.3",
"graphql-request": "3.5.0",
"jest": "27.1.0",
"jest": "27.1.1",
"metro-react-native-babel-preset": "0.66.2",
"mime-types": "2.1.32",
"patch-package": "6.4.7",
"path": "0.12.7",
"postinstall-postinstall": "2.1.0",
"prettier": "2.3.2",
"prettier": "2.4.0",
"react": "17.0.2",
"react-native": "0.65.1",
"react-native-code-push": "7.0.2",
Expand All @@ -72,10 +72,10 @@
"react-native-paper": "4.9.2",
"react-native-reanimated": "2.3.0-alpha.2",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "3.6.0",
"react-native-share": "7.0.2",
"react-native-screens": "3.7.0",
"react-native-share": "7.1.0",
"react-native-tab-view": "3.1.1",
"react-native-unimodules": "0.14.6",
"react-native-unimodules": "0.14.8",
"react-native-vector-icons": "8.1.0",
"react-native-webview": "11.13.0",
"react-redux": "7.2.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ index ea6dee1..659b331 100644
apply plugin: 'kotlin-android'
-apply plugin: 'maven'
+apply plugin: 'maven-publish'

group = 'org.unimodules'
version = '7.1.1'
version = '7.1.2'
@@ -20,27 +20,16 @@ buildscript {
}
}

-//Upload android library to maven with javadoc and android sources
-configurations {
- deployerJars
Expand All @@ -24,7 +24,7 @@ index ea6dee1..659b331 100644
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}

-//Put the androidSources and javadoc to the artifacts
-artifacts {
- archives androidSourcesJar
Expand Down
61 changes: 0 additions & 61 deletions patches/@unimodules+react-native-adapter+6.3.5.patch

This file was deleted.

44 changes: 44 additions & 0 deletions patches/@unimodules+react-native-adapter+6.3.7.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
diff --git a/node_modules/@unimodules/react-native-adapter/android/build.gradle b/node_modules/@unimodules/react-native-adapter/android/build.gradle
index 4384cb0..6c59a3e 100644
--- a/node_modules/@unimodules/react-native-adapter/android/build.gradle
+++ b/node_modules/@unimodules/react-native-adapter/android/build.gradle
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
-apply plugin: 'maven'
+apply plugin: 'maven-publish'

// Import autolinking script
apply from: "../scripts/autolinking.gradle"
@@ -23,27 +23,16 @@ buildscript {
}
}

-//Upload android library to maven with javadoc and android sources
-configurations {
- deployerJars
-}
-
//Creating sources with comments
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}

-//Put the androidSources and javadoc to the artifacts
-artifacts {
- archives androidSourcesJar
-}
-
-uploadArchives {
- repositories {
- mavenDeployer {
- configuration = configurations.deployerJars
- repository(url: mavenLocal().url)
+publishing {
+ publications {
+ mavenLocal(MavenPublication) {
+ artifact androidSourcesJar
}
}
}
2 changes: 1 addition & 1 deletion src/data/actions/user.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {createAsyncAction} from 'typesafe-actions';
import {CourseType, ApiError} from 'thu-learn-lib-no-native/lib/types';
import {CourseType} from 'thu-learn-lib-no-native/lib/types';
import {
GET_USER_INFO_FAILURE,
GET_USER_INFO_REQUEST,
Expand Down
Loading

0 comments on commit 8278470

Please sign in to comment.