ScoopInstaller_Main/bucket/nodejs-lts.json
2024-05-28 20:26:10 +00:00

60 lines
2.2 KiB
JSON

{
"version": "20.14.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.14.0/node-v20.14.0-win-x64.7z",
"hash": "2f287555ee39462995b8a728c41bba1ad5afd8d27cfeaed0946d5ac0df1b9b7a",
"extract_dir": "node-v20.14.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v20.14.0/node-v20.14.0-win-x86.7z",
"hash": "e808e46b4f4003b1080a90c29e1115deea20a94bac4d2a619c9413602915c77f",
"extract_dir": "node-v20.14.0-win-x86"
},
"arm64": {
"url": "https://nodejs.org/dist/v20.14.0/node-v20.14.0-win-arm64.7z",
"hash": "81530d6a3f62f2b2dc758ecda6510656b20d64fcdd24ef5befd08a94bf5c2408",
"extract_dir": "node-v20.14.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"
}
}
}