Skip to content

Commit

Permalink
Add missing @jest/create-cache-key-function dep root package.json (#3…
Browse files Browse the repository at this point in the history
…1668)

Summary:
`jest/create-cache-key-function` should be installed as part of the react-native package since it is used by the jest config. Running jest currently errors unless this package is somehow transitively installed.

## Changelog

[General] [Fixed] - Add missing jest/create-cache-key-function dep root package.json

Pull Request resolved: #31668

Test Plan: Run jest in a RN app.

Reviewed By: rubennorte

Differential Revision: D28953697

Pulled By: lunaleaps

fbshipit-source-id: a0862ea3b2bc93a72bb4a0f976ef486a66112ec5
  • Loading branch information
janicduplessis authored and facebook-github-bot committed Jun 8, 2021
1 parent 961b00d commit 9a43eac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"react": "17.0.2"
},
"dependencies": {
"@jest/create-cache-key-function": "^27.0.1",
"@react-native-community/cli": "^6.0.0-rc.0",
"@react-native-community/cli-platform-android": "^6.0.0-rc.0",
"@react-native-community/cli-platform-ios": "^6.0.0-rc.0",
Expand Down
1 change: 0 additions & 1 deletion repo-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"@babel/generator": "^7.14.0",
"@babel/template": "^7.0.0",
"@babel/types": "^7.0.0",
"@jest/create-cache-key-function": "^27.0.1",
"@react-native-community/eslint-plugin": "*",
"@reactions/component": "^2.0.2",
"async": "^2.4.0",
Expand Down

0 comments on commit 9a43eac

Please sign in to comment.