ecency-mobile/patches/@esteemapp+react-native-multi-slider+1.1.0.patch

85 lines
3.2 KiB
Diff
Raw Normal View History

2022-10-31 17:21:36 +03:00
diff --git a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle
index cd8664f..77169be 100644
--- a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle
+++ b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/android/build.gradle
@@ -10,7 +10,7 @@ buildscript {
}
repositories {
google()
- jcenter()
+ mavenCentral() //patched
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
@@ -24,7 +24,7 @@ allprojects {
repositories {
google()
mavenLocal()
- jcenter()
+ mavenCentral() //patched
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
diff --git a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json
index d878530..61f12f2 100644
--- a/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json
+++ b/node_modules/@esteemapp/react-native-multi-slider/examples/Basic/package.json
@@ -19,5 +19,57 @@
},
"jest": {
"preset": "react-native"
+ },
+ "react-native": {
+ "zlib": "browserify-zlib",
+ "console": "console-browserify",
+ "constants": "constants-browserify",
+ "crypto": "react-native-crypto",
+ "dns": "dns.js",
+ "net": "react-native-tcp",
+ "domain": "domain-browser",
+ "http": "@tradle/react-native-http",
+ "https": "https-browserify",
+ "os": "react-native-os",
+ "path": "path-browserify",
+ "querystring": "querystring-es3",
+ "fs": "react-native-level-fs",
+ "_stream_transform": "readable-stream/transform",
+ "_stream_readable": "readable-stream/readable",
+ "_stream_writable": "readable-stream/writable",
+ "_stream_duplex": "readable-stream/duplex",
+ "_stream_passthrough": "readable-stream/passthrough",
+ "dgram": "react-native-udp",
+ "stream": "stream-browserify",
+ "timers": "timers-browserify",
+ "tty": "tty-browserify",
+ "vm": "vm-browserify",
+ "tls": false
+ },
+ "browser": {
+ "zlib": "browserify-zlib",
+ "console": "console-browserify",
+ "constants": "constants-browserify",
+ "crypto": "react-native-crypto",
+ "dns": "dns.js",
+ "net": "react-native-tcp",
+ "domain": "domain-browser",
+ "http": "@tradle/react-native-http",
+ "https": "https-browserify",
+ "os": "react-native-os",
+ "path": "path-browserify",
+ "querystring": "querystring-es3",
+ "fs": "react-native-level-fs",
+ "_stream_transform": "readable-stream/transform",
+ "_stream_readable": "readable-stream/readable",
+ "_stream_writable": "readable-stream/writable",
+ "_stream_duplex": "readable-stream/duplex",
+ "_stream_passthrough": "readable-stream/passthrough",
+ "dgram": "react-native-udp",
+ "stream": "stream-browserify",
+ "timers": "timers-browserify",
+ "tty": "tty-browserify",
+ "vm": "vm-browserify",
+ "tls": false
}
}