From 8972d0998f6d3be29e6b29bc65d311bb8737b5be Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Tue, 17 Sep 2024 09:42:36 -0700 Subject: [PATCH] Add missing babel-jest dependency to react-native package (#46539) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46539 Resubmission of D62583665, addressing internal CI errors from dep relocation. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D62867287 fbshipit-source-id: d28d35e2c0a82d7d2bfdaa26c4f9fe8c3a5ef41a --- packages/helloworld/package.json | 1 - packages/react-native/package.json | 1 + yarn.lock | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/helloworld/package.json b/packages/helloworld/package.json index a37fc64fc26..be722e4fd9c 100644 --- a/packages/helloworld/package.json +++ b/packages/helloworld/package.json @@ -23,7 +23,6 @@ "@react-native/core-cli-utils": "0.77.0-main", "@react-native/eslint-config": "0.77.0-main", "@react-native/metro-config": "0.77.0-main", - "babel-jest": "^29.6.3", "chalk": "^4.1.2", "commander": "^12.0.0", "eslint": "^8.19.0", diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 898b5d2e68e..14430ccf69f 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -119,6 +119,7 @@ "abort-controller": "^3.0.0", "anser": "^1.4.9", "ansi-regex": "^5.0.0", + "babel-jest": "^29.7.0", "babel-plugin-syntax-hermes-parser": "^0.23.1", "base64-js": "^1.5.1", "chalk": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index c440419a54c..bcc69a5adfe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2730,7 +2730,7 @@ babel-helper-remove-or-void@^0.4.3: resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.4.3.tgz#a4f03b40077a0ffe88e45d07010dee241ff5ae60" integrity sha512-eYNceYtcGKpifHDir62gHJadVXdg9fAhuZEXiRQnJJ4Yi4oUTpqpNY//1pM4nVyjjDMPYaC2xSf0I+9IqVzwdA== -babel-jest@^29.6.3, babel-jest@^29.7.0: +babel-jest@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==