From 2193c8773862993904c0236e497d9a6d6e1a1243 Mon Sep 17 00:00:00 2001 From: luhc228 Date: Wed, 22 Nov 2023 10:35:16 +0800 Subject: [PATCH 1/2] chore: update registry --- packages/cli/src/utils/getNpmRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/utils/getNpmRegistry.ts b/packages/cli/src/utils/getNpmRegistry.ts index bad7a05f5..3ea5e998d 100644 --- a/packages/cli/src/utils/getNpmRegistry.ts +++ b/packages/cli/src/utils/getNpmRegistry.ts @@ -11,7 +11,7 @@ export default async function (npmName, materialConfig, publishConfig, enableUse // 兼容老的用法 registry = process.env.REGISTRY; } else if (isAliNpm(npmName)) { - registry = 'https://registry.npm.alibaba-inc.com'; + registry = 'https://registry.anpm.alibaba-inc.com'; } else if (materialConfig && materialConfig.registry) { registry = materialConfig.registry; } else { From 0971eaa469c7fd2a2b2e3e72a8830731ff4faed6 Mon Sep 17 00:00:00 2001 From: luhc228 Date: Wed, 22 Nov 2023 10:35:32 +0800 Subject: [PATCH 2/2] feat: update version and changelog --- packages/cli/CHANGELOG.md | 4 ++++ packages/cli/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 2d1f27c00..34aac8066 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 3.0.3 + +- [chore] 更新内网源地址为 `https://registry.anpm.alibaba-inc.com/` + ## 3.0.2 - [chore]: 更新淘宝 npm 镜像源地址为 `https://registry.npmmirror.com` diff --git a/packages/cli/package.json b/packages/cli/package.json index e31fdadef..53af88ff4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@appworks/cli", - "version": "3.0.2", + "version": "3.0.3", "description": "AppWorks CLI for develop project/material-collection/component.", "main": "bin/appworks.js", "bin": {