Skip to content
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

feature: Update for babel 7. #190

Merged
merged 1 commit into from Jun 29, 2018
Merged

feature: Update for babel 7. #190

merged 1 commit into from Jun 29, 2018

Conversation

coreyfarrell
Copy link
Member

BREAKING CHANGE: This updated configuration requires babel-plugin-istanbul 5.0.0.

Now requires node >=6 per dependencies.

Copy link
Member

@JaKXz JaKXz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after some minor fixes.

"peerDependencies": {
"babel-plugin-istanbul": "*",
"babel-plugin-istanbul": ">=5",
"babel-register": "*"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be changed as well

@@ -14,7 +14,7 @@ Then write a `.babelrc` that looks something like this:

```json
{
"presets": ["env", "..., etc."],
"presets": ["@babel/preset-env", "..., etc."],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NITPICK: I think @babel/env is a valid and shorter alias.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appears so I'm not sure why I previously remember having trouble with this.

Updated for this and your other finding, thanks for the review!

BREAKING CHANGE: This updated configuration requires babel-plugin-istanbul 5.0.0.
@bcoe bcoe merged commit 3ef809b into istanbuljs:master Jun 29, 2018
@coreyfarrell coreyfarrell deleted the nyc-config-babel7 branch July 12, 2018 18:16
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.

None yet

3 participants