ScoopInstaller_Main/bucket/nodejs-lts.json
2025-08-01 00:48:46 +00:00

60 lines
2.2 KiB
JSON

{
"version": "22.18.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.18.0/node-v22.18.0-win-x64.7z",
"hash": "2a19a4258cede4f2bd9be7f65768658ae6436fe8b8b223846e5bacefdf4d64c2",
"extract_dir": "node-v22.18.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v22.18.0/node-v22.18.0-win-x86.7z",
"hash": "37212dfb1b5dc1c4d3589979523fd607f05cb1d8780c0a7d37a85e2f899d9259",
"extract_dir": "node-v22.18.0-win-x86"
},
"arm64": {
"url": "https://nodejs.org/dist/v22.18.0/node-v22.18.0-win-arm64.7z",
"hash": "2b8fdd687b7d497121c0d3f519987a73fcbe3e0b667f7dd0e4913d4bf2ee5adb",
"extract_dir": "node-v22.18.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"
}
}
}