From e5db9c968bff2772144f440ddac391885c6786df Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 7 Sep 2023 09:39:44 +0800 Subject: [PATCH] Change location --- .workflow/test-pipeline.yml | 2 +- README.md | 8 ++++---- install.sh | 4 ++-- nvm-update.sh | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.workflow/test-pipeline.yml b/.workflow/test-pipeline.yml index 83a7faa..2409c5b 100644 --- a/.workflow/test-pipeline.yml +++ b/.workflow/test-pipeline.yml @@ -31,7 +31,7 @@ stages: displayName: 安装 rubyVersion: 3.0.2 commands: - - bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/install.sh)" + - bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/install.sh)" - '' - '' - '' diff --git a/README.md b/README.md index a0f6951..368747a 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,16 @@ - `<2023-05-01>` 此仓库现在切换使用Gitee官方管理的`nvm`镜像,每日更新,最多只比上游晚一天。因此现在不再需要依赖我手动更新。(我已为此手动更新两年,至少每两周一次) -- `<2022-11-07>` 此仓库最开始只是方便我自己临时使用,跟随[RubyKids]的其他项目一起公开出来了。但目前我很少使用NodeJS,对其生态不是很熟悉,如果出现bug,issue,希望您可以参与帮助。此仓库**2022年全年有2000+个独立IP访问,您的参与将会使很多人受益**。如果您愿意长时间维护这个项目,请联系我,我将很乐意为你打开相关权限。[RubyKids]里的其他项目也非常乐意接受维护,如果您认同[Woody's voice box哲学(请参考RubyKids的介绍)](https://gitee.com/RubyKids),您可以申请加入该组织,并分享相关的项目于组织中。 +- `<2022-11-07>` 此仓库最开始只是方便我自己临时使用,跟随[RubyMetric]的其他项目一起公开出来了。但目前我很少使用NodeJS,对其生态不是很熟悉,如果出现bug,issue,希望您可以参与帮助。此仓库**2022年全年有2000+个独立IP访问,您的参与将会使很多人受益**。如果您愿意长时间维护这个项目,请联系我,我将很乐意为你打开相关权限。[RubyMetric]里的其他项目也非常乐意接受维护,如果您认同[Woody's voice box哲学(请参考RubyMetric的介绍)](https://gitee.com/RubyMetric),您可以申请加入该组织,并分享相关的项目于组织中。
## 安装 -`bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/install.sh)"` +`bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/install.sh)"` ## 卸载 -`bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/uninstall.sh)"` +`bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/uninstall.sh)"` ## 使用 @@ -52,4 +52,4 @@ npm config ls npm config set registry https://registry.npmmirror.com ``` -[RubyKids]: https://gitee.com/RubyKids +[RubyMetric]: https://gitee.com/RubyMetric diff --git a/install.sh b/install.sh index eb6ee11..670c8d0 100644 --- a/install.sh +++ b/install.sh @@ -33,7 +33,7 @@ fi export NVM_DIR="$HOME/.nvm" && ( echo "=> Git clone nvm" - git clone https://gitee.com/RubyKids/nvm-official "$NVM_DIR" # 备用仓库 + git clone https://gitee.com/RubyMetric/nvm-official "$NVM_DIR" # 备用仓库 # git clone https://gitee.com/mirrors_nvm-sh/nvm "$NVM_DIR" # Gitee提供的追踪上游仓库 cd "$NVM_DIR" git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` @@ -55,7 +55,7 @@ echo "export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node" >> ~/.bas echo "export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node" >> ~/.zshrc echo "=> 安装nvm-update,升级更新请使用该命令" -curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/nvm-update.sh -o nvm-update.sh +curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/nvm-update.sh -o nvm-update.sh chmod +x ./nvm-update.sh if ! [ -v NVM_CN_IN_CI ];then diff --git a/nvm-update.sh b/nvm-update.sh index 095b6e6..d3bc966 100755 --- a/nvm-update.sh +++ b/nvm-update.sh @@ -8,7 +8,7 @@ # nvm-update: # # Update your nvm and Node.js versions -# See: https://gitee.com/RubyKids/nvm-cn +# See: https://gitee.com/RubyMetric/nvm-cn # --------------------------------------------------------------- ( @@ -17,4 +17,4 @@ git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` ) && \. "$NVM_DIR/nvm.sh" -echo "=> nvm更新完成" \ No newline at end of file +echo "=> nvm更新完成"