build: set upper version limit for yarn to <2 (#34236)
Rather than bumping up the allowed version of yarn on each release we should instead just allow for anything within the major version 1 range. PR Close #34236
This commit is contained in:
parent
421dba0184
commit
0341f3239a
|
@ -80,10 +80,10 @@
|
|||
"post~~build": "yarn build-404-page",
|
||||
"~~light-server": "light-server --bind=localhost --historyindex=/index.html --no-reload"
|
||||
},
|
||||
"//engines-comment": "Keep this in sync with ../package.json",
|
||||
"//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json",
|
||||
"engines": {
|
||||
"node": ">=10.9.0 <13.0.0",
|
||||
"yarn": ">=1.17.3 <1.20.0"
|
||||
"yarn": ">=1.17.3 <2"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
"preinstall": "node ../../../../tools/yarn/check-yarn.js",
|
||||
"postinstall": "yarn webdriver:update"
|
||||
},
|
||||
"//engines-comment": "Keep this in sync with aio/package.json",
|
||||
"//engines-comment": "Keep this in sync with /package.json and /aio/package.json",
|
||||
"engines": {
|
||||
"node": ">=10.9.0 <13.0.0",
|
||||
"yarn": ">=1.17.3 <=1.19.1"
|
||||
"yarn": ">=1.17.3 <2"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
"homepage": "https://github.com/angular/angular",
|
||||
"bugs": "https://github.com/angular/angular/issues",
|
||||
"license": "MIT",
|
||||
"//engines-comment": "Keep this in sync with aio/package.json",
|
||||
"//engines-comment": "Keep this in sync with /aio/package.json and /aio/tools/examples/shared/package.json",
|
||||
"engines": {
|
||||
"node": ">=10.9.0 <13.0.0",
|
||||
"yarn": ">=1.17.3 <1.20.0"
|
||||
"yarn": ">=1.17.3 <2"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue