ScoopInstaller_Main/bucket/nodejs-lts.json
2024-06-20 16:30:02 +00:00

60 lines
2.2 KiB
JSON

{
"version": "20.15.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/v20.15.0/node-v20.15.0-win-x64.7z",
"hash": "d19232e89f9ffff09d0efa7dbc05be824104b450501027a6c520c7ad58daa656",
"extract_dir": "node-v20.15.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v20.15.0/node-v20.15.0-win-x86.7z",
"hash": "7fa94ce887865d6143afa5d1d3c04aaed05913ac7c48baabe93ca18ef62b5218",
"extract_dir": "node-v20.15.0-win-x86"
},
"arm64": {
"url": "https://nodejs.org/dist/v20.15.0/node-v20.15.0-win-arm64.7z",
"hash": "189168e78272d647bbbe0d76dd4353d99c337c3b46d9789f5c5f3eb3c71b0956",
"extract_dir": "node-v20.15.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"
}
}
}