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 });