From a69a924d51a1c404b8823aafd4b7656cb74a0707 Mon Sep 17 00:00:00 2001 From: Vicary A Date: Mon, 23 Jan 2023 04:25:32 -0800 Subject: [PATCH] fix(deps): expose yarn peer dependencies (#35915) Summary: Fixes https://github.com/facebook/react-native/issues/35913 ## CHANGELOG [General] [Fixed] - Peer dependency warnings for Yarn 3 Pull Request resolved: https://github.com/facebook/react-native/pull/35915 Test Plan: ```bash yarn set version berry yarn add react-native-changelog ``` Reviewed By: cortinico Differential Revision: D42674105 Pulled By: jacdebug fbshipit-source-id: 4270512b1b4857765a183389981b797cfecefcbd --- packages/react-native-codegen/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index 562d6e87dd47e8..7b452a08466858 100644 --- a/packages/react-native-codegen/package.json +++ b/packages/react-native-codegen/package.json @@ -41,5 +41,8 @@ "mkdirp": "^0.5.1", "prettier": "^2.4.1", "rimraf": "^3.0.2" + }, + "peerDependencies": { + "@babel/preset-env": "^7.1.6" } }