jamonholmgren / react-native-colo-loco

Colocate your native modules and components with your JavaScript/JSX files.
292 stars 12 forks source link

feat(Xcode): add support for monorepo directory structure and exclude specific targets #13

Closed ste7en closed 1 year ago

ste7en commented 1 year ago

This PR adds the support for the explicit exclusion of targets within the Xcode project, to allow only those targets importing the React bridging header to compile the native modules helper files.

It also adds the support for monorepo structures by adding files to the Colocated group using their absolute path, in order to avoid a broken reference to the colocated files.

jamonholmgren commented 1 year ago

This looks great, thanks @ste7en! Could you add documentation for the excluded_targets feature?

ste7en commented 1 year ago

Sure @jamonholmgren! Just pushed an updated README.md

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: