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
This commit is contained in:
Ajit Singh 2021-05-09 13:13:12 +05:30 committed by Alex Rickabaugh
parent a529d4f4f8
commit ddf2a6c975
3 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@
}, },
"//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json", "//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json",
"engines": { "engines": {
"node": "^12.14.1 || ^14.0.0", "node": "^12.20.0 || ^14.0.0",
"yarn": ">=1.22.4 <2", "yarn": ">=1.22.4 <2",
"npm": "Please use yarn instead of NPM to install dependencies" "npm": "Please use yarn instead of NPM to install dependencies"
}, },

View File

@ -12,7 +12,7 @@
}, },
"//engines-comment": "Keep this in sync with /package.json and /aio/package.json", "//engines-comment": "Keep this in sync with /package.json and /aio/package.json",
"engines": { "engines": {
"node": "^12.14.1 || ^14.0.0", "node": "^12.20.0 || ^14.0.0",
"yarn": ">=1.21.1 <2", "yarn": ">=1.21.1 <2",
"npm": "Please use yarn instead of NPM to install dependencies" "npm": "Please use yarn instead of NPM to install dependencies"
}, },

View File

@ -8,7 +8,7 @@
"license": "MIT", "license": "MIT",
"//engines-comment": "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json", "//engines-comment": "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json",
"engines": { "engines": {
"node": "^12.14.1 || ^14.0.0", "node": "^12.20.0 || ^14.0.0",
"yarn": ">=1.22.4 <2", "yarn": ">=1.22.4 <2",
"npm": "Please use yarn instead of NPM to install dependencies" "npm": "Please use yarn instead of NPM to install dependencies"
}, },