mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
cf33e048dc
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39422 Those scripts were used when Buck OSS was invoking codegen. As we don't do Buck OSS anymore, we can remove them. Changelog: [Internal] [Changed] - Remove Codegen buck-oss scripts as they're unused Reviewed By: huntie Differential Revision: D49229846 fbshipit-source-id: fad0526e609bab159c56a62b85c91690e4cdbbce
@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.