Skip to content

chore: Update cli-plugin-metro to use external Metro types#1874

Merged
thymikee merged 1 commit into
react-native-community:mainfrom
huntie:rn-metro-config
Mar 17, 2023
Merged

chore: Update cli-plugin-metro to use external Metro types#1874
thymikee merged 1 commit into
react-native-community:mainfrom
huntie:rn-metro-config

Conversation

@huntie

@huntie huntie commented Mar 15, 2023

Copy link
Copy Markdown
Collaborator

Summary:

Removes internally defined types and some // @ts-ignore comments in cli-plugin-metro by using the DefinitelyTyped packages (recently updated in DefinitelyTyped/DefinitelyTyped#64735) at 0.76. This will make breaking API changes in Metro easier to identify in future.

No anticipated breaking changes.

Depends on:

Test Plan:

  • CI (once draft PR is rebased)

@huntie huntie force-pushed the rn-metro-config branch 2 times, most recently from 40e166a to 803f49e Compare March 16, 2023 11:37
@huntie huntie marked this pull request as ready for review March 16, 2023 11:57
@huntie huntie requested review from adamTrz and thymikee as code owners March 16, 2023 11:57
@huntie huntie force-pushed the rn-metro-config branch 2 times, most recently from cd7bb5c to 28fe385 Compare March 16, 2023 12:33
Comment thread packages/cli-plugin-metro/src/commands/bundle/buildBundle.ts Outdated

@thymikee thymikee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! Other than that one comment it LGTM

Comment thread packages/cli-plugin-metro/src/commands/bundle/buildBundle.ts Outdated
@huntie

huntie commented Mar 17, 2023

Copy link
Copy Markdown
Collaborator Author

Thanks for feedback! 🙌🏻 Ready to merge

@thymikee thymikee merged commit 605c542 into react-native-community:main Mar 17, 2023
@huntie huntie deleted the rn-metro-config branch March 17, 2023 15:25
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.

3 participants