Skip to content

[0.80] Fix codegen using undeclared dependencies #1079

@tido64

Description

@tido64

Target Branch

0.80

Link to commit or PR to be picked

facebook/react-native#52884

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions