ScoopInstaller_Main/bucket/nodejs-lts.json
2023-10-24 16:26:42 +00:00

50 lines
1.7 KiB
JSON

{
"version": "20.9.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.9.0/node-v20.9.0-win-x64.7z",
"hash": "ad89924ee8e4a7778c21e269cdcd287ec2cfa7e2044eacede00fe89ff5afee56",
"extract_dir": "node-v20.9.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v20.9.0/node-v20.9.0-win-x86.7z",
"hash": "fbb299506589b03a24c24eb7bc9f0958462853a59e1f3e4d245e619890c13eeb",
"extract_dir": "node-v20.9.0-win-x86"
}
},
"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/en/download/",
"regex": "LTS Version.*: <strong>([\\d.]+)</strong>"
},
"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"
}
},
"hash": {
"url": "$baseurl/SHASUMS256.txt.asc"
}
}
}