From 2f678fcedba9ed39dcee15143bd8eefa68304e26 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Mon, 26 Apr 2021 11:42:59 -0700 Subject: [PATCH] build: update node version requirements (#41822) Update the node version requirements to only include the LTS versions supported, rather than accidently including the active versions. PR Close #41822 --- aio/package.json | 2 +- aio/tools/examples/shared/package.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/package.json b/aio/package.json index c47e2fb9d0..5f15285c49 100644 --- a/aio/package.json +++ b/aio/package.json @@ -79,7 +79,7 @@ }, "//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json", "engines": { - "node": ">=12.14.1 <16.0.0", + "node": "^12.14.1 || ^14.0.0", "yarn": ">=1.22.4 <2", "npm": "Please use yarn instead of NPM to install dependencies" }, diff --git a/aio/tools/examples/shared/package.json b/aio/tools/examples/shared/package.json index 0d8ea55612..2f6b22513a 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.14.1 <16.0.0", + "node": "^12.14.1 || ^14.0.0", "yarn": ">=1.21.1 <2", "npm": "Please use yarn instead of NPM to install dependencies" }, diff --git a/package.json b/package.json index a39c3b4bc6..ee315064f5 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.14.1 <16.0.0", + "node": "^12.14.1 || ^14.0.0", "yarn": ">=1.22.4 <2", "npm": "Please use yarn instead of NPM to install dependencies" },