From 9332b5a4e3911727e4b828743a505feb3144d8b5 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Mon, 23 Sep 2024 23:14:05 +0800 Subject: [PATCH] Add Node.js binary release sources --- src/recipe/lang/Node.js/common.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/recipe/lang/Node.js/common.h b/src/recipe/lang/Node.js/common.h index 608419c..2584be7 100644 --- a/src/recipe/lang/Node.js/common.h +++ b/src/recipe/lang/Node.js/common.h @@ -32,3 +32,24 @@ pl_nodejs_sources[] = { {&Tencent, "https://mirrors.cloud.tencent.com/npm/"}, }; def_sources_n(pl_nodejs); + + + +/** + * @update 2024-09-23 + * @sync https://github.com/RubyMetric/chsrc/wiki/Node.js-BinaryRelease-MirrorSite + * @sync https://github.com/RubyMetric/chsrc/discussions/85 + * + */ +static SourceInfo +pl_nodejs_binary_release_sources[] = { + {&Upstream, "https://nodejs.org/dist/"}, + {&NpmMirror, "https://npmmirror.com/mirrors"}, + {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/"}, + {&Bfsu, "https://mirrors.bfsu.edu.cn/nodejs-release/"}, + {&Ustc, "https://mirrors.ustc.edu.cn/node/"}, + + {&Huawei, "https://mirrors.huaweicloud.com/nodejs/"}, + {&Tencent, "https://mirrors.cloud.tencent.com/nodejs-release/"}, +}; +def_sources_n(pl_nodejs_binary_release);