From a021387c02b4c0633d3e16f87b9afbc4356d7bef Mon Sep 17 00:00:00 2001 From: Martin Heidegger Date: Mon, 19 Nov 2018 13:52:25 +0900 Subject: [PATCH 1/4] Updated to babel 7 --- .babelrc | 10 ++++++---- package.json | 10 +++++----- webpack.config.js | 4 ++-- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.babelrc b/.babelrc index ccb21ce2..94ebcc11 100644 --- a/.babelrc +++ b/.babelrc @@ -1,11 +1,13 @@ { - "presets": ["react"], + "presets": [ + "@babel/preset-react" + ], "env": { "test": { "plugins": [ - "transform-es2015-modules-commonjs", - "transform-es2015-classes", - "transform-object-rest-spread" + "@babel/plugin-transform-modules-commonjs", + "@babel/plugin-transform-classes", + "@babel/plugin-proposal-object-rest-spread" ] } } diff --git a/package.json b/package.json index e5a1ea4c..38855ae9 100644 --- a/package.json +++ b/package.json @@ -39,11 +39,11 @@ ] }, "devDependencies": { - "babel-core": "^6.26.3", - "babel-loader": "^7.1.4", - "babel-plugin-transform-object-rest-spread": "^6.26.0", - "babel-preset-env": "^1.7.0", - "babel-preset-react": "^6.24.1", + "@babel/core": "^7.0.0", + "@babel/plugin-proposal-object-rest-spread": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "@babel/preset-react": "^7.0.0", + "babel-loader": "^8.0.0", "babel-tape-runner": "^2.0.1", "chrome-ext-downloader": "^1.0.4", "clipboardy": "^1.2.3", diff --git a/webpack.config.js b/webpack.config.js index d3150abe..b7aca3e7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,9 +25,9 @@ module.exports = (_, argv) => ({ include: path.normalize(`${__dirname}/app`), loader: 'babel-loader', query: { - presets: ['react'], + presets: ['@babel/preset-react'], plugins: [ - 'transform-object-rest-spread' + '@babel/plugin-transform-modules-commonjs' ] } } From 547f27ca8f4e4cd228ae158d0b8b3c74084067f2 Mon Sep 17 00:00:00 2001 From: Martin Heidegger Date: Mon, 19 Nov 2018 12:04:52 +0900 Subject: [PATCH 2/4] update: babel-tape-runner --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38855ae9..15524856 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "babel-loader": "^8.0.0", - "babel-tape-runner": "^2.0.1", + "babel-tape-runner": "^3.0.0", "chrome-ext-downloader": "^1.0.4", "clipboardy": "^1.2.3", "cross-env": "^5.1.6", From b60e4e3491b584632b11689d42db15a67af113e4 Mon Sep 17 00:00:00 2001 From: Martin Heidegger Date: Mon, 19 Nov 2018 12:11:19 +0900 Subject: [PATCH 3/4] update: styled-components --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 15524856..2493a359 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "redux": "^4.0.0", "redux-logger": "^3.0.6", "redux-thunk": "^2.2.0", - "styled-components": "^3.2.6", + "styled-components": "^4.1.1", "tachyons": "^4.9.1", "util-promisify": "^2.1.0" }, From 5726d5c009d6f5ba9f7df45d915bdb641ad917b5 Mon Sep 17 00:00:00 2001 From: Martin Heidegger Date: Mon, 19 Nov 2018 13:24:32 +0900 Subject: [PATCH 4/4] Updated polished to latest version. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2493a359..eb0f22ac 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "mirror-folder": "^3.0.0", "mkdirp-promise": "^5.0.1", "ms": "^2.1.1", - "polished": "^1.9.2", + "polished": "^2.3.0", "prettier-bytes": "^1.0.4", "react": "^16.3.2", "react-dom": "^16.3.2",