react-native-windows/packages/sample-apps/codegen
Zihan Chen (MSFT) 4b581576b7
[0.71] Port #11982 and #11990 to 0.71-stable (#12020)
* @rnw/codegen generates GetStructInfo instead of REACT_STRUCT (#11982)

* #include <NativeModules.h>

* Separate custom types and reflection in template

* Generate GetStructInfo function instead of REACT_STRUCT

* ...

* Update generated files

* Change files

* ...

* Generate types and spec in two files for turbo module (#11990)

* Add `allInOne` to `createNM2Generator`

* Add `allInOne` to @rnw/cli and @rnw/codegen

* ...

* ...

* ...

* Update sample-apps

* Change files

* Fix code review comment

* Remove `allInOne` option and make it always happen

* Update generated files

* Update #include

* Fix build break

* Suppress clang-format on some include order

* ...

* Change files

* Update packages.lock.json
2023-08-15 16:09:31 -07:00
..
.clang-format
NativeMyModuleDataTypes.g.h [0.71] Port #11982 and #11990 to 0.71-stable (#12020) 2023-08-15 16:09:31 -07:00
NativeMyModuleSpec.g.h [0.71] Port #11982 and #11990 to 0.71-stable (#12020) 2023-08-15 16:09:31 -07:00