mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8422c5315c
Summary: I wanted to start working on a thing but this barrage of warnings was very annoying so ended up doing this instead: a very small PR to take care of some warnings during yarn install. It doesn't change anything (the versions are the ones already used all around the repo), just makes yarn happier. Also, while doing that I found a dependency that was lying there unused for 2 years so took care of it. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [General] [Fixed] - add wanted dependencies to remove yarn warnings Pull Request resolved: https://github.com/facebook/react-native/pull/35088 Test Plan: ### Before <img width="1920" alt="Screenshot 2022-10-26 at 10 53 32" src="https://user-images.githubusercontent.com/16104054/197996489-f463be29-b35b-45cc-9d9c-2d176579fb7d.png"> ### After <img width="947" alt="Screenshot 2022-10-26 at 10 52 19" src="https://user-images.githubusercontent.com/16104054/197996505-3d60b319-006b-45ab-83bf-2f431272fdcd.png"> Reviewed By: jacdebug Differential Revision: D40716713 Pulled By: robhogan fbshipit-source-id: eeb95a91c6cdf37edfe868fefe4ba04aebe500ec
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.