From 3aad188b257a42782521a22b6e10156385127ee6 Mon Sep 17 00:00:00 2001 From: Peter Velkov Date: Sun, 11 Jul 2021 20:37:03 +0300 Subject: [PATCH] chore: move react to peer dependencies and update version --- package-lock.json | 10 +++++----- package.json | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 557a22cc..c11c116b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10602,13 +10602,13 @@ "dev": true }, "react": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", - "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "dev": true, "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" + "object-assign": "^4.1.1" } }, "react-devtools-core": { diff --git a/package.json b/package.json index d671bc88..a5c925b1 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "dependencies": { "expensify-common": "git+https://github.com/Expensify/expensify-common.git#2e5cff552cf132da90a3fb9756e6b4fb6ae7b40c", "lodash": "4.17.21", - "react": "^16.13.1", "underscore": "^1.13.1" }, "devDependencies": { @@ -37,12 +36,14 @@ "jest": "^26.5.2", "jest-cli": "^26.5.2", "prop-types": "^15.7.2", + "react": "^17.0.2", "react-native": "0.64.1", "react-test-renderer": "16.13.1", "metro-react-native-babel-preset": "^0.61.0" }, "peerDependencies": { - "@react-native-async-storage/async-storage": "^1.15.5" + "@react-native-async-storage/async-storage": "^1.15.5", + "react": "^17.0.2" }, "jest": { "preset": "react-native",