Move react-shallow-renderer from devDependencies to dependencies

Summary:
React Native includes a `ReactNativeTestTools` file that imports `react-shallow-renderer`. This file is used by Jest tests. Since this file might be consumed by tests outside of the RN repo, the dependency should be promoted to `dependencies` to ensure it is actually present when RN is installed from npm.

Changelog: [Internal]

Reviewed By: arushikesarwani94

Differential Revision: D33475662

fbshipit-source-id: 8068294a8b6cade17754699c49a2dfe6d45d86de
This commit is contained in:
Moti Zilberman
2022-01-12 06:03:47 -08:00
committed by Facebook GitHub Bot
parent 37bd9793d5
commit efc56b2790
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -117,6 +117,7 @@
"prop-types": "^15.7.2",
"react-devtools-core": "4.22.1",
"react-refresh": "^0.4.0",
"react-shallow-renderer": "16.14.1",
"regenerator-runtime": "^0.13.2",
"scheduler": "^0.20.2",
"stacktrace-parser": "^0.1.3",
-1
View File
@@ -44,7 +44,6 @@
"prettier": "^2.4.1",
"react": "17.0.2",
"react-native-codegen": "^0.0.12",
"react-shallow-renderer": "16.14.1",
"react-test-renderer": "17.0.2",
"shelljs": "^0.8.4",
"signedsource": "^1.0.0",