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": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue