mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e704f8ac2f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50339 Explicitly sets the default `reactRuntimeTarget` when invoking `require('hermes-parser').parse` so that it'll be easier to find these configurations when upgrading to `'19'`. Changelog: [Internal] Reviewed By: javache Differential Revision: D72006705 fbshipit-source-id: 4994917152a2a4a767b871d4a36092c0c5391324
@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.