mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"version": "1.22.15",
|
|
"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.15/yarn-1.22.15.msi",
|
|
"hash": "8e812ac4d27b4c04a54f32eb8823cfb54d02f5a4ec429e4091cca38fa17e4113",
|
|
"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"
|
|
}
|
|
}
|