mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
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
@react-native/codegen
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:
yarnto install the dependencies. You just need to run this onceyarn jest packages/react-native-codegen.