Skip to content

Commit

Permalink
chore: update anpm registry (#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhc228 authored Nov 30, 2023
1 parent 9d9e20b commit 7ca4dfb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/generate-material/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# `@iceworks/generate-material`

## 1.1.1

- feat: update anpm registry

## 1.1.0

- feat: add builder option for generateMaterial
Expand Down
2 changes: 1 addition & 1 deletion packages/generate-material/package.json
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down
3 changes: 1 addition & 2 deletions packages/generate-material/src/formatProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
}

Expand All @@ -49,7 +49,6 @@ export default async function formatProject({
},
]);
}

}

abcData && fse.writeJSONSync(abcPath, abcData, { spaces: 2 });
Expand Down

0 comments on commit 7ca4dfb

Please sign in to comment.