react-native-macos/packages/react-native-codegen
Héctor Ramos e8060ae103 Import folly and adjust whitespace to match old codegen
Summary:
Import folly to handle optionals (`folly::Optional<__type__>`)

Sort modules and indent generated code to match output from the old codegen. While not strictly necessary as these are generated files that should not be edited by hand, I found that matching the old codegen in this regard made it less of a chore when it came to comparing the output of both codebases.

Changelog: [Internal]

Reviewed By: RSNara

Differential Revision: D21395231

fbshipit-source-id: 289d617d7a2d93724456c80afea57a49c108cb9b
2020-05-05 16:01:55 -07:00
..
buck_tests Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
e2e/__test_fixtures__ Make ColorValue public in StyleSheet.js 2020-04-17 13:03:47 -07:00
src Import folly and adjust whitespace to match old codegen 2020-05-05 16:01:55 -07:00
BUCK RN: Fix Codegen Schema Buck Dependency (#28719) 2020-04-21 19:15:54 -07:00
DEFS.bzl Apply buckformat in preparation for updating buildifier 2020-03-31 16:33:44 -07:00
README.md docs: add README and specify file in package.json (#28507) 2020-04-03 11:34:58 -07:00
package.json Remove `@babel/preset-env` 2020-05-04 01:12:12 -07:00
yarn.lock Move codegen into packages/react-native-codegen 2019-02-07 03:09:05 -08:00

README.md

react-native-codegen

Version

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