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

feat: upgrade to Babel v7 #162

Merged
merged 3 commits into from
Sep 3, 2018
Merged

feat: upgrade to Babel v7 #162

merged 3 commits into from
Sep 3, 2018

Conversation

gregberge
Copy link
Owner

No description provided.

package.json Outdated
"@babel/core": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need object-rest-spread plugin with env preset anymore. It's builtin as part of the spec.

"@babel/preset-env": "^7.0.0-rc.1",
"@babel/preset-react": "^7.0.0-rc.1",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

"@babel/preset-env": "^7.0.0-rc.1",
"@babel/preset-react": "^7.0.0-rc.1",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

and here

@codecov
Copy link

codecov bot commented Sep 3, 2018

Codecov Report

Merging #162 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
- Coverage   88.76%   88.73%   -0.03%     
==========================================
  Files          26       26              
  Lines         436      435       -1     
  Branches       83       79       -4     
==========================================
- Hits          387      386       -1     
- Misses         45       47       +2     
+ Partials        4        2       -2
Impacted Files Coverage Δ
packages/webpack/src/index.js 95.45% <ø> (ø) ⬆️
packages/rollup/src/index.js 100% <100%> (ø) ⬆️
packages/core/src/h2x/toReactNative.js 64.28% <0%> (-3.58%) ⬇️
packages/core/src/h2x/replaceAttrValues.js 72.72% <0%> (ø) ⬆️
packages/core/src/plugins/h2x.js 100% <0%> (+3.7%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc0f6b0...3615a77. Read the comment docs.

@TrySound
Copy link
Contributor

TrySound commented Sep 3, 2018

Why package-lock.json is in the repo?

"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
]
"plugins": ["@babel/plugin-proposal-class-properties"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be in loose mode too

@gregberge
Copy link
Owner Author

@TrySound thanks!

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