Nodejs: Add version 14.18.1

This commit is contained in:
椰子 2023-01-03 23:08:58 +08:00
parent bc93abe3de
commit 4dc9980b21

49
bucket/nodejs14-lts.json Normal file
View File

@ -0,0 +1,49 @@
{
"version": "14.18.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": "http://dl.simaek.com/scoop/buckets/custom/package/node-v14.18.1-win-x64.7z",
"hash": "36f51353a4650ed8c842b33991fe2aaad29dd0f80aae7864d591a52430a64503",
"extract_dir": "node-v14.18.1-win-x64"
},
"32bit": {
"url": "http://dl.simaek.com/scoop/buckets/custom/package/node-v14.18.1-win-x86.7z",
"hash": "bcd5b62a214479ec2b047f17224d5cdde14978cbb68ff58a8c2d23aa10bce9bd",
"extract_dir": "node-v14.18.1-win-x86"
}
},
"persist": [
"bin",
"cache"
],
"env_add_path": [
"bin",
"."
],
"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\""
],
"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"
}
}
}