From ddf2a6c975b2f79340349fd9bfbffb20c899c1f5 Mon Sep 17 00:00:00 2001 From: Ajit Singh Date: Sun, 9 May 2021 13:13:12 +0530 Subject: [PATCH] build: update node version to stop aio from breaking while generating docs (#42009) When aio yarn docs-only command runs on v12.14.1 it fails details given on issue #41979. Upgrading node version to v12.17.0 solves this but creates a new warning (node:467072) ExperimentalWarning: The ESM module loader is experimental. This warning gets removed in v12.20.0. Upgrading node version to 12.20.0 PR Close #42009 --- 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 6144575795..2c0ce815c3 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 || ^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" }, diff --git a/aio/tools/examples/shared/package.json b/aio/tools/examples/shared/package.json index 2f6b22513a..b4ed0b6c76 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 || ^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" }, diff --git a/package.json b/package.json index b450502be6..f450945679 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 || ^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" },