Skip to content

Upgrade to babel 7 #48

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

Closed
wants to merge 2 commits into from
Closed

Upgrade to babel 7 #48

wants to merge 2 commits into from

Conversation

xzyfer
Copy link

@xzyfer xzyfer commented Nov 6, 2018

What:
Unblock consumers updating to Babel 7

Why:
Babel 7 patches some bugs that prevent can prevent some users updating to Node 10.

babel-plugin-react-intl made this upgrade also formatjs/babel-plugin-react-intl#145

How:
This work was mostly machine translated using the babel-upgrade tool

npx babel-upgrade --write --install

Checklist:

  • Documentation N/A
  • Tests N/A
  • Ready to be merged
  • Added myself to contributors table

This is a breaking change.
May also make sense to make the same changes to extract-react-intl-messages given it's referenced in the documentation. I'm happy to make those changes also.

@xzyfer xzyfer force-pushed the bable-7 branch 3 times, most recently from 449fe67 to 097a9e6 Compare November 6, 2018 04:52
@xzyfer
Copy link
Author

xzyfer commented Nov 6, 2018

Looks like there are some known flow bugs around imports causing the CI failures i.e. facebook/flow#7069

Michael Mifsud added 2 commits November 6, 2018 16:43
Unblock consumers updating to Babel 7 which patches some bugs that
can prevent some users updating to Node 10.
@xzyfer
Copy link
Author

xzyfer commented Nov 6, 2018

This upgrade is causing all kinds of weird and wonderful changes :(

@xzyfer xzyfer closed this Nov 6, 2018
@akameco
Copy link
Owner

akameco commented Nov 6, 2018

@xzyfer Thanks for PR. I'll try it.

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.

2 participants