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

Reduce the changes in our custom metro config #4939

Merged
3 commits merged into from
May 19, 2020
Merged

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented May 18, 2020

A new version of the CLI has been published which included my fix for supporting out of tree platforms.

This allows us to stop specifying custom resolveRequest, getModulesRunBeforeMainModule and assetRegistryPath settings in our metro configs.

We should consider porting this to 0.62. The downside is that if they updated to 0.62 earlier, their lock file will probably be pointing to an older version of the CLI which wont support the new react-native.config.js. -- Hopefully this is something we can document in some troubleshooting section of the docs or something.

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner May 18, 2020 16:58
Copy link
Collaborator

@NickGerleman NickGerleman left a comment

Choose a reason for hiding this comment

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

Approving. Trusting your discretion on how to handle back-porting and documenting if we do.

Copy link
Contributor

@kmelmon kmelmon left a comment

Choose a reason for hiding this comment

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

:shipit:

@acoates-ms acoates-ms added Backport to 0.62 AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) labels May 18, 2020
@ghost
Copy link

ghost commented May 18, 2020

Hello @acoates-ms!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 10 hours, a condition that will be fulfilled in about 7 hours 14 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link
Member

@dannyvv dannyvv left a comment

Choose a reason for hiding this comment

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

:shipit:

@ghost ghost merged commit 60afde9 into microsoft:master May 19, 2020
NickGerleman pushed a commit to NickGerleman/react-native-windows that referenced this pull request May 19, 2020
* Reduce need for custom metro configs

* Change files

* Fix for integration tests
NickGerleman pushed a commit that referenced this pull request May 19, 2020
* Reduce need for custom metro configs

* Change files

* Fix for integration tests
@acoates-ms acoates-ms deleted the metrofix branch May 21, 2020 17:14
@jonthysell jonthysell added the Breaking Change This PR will break existing apps and should be part of the known breaking changes for the release label Jun 9, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) Breaking Change This PR will break existing apps and should be part of the known breaking changes for the release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants