From 9a43eac7a32a6ba3164a048960101022a92fcd5a Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Tue, 8 Jun 2021 16:00:11 -0700 Subject: [PATCH] Add missing @jest/create-cache-key-function dep root package.json (#31668) 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: https://github.com/facebook/react-native/pull/31668 Test Plan: Run jest in a RN app. Reviewed By: rubennorte Differential Revision: D28953697 Pulled By: lunaleaps fbshipit-source-id: a0862ea3b2bc93a72bb4a0f976ef486a66112ec5 --- package.json | 1 + repo-config/package.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8e5a6bd35fe160..83bf8bbc24f2c7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/repo-config/package.json b/repo-config/package.json index 30dc1feac37610..ebd4e88d2923d7 100644 --- a/repo-config/package.json +++ b/repo-config/package.json @@ -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",