js1 upgrade jest adds a caret (^)

Summary: This diff changes `js1 upgrade jest` to add a caret when upgrading so that the open source version of RN is not locked to a concrete version of Jest which doesn't really make much sense. I also added `pretty-format` to the packages that get updated because it is part of Jest's repo.

Reviewed By: rubennorte

Differential Revision: D14503180

fbshipit-source-id: 683c9a6ac768baa578771b9ad677e02df4912baa
This commit is contained in:
Christoph Nakazawa
2019-03-21 11:02:46 -07:00
committed by Facebook Github Bot
parent 13351e6acf
commit 73245555cd
2 changed files with 14 additions and 15 deletions

View File

@@ -91,11 +91,10 @@
"fbjs": "^1.0.0",
"fbjs-scripts": "^1.1.0",
"invariant": "^2.2.4",
"jest-junit": "6.3.0",
"metro-babel-register": "0.52.0",
"metro-react-native-babel-transformer": "0.52.0",
"nullthrows": "^1.1.0",
"pretty-format": "24.5.0",
"pretty-format": "^24.5.0",
"promise": "^7.1.1",
"prop-types": "^15.7.2",
"react-devtools-core": "^3.6.0",
@@ -127,8 +126,8 @@
"eslint-plugin-relay": "1.3.0",
"flow-bin": "^0.95.0",
"flow-remove-types": "1.2.3",
"jest": "24.5.0",
"jest-junit": "6.3.0",
"jest": "^24.5.0",
"jest-junit": "^6.3.0",
"jscodeshift": "^0.6.2",
"mkdirp": "^0.5.1",
"prettier": "1.16.4",