diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b91f04e4cf..ae32085ccf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ + + +# 3.3.10 (2019-10-31) + +[Full Changelog](https://github.com/webpack/webpack-cli/compare/v3.3.9...v3.3.10) + +## New Features + +- add new flag and patch sec dep ([#1102](https://github.com/webpack/webpack-cli/pull/1102)) + +## Chore + +- remove un-synced tests ([08a7650](https://github.com/webpack/webpack-cli/commit/08a7650)) +- sec patch ([6ad6099](https://github.com/webpack/webpack-cli/commit/6ad6099)) + # 3.3.9 (2019-09-17) diff --git a/bin/config/config-yargs.js b/bin/config/config-yargs.js index 3f1f96130b8..dc78f95a44d 100644 --- a/bin/config/config-yargs.js +++ b/bin/config/config-yargs.js @@ -117,6 +117,11 @@ module.exports = function(yargs) { group: BASIC_GROUP, requiresArg: true }, + "no-cache": { + type: "boolean", + describe: "Disables cached builds", + group: BASIC_GROUP + }, "module-bind": { type: "string", describe: "Bind an extension to a loader", diff --git a/bin/utils/convert-argv.js b/bin/utils/convert-argv.js index a3b90911c3b..8b61e17f4e2 100644 --- a/bin/utils/convert-argv.js +++ b/bin/utils/convert-argv.js @@ -434,6 +434,10 @@ module.exports = function(...args) { addPlugin(options, new HotModuleReplacementPlugin()); }); + ifBooleanArg("no-cache", function() { + options.cache = false; + }); + ifBooleanArg("debug", function() { const LoaderOptionsPlugin = require("webpack").LoaderOptionsPlugin; addPlugin( diff --git a/package-lock.json b/package-lock.json index 9cd975827ff..555bb93566b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "webpack-cli", - "version": "3.3.9", + "version": "3.3.10", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -8810,9 +8810,9 @@ "dev": true }, "handlebars": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz", - "integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.3.3.tgz", + "integrity": "sha512-VupOxR91xcGojfINrzMqrvlyYbBs39sXIrWa7YdaQWeBudOlvKEGvCczMfJPgnuwHE/zyH1M6J+IUP6cgDVyxg==", "dev": true, "requires": { "neo-async": "^2.6.0", @@ -9122,9 +9122,9 @@ "dev": true }, "https-proxy-agent": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz", - "integrity": "sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", "dev": true, "requires": { "agent-base": "^4.3.0", diff --git a/package.json b/package.json index ab381d646e4..98d830250f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-cli", - "version": "3.3.9", + "version": "3.3.10", "description": "CLI for webpack & friends", "license": "MIT", "repository": { diff --git a/packages/info/__tests__/.eslintrc b/packages/info/__tests__/.eslintrc deleted file mode 100644 index 5d4340a351d..00000000000 --- a/packages/info/__tests__/.eslintrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "root": true, - "extends": ["../.eslintrc"], - "rules": { - "@typescript-eslint/explicit-function-return-type": ["off"] - } -} diff --git a/packages/info/__tests__/index.test.ts b/packages/info/__tests__/index.test.ts deleted file mode 100644 index 7ddb1dae791..00000000000 --- a/packages/info/__tests__/index.test.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { information } from "../index"; - -describe("info", () => { - it("should return the information of the enviroment", async () => { - const returnedInformation = information(); - const expectedInformation = { - Binaries: ["Node", "Yarn", "npm"], - Browsers: ["Chrome", "Firefox", "Safari"], - System: ["OS", "CPU"], - npmGlobalPackages: ["webpack", "webpack-cli"], - npmPackages: "*webpack*" - }; - - expect(returnedInformation).toEqual(expectedInformation); - }); -});