We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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).
metro
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.
jest-haste-map
Here's the list of the commits you can cherry-pick without upgrading metro or anything:
fix: add jest/hasteImpl.js
Add support for out-of-tree platform plugins (#20825)
feat: inject "macos" platform automatically
Pass the maxWorkers config param correctly to Metro
fix: "react" peer dependency
fix: "Duplicate declaration" transform error
fix: "optional rest parameters" eslint error
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.
platforms
providesModuleNodeModules
metro.config.js
But commit 4 is really nice too, since it fixes some config options that were being overwritten by defaults.
The text was updated successfully, but these errors were encountered:
If you want, I can send a PR with all of these. :)
Sorry, something went wrong.
No branches or pull requests
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
andjest-haste-map
which are not yet merged.Here's the list of the commits you can cherry-pick without upgrading
metro
or anything:fix: add jest/hasteImpl.js
Add support for out-of-tree platform plugins (#20825)
feat: inject "macos" platform automatically
Pass the maxWorkers config param correctly to Metro
fix: "react" peer dependency
fix: "Duplicate declaration" transform error
fix: "optional rest parameters" eslint error
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
andprovidesModuleNodeModules
properties from yourmetro.config.js
module.But commit 4 is really nice too, since it fixes some config options that were being overwritten by defaults.
The text was updated successfully, but these errors were encountered: