mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
60 lines
2.2 KiB
JSON
60 lines
2.2 KiB
JSON
{
|
|
"version": "22.21.0",
|
|
"description": "As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. (Long Term Support)",
|
|
"homepage": "https://nodejs.org",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v22.21.0/node-v22.21.0-win-x64.7z",
|
|
"hash": "31a82a950fd2524651f0409307afe3276ae68a13a131e8b72945a3931109c8c3",
|
|
"extract_dir": "node-v22.21.0-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v22.21.0/node-v22.21.0-win-x86.7z",
|
|
"hash": "d2767e24741f915477002d6325dda40f7554ce9e5176c8d2e824dc127d273725",
|
|
"extract_dir": "node-v22.21.0-win-x86"
|
|
},
|
|
"arm64": {
|
|
"url": "https://nodejs.org/dist/v22.21.0/node-v22.21.0-win-arm64.7z",
|
|
"hash": "3fce2daac6b36f6343d79ef72590b46ada5b22df3538e45e46c521c531f3f205",
|
|
"extract_dir": "node-v22.21.0-win-arm64"
|
|
}
|
|
},
|
|
"post_install": [
|
|
"# Set npm prefix to install modules inside bin and npm cache so they persist",
|
|
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
|
|
],
|
|
"env_add_path": [
|
|
"bin",
|
|
"."
|
|
],
|
|
"persist": [
|
|
"bin",
|
|
"cache"
|
|
],
|
|
"checkver": {
|
|
"url": "https://nodejs.org/dist/index.json",
|
|
"jsonpath": "$..[?(@.lts != false)].version",
|
|
"regex": "v([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x64.7z",
|
|
"extract_dir": "node-v$version-win-x64"
|
|
},
|
|
"32bit": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x86.7z",
|
|
"extract_dir": "node-v$version-win-x86"
|
|
},
|
|
"arm64": {
|
|
"url": "https://nodejs.org/dist/v$version/node-v$version-win-arm64.7z",
|
|
"extract_dir": "node-v$version-win-arm64"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/SHASUMS256.txt.asc"
|
|
}
|
|
}
|
|
}
|