mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
force yarn 1.21.1 until we can handle invalid output of 1.22.0 (#56914)
This commit is contained in:
parent
dcaee36498
commit
5686010b46
3 changed files with 3 additions and 4 deletions
|
@ -486,6 +486,6 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "10.18.0",
|
||||
"yarn": "^1.21.1"
|
||||
"yarn": "1.21.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,8 +108,7 @@ if [[ "$installNode" == "true" || ! $(which yarn) ]]; then
|
|||
###
|
||||
### downloading yarn
|
||||
###
|
||||
yarnVersion="$(node -e "console.log(String(require('./package.json').engines.yarn || '').replace(/^[^\d]+/,''))")"
|
||||
npm install -g "yarn@^${yarnVersion}"
|
||||
npm install -g "yarn@$(node -e "console.log(require('./package.json').engines.yarn)")"
|
||||
fi
|
||||
|
||||
###
|
||||
|
|
|
@ -351,7 +351,7 @@
|
|||
"xregexp": "4.2.4"
|
||||
},
|
||||
"engines": {
|
||||
"yarn": "^1.21.1"
|
||||
"yarn": "1.21.1"
|
||||
},
|
||||
"workspaces": {
|
||||
"nohoist": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue