From 2193c8773862993904c0236e497d9a6d6e1a1243 Mon Sep 17 00:00:00 2001 From: luhc228 Date: Wed, 22 Nov 2023 10:35:16 +0800 Subject: [PATCH] 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 {