Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‼️ ‼️ ‼️ ‼️ 「重要通知」原淘宝 npm 域名即将停止解析 ‼️ ‼️ ‼️ ‼️ #361

Closed
fengmk2 opened this issue Feb 11, 2022 · 5 comments
Assignees

Comments

@fengmk2
Copy link
Member

fengmk2 commented Feb 11, 2022

npm.taobao.org 和 registry.npm.taobao.org 将在 2022.06.30 号正式下线和停止 DNS 解析。

新域名切换规则:

  • npm.taobao.org => npmmirror.com
  • registry.npm.taobao.org => registry.npmmirror.com

因此,有强依赖老域名的各位开发者请尽快更新到新域名,可能受到的影响和处理方式:

  • 企业用户需要联系 网管/IT/SRE 更新防火墙白名单。
  • 存量应用的 lock 文件,开发者需要自行执行 sed 等指令去替换或重新生成。
  • 本地 npmrc 里面的 registry 地址(如果有,则)需要开发者自行更新。
  • 开发者自己的 CL 工具 或 平台应用 里面写死的地址,需开发者自己更新并部署。
  • cnpm cli / nrm 等工具,对应的社区同学已经提 PR 更新,大家重新安装最新版本即可。(如发现遗漏麻烦知会下我们)

详细说明请移步 https://zhuanlan.zhihu.com/p/465424728

@fengmk2 fengmk2 self-assigned this Feb 11, 2022
@fengmk2
Copy link
Member Author

fengmk2 commented Feb 11, 2022

@fengmk2
Copy link
Member Author

fengmk2 commented Feb 12, 2022

今天会进行 301 强制永久性跳转:

阿里云 CDN EdgeScript 配置

dst = concat('https://registry.npmmirror.com', $uri)
rewrite(dst, 'redirect', 301)

@codeyourwayup
Copy link

got it.

@atian25 atian25 pinned this issue Mar 24, 2022
@frontend-winter
Copy link

done

@fengmk2
Copy link
Member Author

fengmk2 commented Apr 15, 2024

npm.taobao.org 域名停止解析生效。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants