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
This commit is contained in:
parent
c54643f00e
commit
af762fa917
|
@ -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.20.0 || ^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"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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.20.0 || ^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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue