From 4dc9980b215f3e6ae7bced08306e366a2cceaa7a Mon Sep 17 00:00:00 2001 From: Yaser Hsueh Date: Tue, 3 Jan 2023 23:08:58 +0800 Subject: [PATCH] Nodejs: Add version 14.18.1 --- bucket/nodejs14-lts.json | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 bucket/nodejs14-lts.json diff --git a/bucket/nodejs14-lts.json b/bucket/nodejs14-lts.json new file mode 100644 index 0000000..af11d38 --- /dev/null +++ b/bucket/nodejs14-lts.json @@ -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: ([\\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" + } + }, + "hash": { + "url": "$baseurl/SHASUMS256.txt.asc" + } + } +}