GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — Remove global babelHelpers and regenerator by janicduplessis · Pull Request #21283 · react/react-native Conversation
|
|
Thanks @janicduplessis for the PR! I'm planning to release a new version of Metro later today (it's going to be v0.46.0 since the babel runtime change is breaking. With this you're going to be able to test it locally and afterwards I can import it 😄 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've just published |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
rafeca has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you also remove regenerator-runtime from the dependencies in package.json?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
We still need it for jest tests, I guess I could move it to dev deps
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b9798d6 to
d9f7588
Compare
|
@rafeca I was able to tests it, the only change missing was to add @babel/runtime to RN deps. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@rafeca I also didn't update the yarn.lock file, for some reason I couldn't generate a clean set of changes to it. It might be out of date already or a different version of yarn was used to generate it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Also CI seems to be failling because of metro package that isn't published properly |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@janicduplessis I think it has been published now (or, at least, running |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
rafeca has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This might conflict with 1323acd, I think |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yeha I agree, may be worth reversing that in favour of this (which I guess may also just happen during the internal importing, right?) cc @RSNara |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@janicduplessis merged commit 458d56c into Once this commit is added to a release, you will see the corresponding version tag below the description at 458d56c. If the commit has a single |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Summary: Follow up to react/metro@8932a9c Babel helpers and regenerator runtime will be imported automatically from `babel/runtime`. We still need to add the global regeneratorRuntime for jest tests since we disable babel-runtime currently. Pull Request resolved: #21283 Reviewed By: mjesun Differential Revision: D10010963 Pulled By: rafeca fbshipit-source-id: da5e23dd901f8f8940d46816b4fc9290d0e28c76
Summary: Follow up to react/metro@8932a9c Babel helpers and regenerator runtime will be imported automatically from `babel/runtime`. We still need to add the global regeneratorRuntime for jest tests since we disable babel-runtime currently. Pull Request resolved: react/react-native#21283 Reviewed By: mjesun Differential Revision: D10010963 Pulled By: rafeca fbshipit-source-id: da5e23dd901f8f8940d46816b4fc9290d0e28c76
Summary: Follow up to react/metro@8932a9c Babel helpers and regenerator runtime will be imported automatically from `babel/runtime`. We still need to add the global regeneratorRuntime for jest tests since we disable babel-runtime currently. Pull Request resolved: react#21283 Reviewed By: mjesun Differential Revision: D10010963 Pulled By: rafeca fbshipit-source-id: da5e23dd901f8f8940d46816b4fc9290d0e28c76
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.