mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 23:31:20 +00:00
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"version": "1.22.5",
|
|
"description": "Node.js dependency manager",
|
|
"homepage": "https://yarnpkg.com/",
|
|
"license": "BSD-2-Clause",
|
|
"suggest": {
|
|
"Node.js": [
|
|
"nodejs",
|
|
"nodejs-lts",
|
|
"nvm",
|
|
"nvs"
|
|
]
|
|
},
|
|
"url": "https://yarnpkg.com/downloads/1.22.5/yarn-1.22.5.msi",
|
|
"hash": "d7c895bc2a28df456d561ce78b8f9367b0b6a27fb5344d532868fe6f62245a60",
|
|
"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",
|
|
"Yarn\\bin"
|
|
],
|
|
"env_set": {
|
|
"NODE_PATH": "$dir\\global\\node_modules"
|
|
},
|
|
"persist": [
|
|
"cache",
|
|
"global",
|
|
"mirror"
|
|
],
|
|
"checkver": {
|
|
"url": "https://yarnpkg.com/latest-version",
|
|
"regex": "([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://yarnpkg.com/downloads/$version/yarn-$version.msi"
|
|
}
|
|
}
|