mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
37bd9793d5
commit
efc56b2790
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user