-
Notifications
You must be signed in to change notification settings - Fork 57
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
Babel 7 compatibility #211
Conversation
…bel/*` - Remove babel@6 deps and added babel@7 deps - Add `@babel/helper-plugin-utils`
Ping me when it is ready to merge. |
Babel 7 RC has been released |
Babel 7 has been released! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I will be hiding comments that are written with the sole intention of bumping the thread. Everyone is welcome to contribute to the repository. @vjpr Has already done a lot of work. I am not up to date with the codebase to judge how much more work needs to be done. If someone is up for taking over from @vjpr, I am happy to assist with the review/ community/ release. |
@vjpr, @gajus, I'd like to help test. Hopefully I can be of assistance. I've forked vjpr's repo and cloned it one directory above my project root. From here, I added the packages using:
Resulting in package.json:
.babelrc contains:
When I run "native-react bundle" (see actual command) I receive this error:
Am I going about the installation correctly? Thanks! |
I do not expect this branch to work out of the box. Ensuring that the local tests pass, would the next logical step. |
I spent some time working on this.
See https://github.com/semireg/flow-runtime/commits/vjpr/babel-7 TLDR: (Unfortunately, after all this, my actual project still has the same error Fwiw, |
This comment has been minimized.
This comment has been minimized.
I can only dedicate so much of my work hours to this, but I'm taking a look now to see what I can contribute. This is definitely starting to become an albatross for my codebase since Babel 6 doesn't support explicit function type parameters, which are required in some cases by Flow >= 0.85. |
For anyone trying to contribute to this, my branch is https://github.com/jedwards1211/flow-runtime/tree/jedwards1211/babel-7 |
I've made a PR to @vjpr's fork that fixes the test failures. Working on upgrading the rest of the subpackages to Babel 7 and various other modernizations... |
Just encountered this bug while trying to build |
I am happy to merge this as soon as it is ready. |
Okay, I merged these changes in 4f1702b Will try to release it ASAP |
Okay now I just need to get publish permission for the |
Okay everyone, this has been released in v0.18.0! Over the next few days I'll try to work on fixing flow errors in |
babel-*
dependencies with@babel/*
Babel 6 still used for compiling itself.
Not ready for merging, still contains stray commented-out debugging, etc.