From af762fa9170263c8a35a675bfc1207c93edbd61b Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 27 May 2021 16:48:45 +0300 Subject: [PATCH] build: allow Node.js v15 and above for local development (#42387) This commit changes the `engines` rules in the root `package.json` as well as the `package.json` used when working on docs example to also accept Node.js versions greater than v14. This aligns them with `aio/package.json` and allows using Node.js v15 and v16 (current) for local development in the `angular/angular` repo. Related to #42367. PR Close #42387 --- aio/tools/examples/shared/package.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/tools/examples/shared/package.json b/aio/tools/examples/shared/package.json index 07e5c603f5..eb28dbd2d1 100644 --- a/aio/tools/examples/shared/package.json +++ b/aio/tools/examples/shared/package.json @@ -12,7 +12,7 @@ }, "//engines-comment": "Keep this in sync with /package.json and /aio/package.json", "engines": { - "node": "^12.20.0 || ^14.0.0", + "node": "^12.20.0 || >=14.0.0", "yarn": ">=1.21.1 <2", "npm": "Please use yarn instead of NPM to install dependencies" }, @@ -86,4 +86,4 @@ "tslint": "~6.1.0", "typescript": "~4.2.3" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index b37dda6e2c..577b19708f 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "MIT", "//engines-comment": "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json", "engines": { - "node": "^12.20.0 || ^14.0.0", + "node": "^12.20.0 || >=14.0.0", "yarn": ">=1.22.4 <2", "npm": "Please use yarn instead of NPM to install dependencies" },