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

fix: update Android react-native resolution approach in monorepos #714

Conversation

bakoushin
Copy link
Contributor

@bakoushin bakoushin commented Feb 10, 2025

Description

Update the React Native package resolution in Android for monorepos, aligning with the recent approach used in react-native-reanimated.

Rationale

This update introduces a nesting-agnostic resolution approach, making it more adaptable to various monorepo structures. Different projects organize their repositories with varying levels of nesting. For example, in the @divvy/mobile framework, apps are structured within the /apps directory rather than at the root. This change ensures better compatibility across different monorepos.

github-merge-queue bot pushed a commit to valora-inc/wallet that referenced this pull request Feb 10, 2025
### Description

Update `react-native-keychain` to a divvi fork. It includes the patch
included in the replaced intera fork, and a new [Android build
fix](oblador/react-native-keychain#714)
addressing the [build
issue](https://github.com/divvixyz/divvi-mobile/actions/runs/13204494837/job/36864355193?pr=70)
in the divvi mobile monorepo.

Full diff with the original package:

oblador/react-native-keychain@master...mobilestack-xyz:react-native-keychain:divvi-fork

### TODO

Migrate to the original package once these PRs are included:
* oblador/react-native-keychain#712
* oblador/react-native-keychain#714

### Test plan

CI

### Related issues

- Related to RET-1308

### Backwards compatibility

Y

### Network scalability

NA
github-merge-queue bot pushed a commit to valora-inc/wallet that referenced this pull request Feb 10, 2025
### Description

Update `react-native-keychain` to a divvi fork. It includes the patch
included in the replaced intera fork, and a new [Android build
fix](oblador/react-native-keychain#714)
addressing the [build
issue](https://github.com/divvixyz/divvi-mobile/actions/runs/13204494837/job/36864355193?pr=70)
in the divvi mobile monorepo.

Full diff with the original package:

oblador/react-native-keychain@master...mobilestack-xyz:react-native-keychain:divvi-fork

### TODO

Migrate to the original package once these PRs are included:
* oblador/react-native-keychain#712
* oblador/react-native-keychain#714

### Test plan

CI

### Related issues

- Related to RET-1308

### Backwards compatibility

Y

### Network scalability

NA
@DorianMazur
Copy link
Collaborator

@bakoushin Thanks!

@DorianMazur DorianMazur merged commit ead0530 into oblador:master Feb 13, 2025
7 of 9 checks passed
@bakoushin bakoushin deleted the android-react-native-resolution-fix branch February 14, 2025 07:43
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