ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.25k stars 429 forks source link

Upgrading metro to v0.45.2 #217

Open aleclarson opened 5 years ago

aleclarson commented 5 years ago

Hey, I've been working on upgrading the metro dependency from v0.24.3 to v0.45.2 (which is a version I've recently added symlink support to).

I think you'll find my commits useful, but many of them depend on improvements I've made to metro and jest-haste-map which are not yet merged.

Here's the list of the commits you can cherry-pick without upgrading metro or anything:

Side note: None of the above are related to upgrading Metro. I just fixed these as I was upgrading.

Commits 1 thru 3 are my favorite, because they let you omit the platforms and providesModuleNodeModules properties from your metro.config.js module.

But commit 4 is really nice too, since it fixes some config options that were being overwritten by defaults.

aleclarson commented 5 years ago

If you want, I can send a PR with all of these. :)

ptmt commented 5 years ago

Would be awesome! On Wed, 26 Dec 2018 at 01:06, Alec Larson notifications@github.com wrote:

If you want, I can send a PR with all of these. :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ptmt/react-native-macos/issues/217#issuecomment-449876138, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9SU6jdWpIgWdejOyz4GWzzmZujvbx2ks5u8qFTgaJpZM4ZhOfo .