diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2019-03-22 11:05:08 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-03-29 09:44:59 +0100 |
commit | 50a5072f5fde0214e9e5e99ad246e2f743b9ac46 (patch) | |
tree | ec630f350fe009258fb76d050d6bfb40157a6a11 /server/sonar-vsts | |
parent | 9d62bc6df05b958d154e831a52302e46b89e7d77 (diff) | |
download | sonarqube-50a5072f5fde0214e9e5e99ad246e2f743b9ac46.tar.gz sonarqube-50a5072f5fde0214e9e5e99ad246e2f743b9ac46.zip |
Update webpack dependencies
Diffstat (limited to 'server/sonar-vsts')
-rw-r--r-- | server/sonar-vsts/babel.config.js | 1 | ||||
-rw-r--r-- | server/sonar-vsts/config/polyfills.js | 3 | ||||
-rw-r--r-- | server/sonar-vsts/config/webpack.config.js | 3 | ||||
-rw-r--r-- | server/sonar-vsts/package.json | 45 |
4 files changed, 27 insertions, 25 deletions
diff --git a/server/sonar-vsts/babel.config.js b/server/sonar-vsts/babel.config.js index ec306c89e37..61b0735df04 100644 --- a/server/sonar-vsts/babel.config.js +++ b/server/sonar-vsts/babel.config.js @@ -16,6 +16,7 @@ module.exports = { 'IE 11' ] }, + corejs: 3, useBuiltIns: 'entry' } ], diff --git a/server/sonar-vsts/config/polyfills.js b/server/sonar-vsts/config/polyfills.js index 7934db84cb8..aeb84b8e3e2 100644 --- a/server/sonar-vsts/config/polyfills.js +++ b/server/sonar-vsts/config/polyfills.js @@ -17,5 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import '@babel/polyfill'; +import 'core-js/stable'; +import 'regenerator-runtime/runtime'; import 'whatwg-fetch'; diff --git a/server/sonar-vsts/config/webpack.config.js b/server/sonar-vsts/config/webpack.config.js index 830b1182ed8..3956fabd8b2 100644 --- a/server/sonar-vsts/config/webpack.config.js +++ b/server/sonar-vsts/config/webpack.config.js @@ -69,8 +69,7 @@ module.exports = ({ production = true }) => ({ ].filter(Boolean) }, plugins: [ - // `allowExternal: true` to remove files outside of the current dir - production && new CleanWebpackPlugin([paths.appBuild], { allowExternal: true, verbose: false }), + production && new CleanWebpackPlugin(), production && new CopyWebpackPlugin([ diff --git a/server/sonar-vsts/package.json b/server/sonar-vsts/package.json index 5543c146179..cd3f7b93433 100644 --- a/server/sonar-vsts/package.json +++ b/server/sonar-vsts/package.json @@ -6,40 +6,41 @@ "license": "LGPL-3.0", "private": true, "dependencies": { - "@babel/polyfill": "7.0.0", "classnames": "2.2.6", + "core-js": "3.0.0", "lodash": "4.17.11", "react": "16.8.5", "react-dom": "16.8.5", - "whatwg-fetch": "2.0.3" + "regenerator-runtime": "0.13.2", + "whatwg-fetch": "2.0.4" }, "devDependencies": { - "@babel/core": "7.1.2", - "@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-react-constant-elements": "7.0.0", - "@babel/plugin-transform-react-jsx-self": "7.0.0", - "@babel/plugin-transform-react-jsx-source": "7.0.0", - "@babel/preset-env": "7.1.0", + "@babel/core": "7.4.0", + "@babel/plugin-proposal-class-properties": "7.4.0", + "@babel/plugin-proposal-object-rest-spread": "7.4.0", + "@babel/plugin-syntax-dynamic-import": "7.2.0", + "@babel/plugin-transform-react-constant-elements": "7.2.0", + "@babel/plugin-transform-react-jsx-self": "7.2.0", + "@babel/plugin-transform-react-jsx-source": "7.2.0", + "@babel/preset-env": "7.4.2", "@babel/preset-react": "7.0.0", "@types/classnames": "2.2.6", "@types/enzyme": "3.9.1", "@types/jest": "24.0.11", - "@types/lodash": "4.14.117", + "@types/lodash": "4.14.123", "@types/react": "16.8.8", "@types/react-dom": "16.8.3", "@typescript-eslint/parser": "1.5.0", - "autoprefixer": "9.3.1", + "autoprefixer": "9.5.0", "babel-core": "7.0.0-bridge.0", "babel-jest": "24.5.0", - "babel-loader": "8.0.4", + "babel-loader": "8.0.5", "babel-plugin-dynamic-import-node": "2.2.0", "babel-plugin-lodash": "3.3.4", "chalk": "2.4.1", - "clean-webpack-plugin": "0.1.19", - "copy-webpack-plugin": "4.5.4", - "css-loader": "1.0.0", + "clean-webpack-plugin": "2.0.1", + "copy-webpack-plugin": "5.0.1", + "css-loader": "1.0.1", "enzyme": "3.9.0", "enzyme-adapter-react-16": "1.10.0", "enzyme-to-json": "3.3.5", @@ -53,8 +54,8 @@ "eslint-plugin-sonarjs": "0.3.0", "html-webpack-plugin": "3.2.0", "jest": "24.5.0", - "postcss-calc": "7.0.0", - "postcss-custom-properties": "8.0.8", + "postcss-calc": "7.0.1", + "postcss-custom-properties": "8.0.9", "postcss-loader": "3.0.0", "prettier": "1.14.3", "react-dev-utils": "5.0.0", @@ -64,9 +65,9 @@ "ts-jest": "24.0.0", "ts-loader": "5.3.3", "typescript": "3.3.3333", - "webpack": "4.22.0", - "webpack-bundle-analyzer": "3.0.3", - "webpack-dev-server": "3.1.10" + "webpack": "4.29.6", + "webpack-bundle-analyzer": "3.1.0", + "webpack-dev-server": "3.2.1" }, "scripts": { "start": "node scripts/start.js", @@ -81,7 +82,7 @@ "validate-ci": "yarn lint-report && yarn ts-check && yarn format-check && yarn test --coverage" }, "engines": { - "node": ">=6" + "node": ">=8" }, "browserslist": [ "last 3 Chrome versions", |