Skip to content

Commit

Permalink
Upgrade to Babel 7 stable (#5042)
Browse files Browse the repository at this point in the history
Closes #4932, Closes #4876
  • Loading branch information
Timer authored Sep 20, 2018
1 parent c9e1876 commit 0bdbe42
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/babel-plugin-named-asset-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"index.js"
],
"peerDependencies": {
"@babel/core": "7.0.0-beta.46"
"@babel/core": "7.1.0"
}
}
1 change: 0 additions & 1 deletion packages/babel-preset-react-app/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ module.exports = function(api, opts, env) {
require('@babel/plugin-transform-runtime').default,
{
helpers: false,
polyfill: false,
regenerator: true,
},
],
Expand Down
30 changes: 15 additions & 15 deletions packages/babel-preset-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
"test.js"
],
"dependencies": {
"@babel/core": "7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.46",
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.46",
"@babel/plugin-transform-classes": "7.0.0-beta.46",
"@babel/plugin-transform-destructuring": "7.0.0-beta.46",
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.46",
"@babel/plugin-transform-react-display-name": "7.0.0-beta.46",
"@babel/plugin-transform-regenerator": "7.0.0-beta.46",
"@babel/plugin-transform-runtime": "7.0.0-beta.46",
"@babel/preset-env": "7.0.0-beta.46",
"@babel/preset-flow": "7.0.0-beta.46",
"@babel/preset-react": "7.0.0-beta.46",
"babel-plugin-macros": "2.2.1",
"@babel/core": "7.1.0",
"@babel/plugin-proposal-class-properties": "7.1.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-classes": "7.1.0",
"@babel/plugin-transform-destructuring": "7.0.0",
"@babel/plugin-transform-react-constant-elements": "7.0.0",
"@babel/plugin-transform-react-display-name": "7.0.0",
"@babel/plugin-transform-regenerator": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.0",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"babel-plugin-macros": "2.4.1",
"babel-plugin-transform-dynamic-import": "2.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.13"
"babel-plugin-transform-react-remove-prop-types": "0.4.15"
}
}
2 changes: 1 addition & 1 deletion packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"webpackHotDevClient.js"
],
"dependencies": {
"@babel/code-frame": "7.0.0-beta.46",
"@babel/code-frame": "7.0.0",
"address": "1.0.3",
"browserslist": "3.2.6",
"chalk": "2.4.1",
Expand Down
14 changes: 7 additions & 7 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
"lib/index.js"
],
"devDependencies": {
"@babel/code-frame": "7.0.0-beta.46",
"@babel/core": "7.0.0-beta.46",
"@babel/runtime": "7.0.0-beta.46",
"@babel/code-frame": "7.0.0",
"@babel/core": "7.1.0",
"@babel/runtime": "7.0.0",
"anser": "1.4.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.0-beta.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.2",
"babel-preset-react-app": "^3.1.1",
"chalk": "^2.3.2",
"chokidar": "^2.0.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"react-scripts": "./bin/react-scripts.js"
},
"dependencies": {
"@babel/core": "7.0.0-beta.46",
"@babel/runtime": "7.0.0-beta.46",
"@babel/core": "7.1.0",
"@babel/runtime": "7.0.0",
"autoprefixer": "9.1.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "8.2.3",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.0-beta.4",
"babel-loader": "8.0.2",
"babel-plugin-named-asset-import": "^0.1.0",
"babel-preset-react-app": "^3.1.1",
"bfj": "6.1.1",
Expand Down

0 comments on commit 0bdbe42

Please sign in to comment.