HUMORCE 19f1b57dc3
yarn: Update to version 1.22.17 (#3131)
- url/hash
- extract_dir
- env_add_path
- checkver
- autoupdate
2021-12-28 11:03:40 +05:30

47 lines
1.4 KiB
JSON

{
"version": "1.22.17",
"description": "Node.js dependency manager",
"homepage": "https://yarnpkg.com/",
"license": "BSD-2-Clause",
"suggest": {
"Node.js": [
"nodejs",
"nodejs-lts",
"nvm",
"nvs"
]
},
"url": "https://github.com/yarnpkg/yarn/releases/download/v1.22.17/yarn-v1.22.17.tar.gz",
"hash": "267982c61119a055ba2b23d9cf90b02d3d16c202c03cb0c3a53b9633eae37249",
"extract_dir": "yarn-v1.22.17",
"post_install": [
"yarn config set cache-folder \"$dir\\cache\"",
"yarn config set yarn-offline-mirror \"$dir\\mirror\"",
"yarn config set global-folder \"$dir\\global\"",
"yarn config set prefix \"$dir\\global\""
],
"uninstaller": {
"script": "Remove-Item \"$env:LOCALAPPDATA\\Yarn\", \"$env:USERPROFILE\\.yarnrc\" -Recurse -Force"
},
"env_add_path": [
"global\\node_modules\\.bin",
"bin"
],
"env_set": {
"NODE_PATH": "$dir\\global\\node_modules"
},
"persist": [
"cache",
"global",
"mirror"
],
"checkver": {
"url": "https://classic.yarnpkg.com/latest-version",
"regex": "([\\d.]+)"
},
"autoupdate": {
"url": "https://github.com/yarnpkg/yarn/releases/download/v$version/yarn-v$version.tar.gz",
"extract_dir": "yarn-v$version"
}
}