From 6dbc06a596ecb987473a6a38bbfa6f994b3dd797 Mon Sep 17 00:00:00 2001 From: Valentin <3774962+val1984@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:39:03 +0200 Subject: [PATCH] nodejs22: add v22.10.0 --- bucket/nodejs22.json | 58 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 bucket/nodejs22.json diff --git a/bucket/nodejs22.json b/bucket/nodejs22.json new file mode 100644 index 00000000000..8888d453838 --- /dev/null +++ b/bucket/nodejs22.json @@ -0,0 +1,58 @@ +{ + "version": "22.11.0", + "description": "An asynchronous event driven JavaScript runtime designed to build scalable network applications.", + "homepage": "https://nodejs.org", + "license": "MIT", + "architecture": { + "64bit": { + "url": "https://nodejs.org/dist/v22.11.0/node-v22.11.0-win-x64.7z", + "hash": "d2a4fadb1f5e4abc634b6ac16c44cae7c73ffc3dbfe8b92b011d85f2df90f6c1", + "extract_dir": "node-v22.11.0-win-x64" + }, + "32bit": { + "url": "https://nodejs.org/dist/v22.11.0/node-v22.11.0-win-x86.7z", + "hash": "ca0a274f1edc90005b1dc7ec22ec55dad1acc21320bc0be853065d69db2a5152", + "extract_dir": "node-v22.11.0-win-x86" + }, + "arm64": { + "url": "https://nodejs.org/dist/v22.11.0/node-v22.11.0-win-arm64.7z", + "hash": "55b491f3d73fdacf8cf43a2199e824abadda2c43a94780310baa526dc1d679e2", + "extract_dir": "node-v22.11.0-win-arm64" + } + }, + "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/dist/latest-v22.x/", + "regex": "node-v([\\d.]+)-win-x64\\.7z" + }, + "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" + } + } +}