mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix(codegen): fix missing dependencies (#52884)
Summary: `react-native/codegen` uses `babel/parser` and `babel/core` but does not declare dependency on them. Depending on how packages are hoisted (and especially in pnpm setups), this causes crashes during codegen. Resolves https://github.com/facebook/react-native/issues/52883 ## Changelog: [GENERAL] [FIXED] - Add missing Babel dependencies Pull Request resolved: https://github.com/facebook/react-native/pull/52884 Test Plan: See https://github.com/facebook/react-native/issues/52883 Reviewed By: cortinico, christophpurrer Differential Revision: D79103092 Pulled By: robhogan fbshipit-source-id: ecaf690f994393a652ea7f0d4f30bbabeb23a434
This commit is contained in:
committed by
React Native Bot
parent
01c1253c7e
commit
a8539190fe
@@ -29,6 +29,8 @@
|
||||
"lib"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.25.2",
|
||||
"@babel/parser": "^7.25.3",
|
||||
"glob": "^7.1.1",
|
||||
"hermes-parser": "0.25.1",
|
||||
"invariant": "^2.2.4",
|
||||
|
||||
Reference in New Issue
Block a user