mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-07 18:54:05 +08:00
Add nodejs
binary upstream
This commit is contained in:
parent
9dcd539495
commit
9ae9500fec
@ -3,14 +3,15 @@
|
||||
* -------------------------------------------------------------
|
||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||
* Contributors : Nul None <nul@none.org>
|
||||
* |
|
||||
* Created On : <2023-09-09>
|
||||
* Major Revision : 1
|
||||
* Last Modified : <2024-11-22>
|
||||
* Last Modified : <2024-12-18>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
static SourceProvider_t UpstreamNpm =
|
||||
static SourceProvider_t pl_nodejs_npm_upstream =
|
||||
{
|
||||
"upstream", "npmjs.org", "上游默认源 npmjs.org", "https://www.npmjs.com/",
|
||||
"upstream", "Upstream", "上游默认源", "https://www.npmjs.com/",
|
||||
{NotSkip, NA, NA, "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-4.22.0.tgz"}
|
||||
};
|
||||
|
||||
@ -33,7 +34,7 @@ static MirrorSite_t NpmMirror =
|
||||
*/
|
||||
static Source_t pl_nodejs_sources[] =
|
||||
{
|
||||
{&UpstreamNpm, "https://registry.npmjs.org/"}, /* @note 根据 pnpm 官网,有最后的斜线 */
|
||||
{&pl_nodejs_npm_upstream, "https://registry.npmjs.org/"}, /* @note 根据 pnpm 官网,有最后的斜线 */
|
||||
{&NpmMirror, "https://registry.npmmirror.com"},
|
||||
{&Huawei, "https://mirrors.huaweicloud.com/repository/npm/"},
|
||||
{&Tencent, "https://mirrors.cloud.tencent.com/npm/"},
|
||||
@ -42,15 +43,22 @@ def_sources_n(pl_nodejs);
|
||||
|
||||
|
||||
|
||||
|
||||
static SourceProvider_t pl_nodejs_binary_release_upstream =
|
||||
{
|
||||
"upstream", "Upstream", "上游默认源", "https://nodejs.org/",
|
||||
{NotSkip, NA, NA, "https://nodejs.org/dist/v23.4.0/node-v23.4.0.tar.gz"} // 100MB
|
||||
};
|
||||
|
||||
/**
|
||||
* @update 2024-09-23
|
||||
* @update 2024-12-18
|
||||
* @sync https://github.com/RubyMetric/chsrc/wiki/Node.js-BinaryRelease-MirrorSite
|
||||
* @sync https://github.com/RubyMetric/chsrc/discussions/85
|
||||
*
|
||||
*/
|
||||
static Source_t pl_nodejs_binary_release_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, "https://nodejs.org/dist/"},
|
||||
{&pl_nodejs_binary_release_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/"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user