mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4e92016a09
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41574 The codegen scripts hard-code to exclude NativeSampleTurboModule. This diff modifies the codegen infra (i.e: combine-js-to-schema-cli.js) to accept an argument: --exclude <regex>. Auxiliary changes: - Refactor argument parsing to rely on node's util.parseArgs Changelog: [Internal] Reviewed By: javache, dmytrorykun Differential Revision: D51471526 fbshipit-source-id: 98b88058f8c4b6fa4d776d96a1eb0f15144906a8