ScoopInstaller_Main/bucket/nodejs-lts.json
2025-11-12 00:41:39 +00:00

51 lines
1.7 KiB
JSON

{
"version": "24.11.1",
"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/v24.11.1/node-v24.11.1-win-x64.7z",
"hash": "4ff32b2db66fa95ca2c6b620c3d13d950bdae39a23cf872fcf2c4d3d47241e91",
"extract_dir": "node-v24.11.1-win-x64"
},
"arm64": {
"url": "https://nodejs.org/dist/v24.11.1/node-v24.11.1-win-arm64.7z",
"hash": "61c5d34739c782cbd912a21cfa8072d860884e674ab3c4dea551830b7866a06e",
"extract_dir": "node-v24.11.1-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"
},
"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"
}
}
}