From 946e193e4ba6ca45c6d6f53d23e2efe2e5957579 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Mon, 18 Jul 2022 22:42:38 +0530 Subject: [PATCH] refactor!: minimum supported Node.js version is `14.15.0` (#3337) --- packages/configtest/package.json | 3 +++ packages/generators/package.json | 3 +++ packages/info/package.json | 3 +++ packages/serve/package.json | 3 +++ packages/webpack-cli/package.json | 2 +- 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/configtest/package.json b/packages/configtest/package.json index fd923a57874..e63229c524e 100644 --- a/packages/configtest/package.json +++ b/packages/configtest/package.json @@ -5,6 +5,9 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "license": "MIT", + "engines": { + "node": ">=14.15.0" + }, "publishConfig": { "access": "public" }, diff --git a/packages/generators/package.json b/packages/generators/package.json index 29eeb6c87fa..7cf6c35dcb1 100644 --- a/packages/generators/package.json +++ b/packages/generators/package.json @@ -6,6 +6,9 @@ "types": "lib/index.d.ts", "keywords": [], "license": "MIT", + "engines": { + "node": ">=14.15.0" + }, "publishConfig": { "access": "public" }, diff --git a/packages/info/package.json b/packages/info/package.json index dbbf3ed8764..1cbfb72e3ab 100644 --- a/packages/info/package.json +++ b/packages/info/package.json @@ -5,6 +5,9 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "license": "MIT", + "engines": { + "node": ">=14.15.0" + }, "publishConfig": { "access": "public" }, diff --git a/packages/serve/package.json b/packages/serve/package.json index cf2b5443c12..a88cdc572a3 100644 --- a/packages/serve/package.json +++ b/packages/serve/package.json @@ -14,6 +14,9 @@ }, "homepage": "https://github.com/webpack/webpack-cli/tree/master/packages/serve", "license": "MIT", + "engines": { + "node": ">=14.15.0" + }, "files": [ "lib" ], diff --git a/packages/webpack-cli/package.json b/packages/webpack-cli/package.json index 968267df06d..0011c5a3d4d 100644 --- a/packages/webpack-cli/package.json +++ b/packages/webpack-cli/package.json @@ -18,7 +18,7 @@ }, "main": "./lib/index.js", "engines": { - "node": ">=10.13.0" + "node": ">=14.15.0" }, "keywords": [ "webpack",