Kaynağa Gözat

Update webpack dependencies

tags/7.8
Grégoire Aubert 5 yıl önce
ebeveyn
işleme
50a5072f5f

+ 2
- 2
build.gradle Dosyayı Görüntüle

@@ -317,8 +317,8 @@ subprojects {
apply plugin: 'com.moowork.node'

node {
version = '8.11.4'
yarnVersion = '1.9.4'
version = '10.15.3'
yarnVersion = '1.15.2'
download = true
}
}

+ 1
- 0
server/sonar-vsts/babel.config.js Dosyayı Görüntüle

@@ -16,6 +16,7 @@ module.exports = {
'IE 11'
]
},
corejs: 3,
useBuiltIns: 'entry'
}
],

+ 2
- 1
server/sonar-vsts/config/polyfills.js Dosyayı Görüntüle

@@ -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';

+ 1
- 2
server/sonar-vsts/config/webpack.config.js Dosyayı Görüntüle

@@ -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([

+ 23
- 22
server/sonar-vsts/package.json Dosyayı Görüntüle

@@ -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",

+ 1
- 0
server/sonar-web/babel.config.js Dosyayı Görüntüle

@@ -12,6 +12,7 @@ module.exports = {
'last 2 Edge versions'
]
},
corejs: 3,
useBuiltIns: 'entry'
}
],

+ 1
- 0
server/sonar-web/babel.config.legacy.js Dosyayı Görüntüle

@@ -13,6 +13,7 @@ module.exports = {
'IE 11'
]
},
corejs: 3,
useBuiltIns: 'entry'
}
],

+ 2
- 1
server/sonar-web/config/polyfills.js Dosyayı Görüntüle

@@ -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';

+ 1
- 3
server/sonar-web/config/webpack.config.js Dosyayı Görüntüle

@@ -153,9 +153,7 @@ module.exports = ({ production = true }) => {
]
},
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([

+ 24
- 23
server/sonar-web/package.json Dosyayı Görüntüle

@@ -5,9 +5,9 @@
"repository": "SonarSource/sonarqube",
"license": "LGPL-3.0",
"dependencies": {
"@babel/polyfill": "7.0.0",
"classnames": "2.2.6",
"clipboard": "2.0.1",
"core-js": "3.0.0",
"create-react-class": "15.6.3",
"d3-array": "1.2.4",
"d3-hierarchy": "1.1.8",
@@ -40,6 +40,7 @@
"redux": "4.0.1",
"redux-logger": "3.0.6",
"redux-thunk": "2.3.0",
"regenerator-runtime": "0.13.2",
"remark-custom-blocks": "2.3.0",
"remark-slug": "5.1.0",
"remark-toc": "5.0.0",
@@ -48,14 +49,14 @@
"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/clipboard": "2.0.1",
@@ -68,7 +69,7 @@
"@types/enzyme": "3.9.1",
"@types/jest": "24.0.11",
"@types/keymaster": "1.6.28",
"@types/lodash": "4.14.117",
"@types/lodash": "4.14.123",
"@types/prop-types": "15.7.0",
"@types/react": "16.8.8",
"@types/react-dom": "16.8.3",
@@ -81,16 +82,16 @@
"@types/react-virtualized": "9.21.0",
"@types/valid-url": "1.0.2",
"@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",
@@ -109,12 +110,12 @@
"jest": "24.5.0",
"lint-staged": "7.3.0",
"lodash-webpack-plugin": "0.11.5",
"mini-css-extract-plugin": "0.4.4",
"postcss-calc": "7.0.0",
"postcss-custom-properties": "8.0.8",
"mini-css-extract-plugin": "0.5.0",
"postcss-calc": "7.0.1",
"postcss-custom-properties": "8.0.9",
"postcss-loader": "3.0.0",
"prettier": "1.14.3",
"raw-loader": "0.5.1",
"raw-loader": "2.0.0",
"react-dev-utils": "5.0.1",
"react-error-overlay": "1.0.7",
"react-test-renderer": "16.8.5",
@@ -124,9 +125,9 @@
"ts-jest": "24.0.0",
"ts-loader": "5.3.3",
"typescript": "3.3.3333",
"webpack": "4.27.1",
"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",
@@ -142,7 +143,7 @@
"precommit": "yarn ts-check && lint-staged"
},
"engines": {
"node": ">=6"
"node": ">=8"
},
"browserslist": [
"last 3 Chrome versions",

Loading…
İptal
Kaydet