-
Notifications
You must be signed in to change notification settings - Fork 925
feat: remove haste #811
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
feat: remove haste #811
Conversation
* fix: run npx.exe on Windows * use npx.cmd
Note: I haven't tested this yet, will do later today. For now, I am just sending out a PR for a review. |
@thymikee, could you CC somebody from the Metro team on this PR? I want to point out that we always explicitly set "platforms" and "sourceExts" and that Metro doesn't need to explicitly set these platforms here: https://github.com/facebook/metro/blob/master/packages/metro-config/src/defaults/defaults.js#L58 |
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. The code was prepared for jest/hasteImpl removal. cc @motiz88
I wonder how we can debug the Windows failure? |
I have rebased this against |
Merging since tests are passing and I had former approval of @thymikee |
* update lockfile * v3.0.0-alpha.3 * chore: add v3 support table * v3.0.0-alpha.4 * v3.0.0-alpha.5 * chore: set publishConfig for packages * v3.0.0-alpha.6 * fix: check for podspecPath in warnAboutPodInstall (#800) * fix: run npx.cmd on Windows (#801) * fix: run npx.exe on Windows * use npx.cmd * v3.0.0-alpha.7 * fix: podfile parsing on invalid yaml (#810) * Remove haste * Update test without large snapshot * Update configuration * Revert unecessary changes * One more file
Summary:
Haste has been removed in 0.61 of React Native and we should remove it too. Otherwise, we are setting
hasteImplPath
pointing to a file that has been removed from React Native 0.61 via facebook/react-native@7a2463e