mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
69494a7b1f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36042 Pull Request resolved: https://github.com/facebook/react-native/pull/36028 Use aliasMap both in parsers and generators instead of using aliasMap in half of the places and aliases in the other. This would also allow us to introduce "enumMap" more easily in the next commit. Changelog: [Internal] rename module exports from "aliases" to "aliasMap" Reviewed By: christophpurrer, cipolleschi Differential Revision: D42888752 fbshipit-source-id: cf1929fcebde994d07e5c6bda5ab71106d417b21
@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 react-native-codegen.