From ed12ab7d6e7d4541eb602aa99f27c01e805fa96b Mon Sep 17 00:00:00 2001 From: Alexandre Richonnier Date: Thu, 7 Jun 2018 15:13:38 +0200 Subject: [PATCH] migrate mobx to peer and dev dependencies (#2979) * migrate mobx to peer and dev dependencies * fix local registry --- package.json | 8 +++++--- yarn.lock | 12 ++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index d6c32d3c0..0c8e8b0d3 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,6 @@ }, "dependencies": { "lodash.isequal": "^4.5.0", - "mobx": "^3.3.1", - "mobx-react": "^4.3.4", "opencollective": "^1.0.3", "path-to-regexp": "^2.1.0", "prop-types": "^15.6.0", @@ -42,6 +40,8 @@ "eslint-plugin-react": "^5.0.1", "estraverse-fb": "^1.3.2", "jest": "20.0.4", + "mobx": "^4.1.1", + "mobx-react": "^5.0.0", "prettier-eslint": "^6.4.2", "prettier-eslint-cli": "^4.1.1", "react": "16.0.0", @@ -50,7 +50,9 @@ }, "peerDependencies": { "react": "*", - "react-native": "*" + "react-native": "*", + "mobx": "3.x || 4.x", + "mobx-react": "4.x || 5.x" }, "jest": { "preset": "react-native", diff --git a/yarn.lock b/yarn.lock index 9c5f90994..6bc709416 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3727,15 +3727,15 @@ minimist@~0.0.1: dependencies: minimist "0.0.8" -mobx-react@^4.3.4: - version "4.3.5" - resolved "https://registry.yarnpkg.com/mobx-react/-/mobx-react-4.3.5.tgz#76853f2f2ef4a6f960c374bcd9f01e875929c04c" +mobx-react@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/mobx-react/-/mobx-react-5.0.0.tgz#8d5a33be376fa22b184a6f555d40a6a3a8459a16" dependencies: hoist-non-react-statics "^2.3.1" -mobx@^3.3.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/mobx/-/mobx-3.4.1.tgz#37abe5ee882d401828d9f26c6c1a2f47614bbbef" +mobx@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/mobx/-/mobx-4.1.1.tgz#7ce7ef92b22e85271d1fc274a124d7fa32fcceeb" morgan@~1.6.1: version "1.6.1"