From fcc67d71097f50a1e2b8b72de0e8456284b4e8ce Mon Sep 17 00:00:00 2001 From: luhc228 Date: Thu, 30 Nov 2023 20:49:08 +0800 Subject: [PATCH] chore: update anpm registry --- packages/generate-material/CHANGELOG.md | 4 ++++ packages/generate-material/package.json | 2 +- packages/generate-material/src/formatProject.ts | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/generate-material/CHANGELOG.md b/packages/generate-material/CHANGELOG.md index c32313d54..09b776106 100644 --- a/packages/generate-material/CHANGELOG.md +++ b/packages/generate-material/CHANGELOG.md @@ -1,5 +1,9 @@ # `@iceworks/generate-material` +## 1.1.1 + +- feat: update anpm registry + ## 1.1.0 - feat: add builder option for generateMaterial diff --git a/packages/generate-material/package.json b/packages/generate-material/package.json index 71b8ad282..6a08da412 100644 --- a/packages/generate-material/package.json +++ b/packages/generate-material/package.json @@ -1,6 +1,6 @@ { "name": "@iceworks/generate-material", - "version": "1.1.0", + "version": "1.1.1", "description": "Generate material collection or single component", "files": [ "lib/" diff --git a/packages/generate-material/src/formatProject.ts b/packages/generate-material/src/formatProject.ts index 979344529..956f521fa 100644 --- a/packages/generate-material/src/formatProject.ts +++ b/packages/generate-material/src/formatProject.ts @@ -31,7 +31,7 @@ export default async function formatProject({ if (isAliNpm(npmName)) { pkgData.publishConfig = { - registry: 'https://registry.npm.alibaba-inc.com', + registry: 'https://registry.anpm.alibaba-inc.com', }; } @@ -49,7 +49,6 @@ export default async function formatProject({ }, ]); } - } abcData && fse.writeJSONSync(abcPath, abcData, { spaces: 2 });