From 35f958b9822cc181f97b317b03af6c0dd0f0f4ea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 27 Aug 2021 20:23:35 +0000 Subject: [PATCH] chore(deps): update dependency webpack-cli to v4 (#789) * chore(deps): update dependency webpack-cli to v4 * Update arguments * config * Let's see what this does * Revert "config" This reverts commit e8ff2f1acd5a74be76fe1f9ed51d20a8be2eb49f. Co-authored-by: Renovate Bot Co-authored-by: Nathan Bierema --- babel.config.js | 14 --- package.json | 2 +- packages/d3-state-visualizer/package.json | 4 +- packages/d3tooltip/package.json | 2 +- packages/map2tree/package.json | 2 +- packages/react-json-tree/package.json | 2 +- packages/redux-devtools-app/package.json | 6 +- yarn.lock | 132 ++++++++++++++++++---- 8 files changed, 117 insertions(+), 47 deletions(-) delete mode 100755 babel.config.js diff --git a/babel.config.js b/babel.config.js deleted file mode 100755 index 56d4e85e..00000000 --- a/babel.config.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-flow'], - plugins: [ - [ - '@babel/plugin-transform-runtime', - { - regenerator: true, - }, - ], - ['@babel/plugin-proposal-decorators', { legacy: true }], - '@babel/plugin-proposal-class-properties', - '@babel/plugin-proposal-export-default-from', - ], -}; diff --git a/package.json b/package.json index d0d43c5a..721147ce 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "typescript": "^4.3.5", "url-loader": "^4.1.1", "webpack": "^4.46.0", - "webpack-cli": "^3.3.12", + "webpack-cli": "^4.8.0", "webpack-dev-server": "^3.11.2" }, "scripts": { diff --git a/packages/d3-state-visualizer/package.json b/packages/d3-state-visualizer/package.json index b97798ae..25c2487f 100644 --- a/packages/d3-state-visualizer/package.json +++ b/packages/d3-state-visualizer/package.json @@ -30,8 +30,8 @@ "build": "npm run build:types && npm run build:js && npm run build:umd && npm run build:umd:min", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".ts\" --source-maps inline", - "build:umd": "webpack --env.production --progress --config webpack.config.umd.ts", - "build:umd:min": "webpack --env.production --progress --config webpack.config.umd.ts", + "build:umd": "webpack --env production --progress --config webpack.config.umd.ts", + "build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts", "clean": "rimraf lib dist", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", diff --git a/packages/d3tooltip/package.json b/packages/d3tooltip/package.json index 2f22690c..407c1f66 100644 --- a/packages/d3tooltip/package.json +++ b/packages/d3tooltip/package.json @@ -28,7 +28,7 @@ "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".ts\" --source-maps inline", "build:umd": "webpack --progress --config webpack.config.umd.ts", - "build:umd:min": "webpack --env.production --progress --config webpack.config.umd.ts", + "build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts", "clean": "rimraf lib dist", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", diff --git a/packages/map2tree/package.json b/packages/map2tree/package.json index 5ba545a3..4e61dfd7 100755 --- a/packages/map2tree/package.json +++ b/packages/map2tree/package.json @@ -31,7 +31,7 @@ "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".ts\" --source-maps inline", "build:umd": "webpack --progress --config webpack.config.umd.ts", - "build:umd:min": "webpack --env.production --progress --config webpack.config.umd.ts", + "build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts", "clean": "rimraf lib dist", "test": "jest", "lint": "eslint . --ext .ts", diff --git a/packages/react-json-tree/package.json b/packages/react-json-tree/package.json index 3df3b66e..e5d076da 100644 --- a/packages/react-json-tree/package.json +++ b/packages/react-json-tree/package.json @@ -35,7 +35,7 @@ "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", "build:umd": "rimraf ./umd && webpack --progress --config webpack.config.umd.ts", - "build:umd:min": "webpack --env.production --progress --config webpack.config.umd.ts", + "build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts", "clean": "rimraf lib umd", "test": "jest", "lint": "eslint . --ext .ts,.tsx", diff --git a/packages/redux-devtools-app/package.json b/packages/redux-devtools-app/package.json index 1e5edc9c..ba6a6ecd 100644 --- a/packages/redux-devtools-app/package.json +++ b/packages/redux-devtools-app/package.json @@ -20,13 +20,13 @@ "url": "https://github.com/reduxjs/redux-devtools.git" }, "scripts": { - "start": "webpack-dev-server --hot --inline --env.development --env.platform=web --progress", + "start": "webpack-dev-server --hot --inline --env development --env platform=web --progress", "build": "npm run build:types && npm run build:js && npm run build:web && npm run build:umd && npm run build:umd:min", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", - "build:web": "rimraf ./build/web && webpack -p --env.platform=web --progress", + "build:web": "rimraf ./build/web && webpack --env platform=web --progress", "build:umd": "rimraf ./umd && webpack --progress --config webpack.config.umd.ts", - "build:umd:min": "webpack --env.production --progress --config webpack.config.umd.ts", + "build:umd:min": "webpack --env production --progress --config webpack.config.umd.ts", "clean": "rimraf lib", "test": "jest", "lint": "eslint . --ext .ts,.tsx", diff --git a/yarn.lock b/yarn.lock index 9289deb7..9c1ddf88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2881,6 +2881,13 @@ __metadata: languageName: node linkType: hard +"@discoveryjs/json-ext@npm:^0.5.0": + version: 0.5.3 + resolution: "@discoveryjs/json-ext@npm:0.5.3" + checksum: fea319569f9894391ff1ddb5f59f9dfebe611ac202e7e97d9719ff9f7a726388e6a0a7e5ae8e54cf009ae1748269760d5842bfda5b9cbf834ceda28711baf89d + languageName: node + linkType: hard + "@electron/get@npm:^1.0.1": version: 1.12.4 resolution: "@electron/get@npm:1.12.4" @@ -8155,6 +8162,39 @@ __metadata: languageName: node linkType: hard +"@webpack-cli/configtest@npm:^1.0.4": + version: 1.0.4 + resolution: "@webpack-cli/configtest@npm:1.0.4" + peerDependencies: + webpack: 4.x.x || 5.x.x + webpack-cli: 4.x.x + checksum: 292c2b79cefa263330547faeb0bfa1858b44b0b60ef7fc01a038802a062b2594f178adcb0b16145ed943e55dfc24f2e0e839526e20b4f0a005eb00fad72e631f + languageName: node + linkType: hard + +"@webpack-cli/info@npm:^1.3.0": + version: 1.3.0 + resolution: "@webpack-cli/info@npm:1.3.0" + dependencies: + envinfo: ^7.7.3 + peerDependencies: + webpack-cli: 4.x.x + checksum: 71ef46462d697020fb053a43adefb9c6d4ccea97c7b990bf7e533c4aaba7609ea67e5e514bd6ddde3d65887324c6e2a1fb0626738e50c195697c5f6083be8b34 + languageName: node + linkType: hard + +"@webpack-cli/serve@npm:^1.5.2": + version: 1.5.2 + resolution: "@webpack-cli/serve@npm:1.5.2" + peerDependencies: + webpack-cli: 4.x.x + peerDependenciesMeta: + webpack-dev-server: + optional: true + checksum: 1666c69606581193574fb5f2cd58fececf933f34725261752d44c8097640474903de8bec4076c717d48838cfc8937fccee699ce74e4c880e1c327157757250fa + languageName: node + linkType: hard + "@wry/equality@npm:^0.1.2": version: 0.1.11 resolution: "@wry/equality@npm:0.1.11" @@ -11412,6 +11452,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^7.0.0": + version: 7.2.0 + resolution: "commander@npm:7.2.0" + checksum: 53501cbeee61d5157546c0bef0fedb6cdfc763a882136284bed9a07225f09a14b82d2a84e7637edfd1a679fb35ed9502fd58ef1d091e6287f60d790147f68ddc + languageName: node + linkType: hard + "commondir@npm:^1.0.1": version: 1.0.1 resolution: "commondir@npm:1.0.1" @@ -12115,7 +12162,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5": +"cross-spawn@npm:^6.0.0": version: 6.0.5 resolution: "cross-spawn@npm:6.0.5" dependencies: @@ -13461,7 +13508,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^4.1.1, enhanced-resolve@npm:^4.5.0": +"enhanced-resolve@npm:^4.5.0": version: 4.5.0 resolution: "enhanced-resolve@npm:4.5.0" dependencies: @@ -13502,7 +13549,7 @@ __metadata: languageName: node linkType: hard -"envinfo@npm:^7.7.4": +"envinfo@npm:^7.7.3, envinfo@npm:^7.7.4": version: 7.8.1 resolution: "envinfo@npm:7.8.1" bin: @@ -17191,7 +17238,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"interpret@npm:^1.2.0, interpret@npm:^1.4.0": +"interpret@npm:^1.2.0": version: 1.4.0 resolution: "interpret@npm:1.4.0" checksum: 2e5f51268b5941e4a17e4ef0575bc91ed0ab5f8515e3cf77486f7c14d13f3010df9c0959f37063dcc96e78d12dc6b0bb1b9e111cdfe69771f4656d2993d36155 @@ -25226,6 +25273,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"rechoir@npm:^0.7.0": + version: 0.7.1 + resolution: "rechoir@npm:0.7.1" + dependencies: + resolve: ^1.9.0 + checksum: 2a04aab4e28c05fcd6ee6768446bc8b859d8f108e71fc7f5bcbc5ef25e53330ce2c11d10f82a24591a2df4c49c4f61feabe1fd11f844c66feedd4cd7bb61146a + languageName: node + linkType: hard + "recursive-readdir@npm:2.2.2": version: 2.2.2 resolution: "recursive-readdir@npm:2.2.2" @@ -25818,7 +25874,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2": +"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2, resolve@^1.9.0": version: 1.20.0 resolution: "resolve@npm:1.20.0" dependencies: @@ -25838,7 +25894,7 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.3.2#~builtin": +"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.12.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.3.2#~builtin, resolve@patch:resolve@^1.9.0#~builtin": version: 1.20.0 resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff" dependencies: @@ -26042,7 +26098,7 @@ resolve@^2.0.0-next.3: typescript: ^4.3.5 url-loader: ^4.1.1 webpack: ^4.46.0 - webpack-cli: ^3.3.12 + webpack-cli: ^4.8.0 webpack-dev-server: ^3.11.2 languageName: unknown linkType: soft @@ -29628,7 +29684,7 @@ typescript@^4.3.5: languageName: node linkType: hard -"v8-compile-cache@npm:^2.0.3, v8-compile-cache@npm:^2.1.1, v8-compile-cache@npm:^2.3.0": +"v8-compile-cache@npm:^2.0.3, v8-compile-cache@npm:^2.2.0, v8-compile-cache@npm:^2.3.0": version: 2.3.0 resolution: "v8-compile-cache@npm:2.3.0" checksum: adb0a271eaa2297f2f4c536acbfee872d0dd26ec2d76f66921aa7fc437319132773483344207bdbeee169225f4739016d8d2dbf0553913a52bb34da6d0334f8e @@ -29892,26 +29948,37 @@ typescript@^4.3.5: languageName: node linkType: hard -"webpack-cli@npm:^3.3.12": - version: 3.3.12 - resolution: "webpack-cli@npm:3.3.12" +"webpack-cli@npm:^4.8.0": + version: 4.8.0 + resolution: "webpack-cli@npm:4.8.0" dependencies: - chalk: ^2.4.2 - cross-spawn: ^6.0.5 - enhanced-resolve: ^4.1.1 - findup-sync: ^3.0.0 - global-modules: ^2.0.0 - import-local: ^2.0.0 - interpret: ^1.4.0 - loader-utils: ^1.4.0 - supports-color: ^6.1.0 - v8-compile-cache: ^2.1.1 - yargs: ^13.3.2 + "@discoveryjs/json-ext": ^0.5.0 + "@webpack-cli/configtest": ^1.0.4 + "@webpack-cli/info": ^1.3.0 + "@webpack-cli/serve": ^1.5.2 + colorette: ^1.2.1 + commander: ^7.0.0 + execa: ^5.0.0 + fastest-levenshtein: ^1.0.12 + import-local: ^3.0.2 + interpret: ^2.2.0 + rechoir: ^0.7.0 + v8-compile-cache: ^2.2.0 + webpack-merge: ^5.7.3 peerDependencies: - webpack: 4.x.x + webpack: 4.x.x || 5.x.x + peerDependenciesMeta: + "@webpack-cli/generators": + optional: true + "@webpack-cli/migrate": + optional: true + webpack-bundle-analyzer: + optional: true + webpack-dev-server: + optional: true bin: webpack-cli: bin/cli.js - checksum: 3097084e7b141b63cb999dcd949703d4f7f88c7c78814645c05dbccdd0b0027805fe5b11eb9710d0fae9727fdf4543aa59e707a7be58960673983a6b7fdc8500 + checksum: 3ab4b5af09b56bb14d2ef2dd5613a14d01d9b4319bffb854edc379ef0f44e49ec31f96fb8cdd9dc8df54f6c94e9240d647a82d3cd0871fc5c313ab89fc2cd935 languageName: node linkType: hard @@ -30009,6 +30076,16 @@ typescript@^4.3.5: languageName: node linkType: hard +"webpack-merge@npm:^5.7.3": + version: 5.8.0 + resolution: "webpack-merge@npm:5.8.0" + dependencies: + clone-deep: ^4.0.1 + wildcard: ^2.0.0 + checksum: 88786ab91013f1bd2a683834ff381be81c245a4b0f63304a5103e90f6653f44dab496a0768287f8531761f8ad957d1f9f3ccb2cb55df0de1bd9ee343e079da26 + languageName: node + linkType: hard + "webpack-sources@npm:^1.4.0, webpack-sources@npm:^1.4.1, webpack-sources@npm:^1.4.3": version: 1.4.3 resolution: "webpack-sources@npm:1.4.3" @@ -30209,6 +30286,13 @@ typescript@^4.3.5: languageName: node linkType: hard +"wildcard@npm:^2.0.0": + version: 2.0.0 + resolution: "wildcard@npm:2.0.0" + checksum: 1f4fe4c03dfc492777c60f795bbba597ac78794f1b650d68f398fbee9adb765367c516ebd4220889b6a81e9626e7228bbe0d66237abb311573c2ee1f4902a5ad + languageName: node + linkType: hard + "window-size@npm:0.1.0": version: 0.1.0 resolution: "window-size@npm:0.1.0"