mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"version": "1.22.19",
|
|
"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.19/yarn-v1.22.19.tar.gz",
|
|
"hash": "732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e",
|
|
"extract_dir": "yarn-v1.22.19",
|
|
"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"
|
|
}
|
|
}
|