Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add monorepo support for Android builds #2352

Merged
merged 4 commits into from
Sep 25, 2024

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Sep 25, 2024

Description

Based on: #2337 by @morganick.
Please see the original PR and its description for details.

See: #2337 (review)
for discussion why new PR has been created.

Changes

  • Using node resolver to find react native package for better monorepo support
  • Using rootDir instead of projectDir
  • Change the order of path lookup

Test code and steps to reproduce

I've tested it using our both example apps and additionally I've created fresh RN app
and tested the Android build there.

Checklist

  • Ensured that CI passes

Copy link
Contributor

@morganick morganick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@kkafar kkafar merged commit 408112a into main Sep 25, 2024
4 checks passed
@kkafar kkafar deleted the @kkafar/monorepo-support-android branch September 25, 2024 16:05
ja1ns pushed a commit to WiseOwlTech/react-native-screens that referenced this pull request Oct 9, 2024
## Description

Based on:
software-mansion#2337 by
@morganick.
Please see the original PR and its description for details.

See:
software-mansion#2337 (review)
for discussion why new PR has been created.

## Changes

- **Using node resolver to find react native package for better monorepo
support**
- **Using rootDir instead of projectDir**
- **Change the order of path lookup**

## Test code and steps to reproduce

I've tested it using our both example apps and additionally I've created
fresh RN app
and tested the Android build there.


## Checklist

- [x] Ensured that CI passes

---------

Co-authored-by: Nick Morgan <morganick@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants