A framework for building native applications using React
Add extra parameter to define whether codegen is invoked by lib or app (#48995)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48995 This change adds an extra parameter to the codegen script that allow our users to trigger codegen for Apps or for Libraries. When running codegen for Apps, we have to generate some extra files that are not needed by the Libraries. This is causing issues to our library maintainers and this change will provide more flexibility in the DevX of libraries. The default value is App, so if the new parameter is not passed, nothing will change in the current behavior. [iOS][Added] - Add the `source` parameter to generate-codegen-artifacts to avoid generating files not needed by libraries. Reviewed By: cortinico Differential Revision: D68765478 fbshipit-source-id: 8030b4472ad4f5058e58b1c91089de5122a4f60a
R
Riccardo Cipolleschi committed
4e5da2ea1dbbab1b81cf303eb27dde434cb71e0a
Parent: 1f002f9
Committed by Rob Hogan <rob@rhogan.net>
on 3/18/2025, 3:30:31 PM