From 531617cd53dfa776377ab668f202111746a8791a Mon Sep 17 00:00:00 2001 From: Salakar Date: Wed, 28 Mar 2018 02:10:39 +0100 Subject: [PATCH] [tests][bridge] switch to using published npm alpha version of bridge \o/ --- tests-new/package-lock.json | 125 ++++++++++++++++++++++++++++++++++-- tests-new/package.json | 4 +- 2 files changed, 123 insertions(+), 6 deletions(-) diff --git a/tests-new/package-lock.json b/tests-new/package-lock.json index 13c1c249..229f0896 100644 --- a/tests-new/package-lock.json +++ b/tests-new/package-lock.json @@ -1717,6 +1717,21 @@ "repeat-element": "1.1.2" } }, + "bridge": { + "version": "1.0.0-alpha2", + "resolved": "https://registry.npmjs.org/bridge/-/bridge-1.0.0-alpha2.tgz", + "integrity": "sha512-W7etx4WSMCGJ1i569i8TYh/RoOrjbL/xSjy1zIn9TcYkcUnCYandaHwiIqEbdN4Id2KW3RirVEYDOw13yqdQDw==", + "requires": { + "chalk": "2.3.2", + "detox": "7.2.0", + "error-stack-parser": "2.0.1", + "istanbul-lib-coverage": "1.2.0", + "mocha": "4.1.0", + "opencollective": "1.0.3", + "source-map": "0.7.2", + "ws": "5.1.0" + } + }, "browser-stdout": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", @@ -9129,6 +9144,106 @@ "mimic-fn": "1.2.0" } }, + "opencollective": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/opencollective/-/opencollective-1.0.3.tgz", + "integrity": "sha1-ruY3K8KBRFg2kMPKja7PwSDdDvE=", + "requires": { + "babel-polyfill": "6.23.0", + "chalk": "1.1.3", + "inquirer": "3.0.6", + "minimist": "1.2.0", + "node-fetch": "1.6.3", + "opn": "4.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "babel-polyfill": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.23.0.tgz", + "integrity": "sha1-g2TKYt+Or7gwSZ9pkXdGbDsDSZ0=", + "requires": { + "babel-runtime": "6.26.0", + "core-js": "2.5.4", + "regenerator-runtime": "0.10.5" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "core-js": { + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.4.tgz", + "integrity": "sha1-8si/GB8qgLkvNgEhQpzmOi8K6uA=" + }, + "inquirer": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.0.6.tgz", + "integrity": "sha1-4EqqnQW3o8ubD0B9BDdfBEcZA0c=", + "requires": { + "ansi-escapes": "1.4.0", + "chalk": "1.1.3", + "cli-cursor": "2.1.0", + "cli-width": "2.2.0", + "external-editor": "2.1.0", + "figures": "2.0.0", + "lodash": "4.17.5", + "mute-stream": "0.0.7", + "run-async": "2.3.0", + "rx": "4.1.0", + "string-width": "2.1.1", + "strip-ansi": "3.0.1", + "through": "2.3.8" + } + }, + "node-fetch": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.6.3.tgz", + "integrity": "sha1-3CNO3WSJmC1Y6PDbT2lQKavNjAQ=", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "opn": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz", + "integrity": "sha1-erwi5kTf9jsKltWrfyeQwPAavJU=", + "requires": { + "object-assign": "4.1.1", + "pinkie-promise": "2.0.1" + } + }, + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, "opn": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/opn/-/opn-3.0.3.tgz", @@ -9717,11 +9832,6 @@ } } }, - "react-native-restart": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/react-native-restart/-/react-native-restart-0.0.6.tgz", - "integrity": "sha512-ysKvNOjCeCS8A4ouQkJ8DZRYH4wgPdPEJqqqSGFuNzK4eAi3VPOeneQ3w0HHYeOui5fc6fV9y9ClOB9LcKbKpQ==" - }, "react-proxy": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/react-proxy/-/react-proxy-1.1.8.tgz", @@ -10087,6 +10197,11 @@ "is-promise": "2.1.0" } }, + "rx": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", + "integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I=" + }, "rx-lite": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", diff --git a/tests-new/package.json b/tests-new/package.json index 2e77f424..118285c7 100755 --- a/tests-new/package.json +++ b/tests-new/package.json @@ -4,7 +4,8 @@ "private": true, "scripts": { "packager-chrome": "node node_modules/react-native/local-cli/cli.js start --platforms ios,android", - "packager-bridge": "REACT_DEBUGGER='echo nope' node node_modules/react-native/local-cli/cli.js start --platforms ios,android --reset-cache", + "packager-bridge": "REACT_DEBUGGER='echo nope' node node_modules/react-native/local-cli/cli.js start --platforms ios,android", + "packager-bridge-reset-cache": "REACT_DEBUGGER='echo nope' node node_modules/react-native/local-cli/cli.js start --platforms ios,android --reset-cache", "build-android": "detox build --configuration android.emu.debug", "build-ios": "detox build --configuration ios.sim.debug", "test": "npm run test-android && test-ios", @@ -20,6 +21,7 @@ "dependencies": { "babel-preset-es2015-mod": "^6.6.0", "babel-preset-es3": "^1.0.1", + "bridge": "^1.0.0-alpha2", "chalk": "^2.3.2", "deeps": "^1.4.4", "detox": "^7.2.0",