Updating to RN 0.50.3.
This commit is contained in:
parent
c4e1784496
commit
cc515a6a60
|
@ -109,10 +109,10 @@ open_chrome() {
|
|||
|
||||
start_packager() {
|
||||
watchman watch-del-all || true
|
||||
./node_modules/react-native/packager/packager.sh | tee "$PACKAGER_OUT" &
|
||||
./node_modules/react-native/scripts/packager.sh | tee "$PACKAGER_OUT" &
|
||||
|
||||
while :; do
|
||||
if grep -Fxq "React packager ready." "$PACKAGER_OUT"; then
|
||||
if grep -Fxq "Metro Bundler ready." "$PACKAGER_OUT"; then
|
||||
break
|
||||
else
|
||||
echo "Waiting for packager."
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
const require_method = require;
|
||||
function node_require(module) {
|
||||
return require(module);
|
||||
return require_method(module);
|
||||
}
|
||||
|
||||
const Realm = node_require('realm');
|
||||
|
|
|
@ -27,7 +27,8 @@ if( typeof Realm.Sync !== 'undefined' && Realm.Sync !== null ) {
|
|||
}
|
||||
|
||||
const isNodeProcess = typeof process === 'object' && process + '' === '[object process]';
|
||||
function node_require(module) { return require(module); }
|
||||
const require_method = require;
|
||||
function node_require(module) { return require_method(module); }
|
||||
|
||||
if (isNodeProcess && process.platform === 'win32') {
|
||||
global.enableSyncTests = false;
|
||||
|
|
|
@ -27,8 +27,9 @@ const TestCase = require('./asserts');
|
|||
|
||||
const isNodeProccess = (typeof process === 'object' && process + '' === '[object process]');
|
||||
|
||||
const require_method = require;
|
||||
function node_require(module) {
|
||||
return require(module);
|
||||
return require_method(module);
|
||||
}
|
||||
|
||||
let tmp;
|
||||
|
|
|
@ -829,7 +829,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
|
||||
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
|
|
@ -6,13 +6,14 @@
|
|||
"start": "react-native start"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "~15.4.0-rc.4",
|
||||
"react-native": "0.40.0",
|
||||
"react": "~16.0.0-beta.5",
|
||||
"react-native": "0.50.3",
|
||||
"react-native-fs": "^1.1.0",
|
||||
"realm": "file:../..",
|
||||
"realm-tests": "file:../js",
|
||||
"xmlbuilder": "^4.2.1"
|
||||
},
|
||||
"resolutions": { "moment": "2.19.1" },
|
||||
"devDependencies": {
|
||||
"babel-preset-react-native": "1.9.1",
|
||||
"invariant": "^2.2.2"
|
||||
|
|
Loading…
Reference in New Issue