Files
react-native/packages/react-native-codegen
Marco Wang 9f558a4d6a codemod in/out (#56930)
Summary:
X-link: https://github.com/facebook/metro/pull/1716

Pull Request resolved: https://github.com/facebook/react-native/pull/56930

X-link: https://github.com/facebook/relay/pull/5290

```
pastry P2346790458 | sed 's|^|xplat/js/|' | js1 flow-runner codemod flow/transformAllVariance --variance in,out --format-files=false @
```

Reviewed By: SamChou19815

Differential Revision: D106021144

fbshipit-source-id: 2b791018e7f032b8aaddbc389cefa3101e69a2a0
2026-05-21 20:08:27 -07:00
..
2026-05-21 20:08:27 -07:00

@react-native/codegen

Version

Installation

yarn add --dev @react-native/codegen

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/react-native-codegen.