mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
24f7707418
Summary: This is a follow up PR to https://github.com/facebook/react-native/issues/37872 as it was not merged correctly. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [Internal][Changed]: Add emitObjectProp in parser primitives Pull Request resolved: https://github.com/facebook/react-native/pull/37904 Test Plan: `yarn test react-native-codegen` Reviewed By: cipolleschi Differential Revision: D46753690 Pulled By: rshest fbshipit-source-id: a1d0a727222066f3721f62427a51ee0317e06f13
@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.