diff --git a/package-lock.json b/package-lock.json index 43f99043dbeb9a..0879f79196ca99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7783,12 +7783,12 @@ } }, "@react-native-community/masked-view": { - "version": "git+https://github.com/wordpress-mobile/react-native-masked-view.git#ed1c3812e4982075279a3dca952afaa243ea1b4c", - "from": "git+https://github.com/wordpress-mobile/react-native-masked-view.git#v0.1.11-wp-1" + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-masked-view/f204c270ecd7c63ddea3449ba829d2415076faa2/react-native-community-masked-view-0.1.11-wp-1.tgz", + "integrity": "sha512-hRvCRcs2FlLTE9tLXyDkc5b4tbSYchc8e71F73r8lTxhFcRTYXQMZTxEcNW495dqeuOw76rIrQOkOZiIJTZFIw==" }, "@react-native-community/slider": { - "version": "git+https://github.com/wordpress-mobile/react-native-slider.git#159fe48cb616cfbe684e06c2fbea5561f5c9cbfd", - "from": "git+https://github.com/wordpress-mobile/react-native-slider.git#v3.0.2-wp-1" + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-slider/851dbc78d015afa55ad1e526c6d14bb86399722b/react-native-community-slider-3.0.2-wp-1.tgz", + "integrity": "sha512-lxcLjijQGlAJJo6/WapBdwi6463OlmtYDEilWD0uNSOvij3VSCUIPL9TWrC3tHSWilupa/PQ5fIihPmkJQDTaA==" }, "@react-native/assets": { "version": "1.0.0", @@ -18920,8 +18920,8 @@ "requires": { "@babel/runtime": "^7.13.10", "@react-native-community/blur": "3.6.0", - "@react-native-community/masked-view": "git+https://github.com/wordpress-mobile/react-native-masked-view.git#v0.1.11-wp-1", - "@react-native-community/slider": "git+https://github.com/wordpress-mobile/react-native-slider.git#v3.0.2-wp-1", + "@react-native-community/masked-view": "https://raw.githubusercontent.com/wordpress-mobile/react-native-masked-view/f204c270ecd7c63ddea3449ba829d2415076faa2/react-native-community-masked-view-0.1.11-wp-1.tgz", + "@react-native-community/slider": "https://raw.githubusercontent.com/wordpress-mobile/react-native-slider/851dbc78d015afa55ad1e526c6d14bb86399722b/react-native-community-slider-3.0.2-wp-1.tgz", "@react-navigation/core": "5.12.0", "@react-navigation/native": "5.7.0", "@react-navigation/routers": "5.4.9", @@ -18944,23 +18944,23 @@ "jsdom-jscore-rn": "git+https://github.com/iamcco/jsdom-jscore-rn.git#a562f3d57c27c13e5bfc8cf82d496e69a3ba2800", "node-fetch": "^2.6.0", "react-native": "0.64.0", - "react-native-gesture-handler": "git+https://github.com/wordpress-mobile/react-native-gesture-handler.git#1.10.1-wp-3", - "react-native-get-random-values": "git+https://github.com/wordpress-mobile/react-native-get-random-values.git#v1.4.0-wp-1", + "react-native-gesture-handler": "https://raw.githubusercontent.com/wordpress-mobile/react-native-gesture-handler/e20fb879b029dc2da92ff06e059cc8b1bd1cee26/react-native-gesture-handler-1.10.1-wp-3.tgz", + "react-native-get-random-values": "https://raw.githubusercontent.com/wordpress-mobile/react-native-get-random-values/f3f5e2a04078e4b00f6a3ca38ac1c73be942a2c9/react-native-get-random-values-1.4.0-wp-1.tgz", "react-native-hr": "git+https://github.com/Riglerr/react-native-hr.git#2d01a5cf77212d100e8b99e0310cce5234f977b3", - "react-native-hsv-color-picker": "git+https://github.com/wordpress-mobile/react-native-hsv-color-picker.git#v1.0.1-wp-1", - "react-native-keyboard-aware-scroll-view": "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#v0.8.8-wp", - "react-native-linear-gradient": "git+https://github.com/wordpress-mobile/react-native-linear-gradient.git#v2.5.6-wp-1", + "react-native-hsv-color-picker": "https://raw.githubusercontent.com/wordpress-mobile/react-native-hsv-color-picker/03c0038419326fb86120560cdc3ce958d52cee37/react-native-hsv-color-picker-1.0.1-wp-1.tgz", + "react-native-keyboard-aware-scroll-view": "https://raw.githubusercontent.com/wordpress-mobile/react-native-keyboard-aware-scroll-view/v0.8.8-wp-1/react-native-keyboard-aware-scroll-view-0.8.8-wp-1.tgz", + "react-native-linear-gradient": "https://raw.githubusercontent.com/wordpress-mobile/react-native-linear-gradient/8bfaf806ee2d4c0c3b4f001f653825522529e51a/react-native-linear-gradient-2.5.6-wp-1.tgz", "react-native-modal": "^11.10.0", - "react-native-prompt-android": "git+https://github.com/wordpress-mobile/react-native-prompt-android.git#v1.0.0-wp-1", - "react-native-reanimated": "git+https://github.com/wordpress-mobile/react-native-reanimated.git#1.9.0-wp-1", + "react-native-prompt-android": "https://raw.githubusercontent.com/wordpress-mobile/react-native-prompt-android/a1db6b97989e63490a13c31124de1e3882e6c46c/react-native-prompt-android-1.0.0-wp-1.tgz", + "react-native-reanimated": "https://raw.githubusercontent.com/wordpress-mobile/react-native-reanimated/1e8662de5378843e35c2e559d60aeaa729726fc0/react-native-reanimated-1.9.0-wp-1.tgz", "react-native-safe-area": "^0.5.0", - "react-native-safe-area-context": "git+https://github.com/wordpress-mobile/react-native-safe-area-context.git#v3.2.0-wp-1", + "react-native-safe-area-context": "https://raw.githubusercontent.com/wordpress-mobile/react-native-safe-area-context/3dae92d9c95a253f7cafb7fcde44b77b0ea72789/react-native-safe-area-context-3.2.0-wp-1.tgz", "react-native-sass-transformer": "^1.1.1", - "react-native-screens": "git+https://github.com/wordpress-mobile/react-native-screens.git#2.9.0-wp-1", - "react-native-svg": "git+https://github.com/wordpress-mobile/react-native-svg.git#v9.13.7-wp-1", + "react-native-screens": "https://raw.githubusercontent.com/wordpress-mobile/react-native-screens/a25c3d81e0838d57c9f9ac77ef726751e329bad1/react-native-screens-2.9.0-wp-1.tgz", + "react-native-svg": "https://raw.githubusercontent.com/wordpress-mobile/react-native-svg/99132c9403db6a5709c5c383770547eda8eb25d1/react-native-svg-9.13.7-wp-1.tgz", "react-native-url-polyfill": "^1.1.2", - "react-native-video": "git+https://github.com/wordpress-mobile/react-native-video.git#5.0.2-wp-1", - "react-native-webview": "git+https://github.com/wordpress-mobile/react-native-webview.git#v11.6.5-wp-1" + "react-native-video": "https://raw.githubusercontent.com/wordpress-mobile/react-native-video/67b5961406c7d6be0916ef69c7a6af69501aad83/react-native-video-5.0.2-wp-1.tgz", + "react-native-webview": "https://raw.githubusercontent.com/wordpress-mobile/react-native-webview/0c8632f1f4f442574ed3118d8ea35e6f7b4511df/react-native-webview-11.6.5-wp-1.tgz" } }, "@wordpress/readable-js-assets-webpack-plugin": { @@ -53673,8 +53673,8 @@ } }, "react-native-gesture-handler": { - "version": "git+https://github.com/wordpress-mobile/react-native-gesture-handler.git#f1ae186d300b8de79b03c143001552165bf04756", - "from": "git+https://github.com/wordpress-mobile/react-native-gesture-handler.git#1.10.1-wp-3", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-gesture-handler/e20fb879b029dc2da92ff06e059cc8b1bd1cee26/react-native-gesture-handler-1.10.1-wp-3.tgz", + "integrity": "sha512-Q6gZ+YBFsQqpwcA649skk0TT+gUG/Rbe1tGZRXxEAB7nEqG0IMWH/uXDpKp7T0IcUIWJRdP0uxBcngMeoksRWA==", "requires": { "@egjs/hammerjs": "^2.0.17", "fbjs": "^3.0.0", @@ -53684,8 +53684,8 @@ } }, "react-native-get-random-values": { - "version": "git+https://github.com/wordpress-mobile/react-native-get-random-values.git#fe4994554df3a16fb9401e28242e6c81a7726cc8", - "from": "git+https://github.com/wordpress-mobile/react-native-get-random-values.git#v1.4.0-wp-1", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-get-random-values/f3f5e2a04078e4b00f6a3ca38ac1c73be942a2c9/react-native-get-random-values-1.4.0-wp-1.tgz", + "integrity": "sha512-Xx4R4rAxuklqI6LupyGi8wD/KXMEVhdXUXQAjPs019zZO0luZri4OR1L6fdZs8mSU3p0R/zgYc4hpwV8kdImqw==", "requires": { "fast-base64-decode": "^1.0.0" } @@ -53695,10 +53695,10 @@ "from": "git+https://github.com/Riglerr/react-native-hr.git#2d01a5cf77212d100e8b99e0310cce5234f977b3" }, "react-native-hsv-color-picker": { - "version": "git+https://github.com/wordpress-mobile/react-native-hsv-color-picker.git#c13b48ec55b049e4c59a8629521097c6938f7992", - "from": "git+https://github.com/wordpress-mobile/react-native-hsv-color-picker.git#v1.0.1-wp-1", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-hsv-color-picker/03c0038419326fb86120560cdc3ce958d52cee37/react-native-hsv-color-picker-1.0.1-wp-1.tgz", + "integrity": "sha512-XeP3aYFAxuJBKiQACHjOfEa/jVw+9RHLmIM7T4AtUoz9PuOmXvN7B1dAq7eAczIjNy5ndG+Jec9NTQuBYnb4lw==", "requires": { - "react-native-linear-gradient": "git+https://github.com/wordpress-mobile/react-native-linear-gradient.git#v2.5.6-wp-1", + "react-native-linear-gradient": "https://raw.githubusercontent.com/wordpress-mobile/react-native-linear-gradient/8bfaf806ee2d4c0c3b4f001f653825522529e51a/react-native-linear-gradient-2.5.6-wp-1.tgz", "tinycolor2": "^1.4.1" } }, @@ -53708,16 +53708,16 @@ "integrity": "sha512-HOf0jzRnq2/aFUcdCJ9w9JGzN3gdEg0zFE4FyYlp4jtidqU03D5X7ZegGKfT1EWteR0gPBGp9ye5T5FvSWi9Yg==" }, "react-native-keyboard-aware-scroll-view": { - "version": "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#3ada1ee7e79223ff2c1b2683e155e5f87b26b7b5", - "from": "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#v0.8.8-wp", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-keyboard-aware-scroll-view/v0.8.8-wp-1/react-native-keyboard-aware-scroll-view-0.8.8-wp-1.tgz", + "integrity": "sha512-gp0xGZvr4TKFW5K5HM2uPsSsbSdONOlajEZohWVxLJJyVSToyaptt/amJrvkpWFqlqtcE9k22iEO/vzpnAgNRw==", "requires": { "prop-types": "^15.6.2", "react-native-iphone-x-helper": "^1.0.3" } }, "react-native-linear-gradient": { - "version": "git+https://github.com/wordpress-mobile/react-native-linear-gradient.git#7526050edcd00d0ed84e8bd58986b8108e3b3962", - "from": "git+https://github.com/wordpress-mobile/react-native-linear-gradient.git#v2.5.6-wp-1" + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-linear-gradient/8bfaf806ee2d4c0c3b4f001f653825522529e51a/react-native-linear-gradient-2.5.6-wp-1.tgz", + "integrity": "sha512-nSL2OcwYnMXmP3r4V7D3xP2GGxkh8P8k36KPfV4CTZEsMmWjk9tdVzco3i0IrM4LHUFmNd+W2XfPJa9+mT9faQ==" }, "react-native-modal": { "version": "11.10.0", @@ -53729,12 +53729,12 @@ } }, "react-native-prompt-android": { - "version": "git+https://github.com/wordpress-mobile/react-native-prompt-android.git#09b2fb1abde2cf2ae3c16b83852689ec2c86e76f", - "from": "git+https://github.com/wordpress-mobile/react-native-prompt-android.git#v1.0.0-wp-1" + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-prompt-android/a1db6b97989e63490a13c31124de1e3882e6c46c/react-native-prompt-android-1.0.0-wp-1.tgz", + "integrity": "sha512-jgHtpcANkof2w3wKRs3/DQkpDXfSF+rOgwshRlRIblnaU7hBY9eb/K4n+fgYm1sWwo4/q54pmTAgCNwAvH+h6Q==" }, "react-native-reanimated": { - "version": "git+https://github.com/wordpress-mobile/react-native-reanimated.git#4f4aa06ad3088215e6bd681a5060ee5ca8ea7bf0", - "from": "git+https://github.com/wordpress-mobile/react-native-reanimated.git#1.9.0-wp-1", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-reanimated/1e8662de5378843e35c2e559d60aeaa729726fc0/react-native-reanimated-1.9.0-wp-1.tgz", + "integrity": "sha512-NRV8KjLvKej6dp2N2vsXbDrUArungVpR17YcnTKUXPVm4TO3GVzqMGKvrKtUY6HM1xRz7AzfudhAs3o1p5tTwA==", "requires": { "fbjs": "^1.0.0" }, @@ -53770,8 +53770,8 @@ } }, "react-native-safe-area-context": { - "version": "git+https://github.com/wordpress-mobile/react-native-safe-area-context.git#12c8baa168a60bc6c19924f6665416cda6293351", - "from": "git+https://github.com/wordpress-mobile/react-native-safe-area-context.git#v3.2.0-wp-1" + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-safe-area-context/3dae92d9c95a253f7cafb7fcde44b77b0ea72789/react-native-safe-area-context-3.2.0-wp-1.tgz", + "integrity": "sha512-OSbQlx19NooFu/gBWCHNq1brGKoG/w6y6GYfXsaZuwYUtJAe9TUyOhnjF25ZD/uQVHjQWm/2MY0sBQtpkI2W5Q==" }, "react-native-sass-transformer": { "version": "1.4.0", @@ -53791,12 +53791,12 @@ } }, "react-native-screens": { - "version": "git+https://github.com/wordpress-mobile/react-native-screens.git#ff79e1dfb50d0a8de5fa2d5ce0322e7bb2b8948d", - "from": "git+https://github.com/wordpress-mobile/react-native-screens.git#2.9.0-wp-1" + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-screens/a25c3d81e0838d57c9f9ac77ef726751e329bad1/react-native-screens-2.9.0-wp-1.tgz", + "integrity": "sha512-6u4uqEweGAr/nSEM5FOrQ3TH1YrqGHlystnCu3LSJnvhdbfunxPQMUIRHyvWjukPamHPNzqxSJDzdUTI3D2/CA==" }, "react-native-svg": { - "version": "git+https://github.com/wordpress-mobile/react-native-svg.git#49e0d3b47158e188093f6bf9f76970e455988c2d", - "from": "git+https://github.com/wordpress-mobile/react-native-svg.git#v9.13.7-wp-1", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-svg/99132c9403db6a5709c5c383770547eda8eb25d1/react-native-svg-9.13.7-wp-1.tgz", + "integrity": "sha512-bCy0Vt4KqCacNMLximrRwus+BaNN7KezF4dJZn0pdtXATnjK/RgMRPYbHtNErDDEgkmHuRfsUh9n1mmhItaEpg==", "requires": { "css-select": "^2.0.2", "css-tree": "^1.0.0-alpha.37" @@ -53858,15 +53858,15 @@ } }, "react-native-video": { - "version": "git+https://github.com/wordpress-mobile/react-native-video.git#8a286f65cdb85a496793f725e510bd0e084b46b5", - "from": "git+https://github.com/wordpress-mobile/react-native-video.git#5.0.2-wp-1", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-video/67b5961406c7d6be0916ef69c7a6af69501aad83/react-native-video-5.0.2-wp-1.tgz", + "integrity": "sha512-+6+MBV0keGMDVqLFiYF9IFu9XrZToqLmTTxkoJWoTiD0xfJ+3BJcASiLijoAokiX4gsaqR6rwU0af2YskpTXyQ==", "requires": { "prop-types": "^15.5.10" } }, "react-native-webview": { - "version": "git+https://github.com/wordpress-mobile/react-native-webview.git#ba81efba75f88c436b24432acdca012a21c136a5", - "from": "git+https://github.com/wordpress-mobile/react-native-webview.git#v11.6.5-wp-1", + "version": "https://raw.githubusercontent.com/wordpress-mobile/react-native-webview/0c8632f1f4f442574ed3118d8ea35e6f7b4511df/react-native-webview-11.6.5-wp-1.tgz", + "integrity": "sha512-97fKZVwora7a7sdrodMqloOegtCGi/84ig1gBG/uxWWfbzDCzP2HmbJseFXMOe8x2qm85qYKwohOcRh6EhAr1A==", "requires": { "escape-string-regexp": "2.0.0", "invariant": "2.2.4" diff --git a/packages/react-native-bridge/android/react-native-bridge/build.gradle b/packages/react-native-bridge/android/react-native-bridge/build.gradle index efd431242f3021..b7048cbbd6e62c 100644 --- a/packages/react-native-bridge/android/react-native-bridge/build.gradle +++ b/packages/react-native-bridge/android/react-native-bridge/build.gradle @@ -1,3 +1,5 @@ +import groovy.json.JsonSlurper + plugins { id "com.android.library" id "org.jetbrains.kotlin.android" @@ -8,8 +10,26 @@ plugins { // import the `readReactNativeVersion()` function apply from: 'https://gist.githubusercontent.com/hypest/742448b9588b3a0aa580a5e80ae95bdf/raw/8eb62d40ee7a5104d2fcaeff21ce6f29bd93b054/readReactNativeVersion.gradle' -// import the `readHashedVersion()` function -apply from: 'https://gist.githubusercontent.com/hypest/ceaf20a8e7d9b8404e4a5ff2e6c36650/raw/e1460a128e4b9863963410d719c7d44c3adefd02/readHashedVersion.gradle' +def extractPackageVersion(packagejson, packageName, section) { + def packageSlurper = new JsonSlurper() + def packageJson = packageSlurper.parse file(packagejson) + def dep = packageJson.get(section).get(packageName) + + // Extract version from filename of tarball URL + def isTarball = dep.endsWith('.tgz') + if(isTarball) { + // Replace special characters of package name as "npm pack" command does, to be used in the filename. + // Reference: https://github.com/npm/cli/blob/699c2d708d2a24b4f495a74974b2a345f33ee08a/lib/pack.js#L66-L67 + def packageNameSanitized = packageName.replace("@", '').replace("/", '-') + def fileName = dep.substring(dep.lastIndexOf('/') + 1) + def version = fileName.replace(packageNameSanitized + '-', '').replace('.tgz', '') + return version + } + + // Extract version from hash of Git URL + def version = dep.substring(dep.lastIndexOf('#') + 1) + return version; +} group='org.wordpress-mobile.gutenberg-mobile' @@ -64,18 +84,18 @@ dependencies { println "react-native version for react-native-bridge: $rnVersion" implementation "com.facebook.react:react-native:$rnVersion" implementation "org.wordpress-mobile.gutenberg-mobile:react-native-aztec:$reactNativeAztecVersion" - implementation "com.github.wordpress-mobile:react-native-svg:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-svg', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-video:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-video', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-linear-gradient:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-linear-gradient', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-slider:${readHashedVersion('../../../react-native-editor/package.json', '@react-native-community/slider', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-get-random-values:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-get-random-values', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-masked-view:${readHashedVersion('../../../react-native-editor/package.json', '@react-native-community/masked-view', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-gesture-handler:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-gesture-handler', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-screens:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-screens', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-safe-area-context:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-safe-area-context', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-reanimated:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-reanimated', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-prompt-android:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-prompt-android', 'dependencies')}" - implementation "com.github.wordpress-mobile:react-native-webview:${readHashedVersion('../../../react-native-editor/package.json', 'react-native-webview', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-svg:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-svg', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-video:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-video', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-linear-gradient:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-linear-gradient', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-slider:${extractPackageVersion('../../../react-native-editor/package.json', '@react-native-community/slider', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-get-random-values:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-get-random-values', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-masked-view:${extractPackageVersion('../../../react-native-editor/package.json', '@react-native-community/masked-view', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-gesture-handler:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-gesture-handler', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-screens:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-screens', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-safe-area-context:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-safe-area-context', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-reanimated:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-reanimated', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-prompt-android:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-prompt-android', 'dependencies')}" + implementation "com.github.wordpress-mobile:react-native-webview:${extractPackageVersion('../../../react-native-editor/package.json', 'react-native-webview', 'dependencies')}" runtimeOnly "org.wordpress-mobile:hermes-release-mirror:0.64.0" } else { api 'com.facebook.react:react-native:+' diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index 201db9b73bcff6..88e33a9bac069b 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -31,8 +31,8 @@ "dependencies": { "@babel/runtime": "^7.13.10", "@react-native-community/blur": "3.6.0", - "@react-native-community/masked-view": "git+https://github.com/wordpress-mobile/react-native-masked-view.git#v0.1.11-wp-1", - "@react-native-community/slider": "git+https://github.com/wordpress-mobile/react-native-slider.git#v3.0.2-wp-1", + "@react-native-community/masked-view": "https://raw.githubusercontent.com/wordpress-mobile/react-native-masked-view/f204c270ecd7c63ddea3449ba829d2415076faa2/react-native-community-masked-view-0.1.11-wp-1.tgz", + "@react-native-community/slider": "https://raw.githubusercontent.com/wordpress-mobile/react-native-slider/851dbc78d015afa55ad1e526c6d14bb86399722b/react-native-community-slider-3.0.2-wp-1.tgz", "@react-navigation/core": "5.12.0", "@react-navigation/native": "5.7.0", "@react-navigation/routers": "5.4.9", @@ -55,23 +55,23 @@ "jsdom-jscore-rn": "git+https://github.com/iamcco/jsdom-jscore-rn.git#a562f3d57c27c13e5bfc8cf82d496e69a3ba2800", "node-fetch": "^2.6.0", "react-native": "0.64.0", - "react-native-gesture-handler": "git+https://github.com/wordpress-mobile/react-native-gesture-handler.git#1.10.1-wp-3", - "react-native-get-random-values": "git+https://github.com/wordpress-mobile/react-native-get-random-values.git#v1.4.0-wp-1", + "react-native-gesture-handler": "https://raw.githubusercontent.com/wordpress-mobile/react-native-gesture-handler/e20fb879b029dc2da92ff06e059cc8b1bd1cee26/react-native-gesture-handler-1.10.1-wp-3.tgz", + "react-native-get-random-values": "https://raw.githubusercontent.com/wordpress-mobile/react-native-get-random-values/f3f5e2a04078e4b00f6a3ca38ac1c73be942a2c9/react-native-get-random-values-1.4.0-wp-1.tgz", "react-native-hr": "git+https://github.com/Riglerr/react-native-hr.git#2d01a5cf77212d100e8b99e0310cce5234f977b3", - "react-native-hsv-color-picker": "git+https://github.com/wordpress-mobile/react-native-hsv-color-picker#v1.0.1-wp-1", - "react-native-keyboard-aware-scroll-view": "git+https://github.com/wordpress-mobile/react-native-keyboard-aware-scroll-view.git#v0.8.8-wp", - "react-native-linear-gradient": "git+https://github.com/wordpress-mobile/react-native-linear-gradient.git#v2.5.6-wp-1", + "react-native-hsv-color-picker": "https://raw.githubusercontent.com/wordpress-mobile/react-native-hsv-color-picker/03c0038419326fb86120560cdc3ce958d52cee37/react-native-hsv-color-picker-1.0.1-wp-1.tgz", + "react-native-keyboard-aware-scroll-view": "https://raw.githubusercontent.com/wordpress-mobile/react-native-keyboard-aware-scroll-view/v0.8.8-wp-1/react-native-keyboard-aware-scroll-view-0.8.8-wp-1.tgz", + "react-native-linear-gradient": "https://raw.githubusercontent.com/wordpress-mobile/react-native-linear-gradient/8bfaf806ee2d4c0c3b4f001f653825522529e51a/react-native-linear-gradient-2.5.6-wp-1.tgz", "react-native-modal": "^11.10.0", - "react-native-prompt-android": "git+https://github.com/wordpress-mobile/react-native-prompt-android.git#v1.0.0-wp-1", - "react-native-reanimated": "git+https://github.com/wordpress-mobile/react-native-reanimated.git#1.9.0-wp-1", + "react-native-prompt-android": "https://raw.githubusercontent.com/wordpress-mobile/react-native-prompt-android/a1db6b97989e63490a13c31124de1e3882e6c46c/react-native-prompt-android-1.0.0-wp-1.tgz", + "react-native-reanimated": "https://raw.githubusercontent.com/wordpress-mobile/react-native-reanimated/1e8662de5378843e35c2e559d60aeaa729726fc0/react-native-reanimated-1.9.0-wp-1.tgz", "react-native-safe-area": "^0.5.0", - "react-native-safe-area-context": "git+https://github.com/wordpress-mobile/react-native-safe-area-context.git#v3.2.0-wp-1", + "react-native-safe-area-context": "https://raw.githubusercontent.com/wordpress-mobile/react-native-safe-area-context/3dae92d9c95a253f7cafb7fcde44b77b0ea72789/react-native-safe-area-context-3.2.0-wp-1.tgz", "react-native-sass-transformer": "^1.1.1", - "react-native-screens": "git+https://github.com/wordpress-mobile/react-native-screens.git#2.9.0-wp-1", - "react-native-svg": "git+https://github.com/wordpress-mobile/react-native-svg.git#v9.13.7-wp-1", + "react-native-screens": "https://raw.githubusercontent.com/wordpress-mobile/react-native-screens/a25c3d81e0838d57c9f9ac77ef726751e329bad1/react-native-screens-2.9.0-wp-1.tgz", + "react-native-svg": "https://raw.githubusercontent.com/wordpress-mobile/react-native-svg/99132c9403db6a5709c5c383770547eda8eb25d1/react-native-svg-9.13.7-wp-1.tgz", "react-native-url-polyfill": "^1.1.2", - "react-native-video": "git+https://github.com/wordpress-mobile/react-native-video.git#5.0.2-wp-1", - "react-native-webview": "git+https://github.com/wordpress-mobile/react-native-webview.git#v11.6.5-wp-1" + "react-native-video": "https://raw.githubusercontent.com/wordpress-mobile/react-native-video/67b5961406c7d6be0916ef69c7a6af69501aad83/react-native-video-5.0.2-wp-1.tgz", + "react-native-webview": "https://raw.githubusercontent.com/wordpress-mobile/react-native-webview/0c8632f1f4f442574ed3118d8ea35e6f7b4511df/react-native-webview-11.6.5-wp-1.tgz" }, "publishConfig": { "access": "public"