-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[RNMobile] Update dependencies from forks to use release tags #32893
Conversation
Size Change: 0 B Total Size: 1.07 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎊 .
I verified that the dark mode works as expected on iOS but I couldn't on Android because the installable build is not working (related comment), once I manage to verify the dark mode there I'll approve it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to this comment: #32893 (review)
I managed to test it on Android and works fine 🎊 so LGTM!
Description
While upgrading to React Native 0.64 we used latest commit references for third party dependency forks' PRs and merged RN 0.64 upgrade PR before merging third party dependency forks' PRs and updating their references in RN 0.64 upgrade branch.
Firstly here, I merged the related third party dependency forks' PRs and created a branch called
wp-fork
in all of them and moved fork-specific code (merged tomaster
branches before) there, reverting themaster
branches to only track the main repo's default branch.Then I opened a draft pull request in all of the fork repos to be able to track the diff between
wp-fork
branch and main repo's default branch.After that, I tagged the current
wp-fork
branches with the same version number, but with a-wp
at the end (e.g.1.4.0-wp
) and updated.podspecs
s, where necessary, to use forks' URL and-wp
tags (instead of commit hashes) as source.Finally I updated the dependencies in
package.json
to use created tags on all forks.As an extra change, I removed
react-native-dark-mode
fork dependency, which didn't seem to be used.The RN 0.64 related third party dependency forks' PRs were:
Gutenberg PR: #32893
Gutenberg Mobile PR: wordpress-mobile/gutenberg-mobile#3651
WPiOS PR: wordpress-mobile/WordPress-iOS#16724
WPAndroid PR: wordpress-mobile/WordPress-Android#14894
How has this been tested?
Please use the WPiOS and WPAndroid builds to check if the editor and dark mode in the editor is still working.
Screenshots
N/A
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist:
*.native.js
files for terms that need renaming or removal).