From 045331c1a909b5178cc599a9c7612c1968b7006d Mon Sep 17 00:00:00 2001 From: aksonov Date: Fri, 28 Sep 2018 12:40:48 +0200 Subject: [PATCH] fix demo build --- examples/react-native/package.json | 6 ++---- examples/react-native/yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/examples/react-native/package.json b/examples/react-native/package.json index 80a83597a..30ac3cf60 100644 --- a/examples/react-native/package.json +++ b/examples/react-native/package.json @@ -10,8 +10,7 @@ "dev:ios": "yarn dev && yarn ios", "dev:android": "yarn dev && yarn android", "dev": "cp ../../src/* node_modules/react-native-router-flux/src/", - "test": "jest", - "postinstall": "node_modules/.bin/rnrf dedup" + "test": "jest" }, "dependencies": { "prop-types": "^15.6.2", @@ -19,8 +18,7 @@ "react-native": "0.57.1", "react-native-button": "^2.3.0", "react-native-message-bar": "^2.0.10", - "react-native-router-flux": "file:../..", - "react-native-router-flux-cli": "file:../../packages/react-native-router-flux-cli", + "react-native-router-flux": "^4.0.4", "react-native-screens": "^1.0.0-alpha.12", "react-navigation": "2.x", "react-navigation-deprecated-tab-navigator": "^1.3.0", diff --git a/examples/react-native/yarn.lock b/examples/react-native/yarn.lock index 8ee4951d3..32b09778d 100644 --- a/examples/react-native/yarn.lock +++ b/examples/react-native/yarn.lock @@ -4232,19 +4232,15 @@ react-native-message-bar@^2.0.10: version "2.0.10" resolved "https://registry.yarnpkg.com/react-native-message-bar/-/react-native-message-bar-2.0.10.tgz#34632bdf2cbfe0f51ae4f1e9a91c42b4394a11c2" -"react-native-router-flux-cli@file:../../packages/react-native-router-flux-cli": - version "0.0.1" - dependencies: - rimraf "^2.6.2" - -"react-native-router-flux@file:../..": - version "4.0.2-dev" +react-native-router-flux@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/react-native-router-flux/-/react-native-router-flux-4.0.4.tgz#95aca0863bbf0ecf6b0f565b3040861736a81189" dependencies: lodash.isequal "4.5.0" opencollective "^1.0.3" path-to-regexp "^2.4.0" prop-types "^15.6.2" - react-navigation "2.16.x" + react-navigation "2.x" react-native-safe-area-view@0.11.0: version "0.11.0" @@ -4336,7 +4332,11 @@ react-navigation-drawer@0.5.0: dependencies: react-native-drawer-layout-polyfill "^1.3.2" -react-navigation-stack@0.6.0, react-navigation-stack@^0.6.0: +react-navigation-stack@0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-0.7.0.tgz#0b2f139ee1cba953037ef51353df992ec6c74fa2" + +react-navigation-stack@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-0.6.0.tgz#57dd25d0902137b950795549c43f3608e9edc250" @@ -4349,9 +4349,9 @@ react-navigation-tabs@0.8.2: react-lifecycles-compat "^3.0.4" react-native-tab-view "^1.0.0" -react-navigation@2.16.x: - version "2.16.0" - resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-2.16.0.tgz#9b9320801700baac50e49e87a63641a4df179230" +react-navigation@2.x: + version "2.17.0" + resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-2.17.0.tgz#ebc5a92d7633f529ca340a38146637ff01f969a4" dependencies: clamp "^1.0.1" create-react-context "0.2.2" @@ -4363,7 +4363,7 @@ react-navigation@2.16.x: react-native-screens "^1.0.0-alpha.11" react-navigation-deprecated-tab-navigator "1.3.0" react-navigation-drawer "0.5.0" - react-navigation-stack "0.6.0" + react-navigation-stack "0.7.0" react-navigation-tabs "0.8.2" react-proxy@^1.1.7: @@ -4612,7 +4612,7 @@ ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" -rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2: +rimraf@^2.5.4, rimraf@^2.6.1: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: