Skip to content

Commit 4ce54b2

Browse files
committed
feat: add cnpm registry
1 parent 9438600 commit 4ce54b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/constant.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export const registrys: Registrys = {
2222
npm: "https://registry.npmjs.org/",
2323
yarn: "https://registry.yarnpkg.com/",
2424
github: "https://npm.pkg.github.com/",
25+
get cnpm() {
26+
return this.taobao;
27+
},
2528
taobao: "https://registry.npmmirror.com/",
2629
npmMirror: "https://skimdb.npmjs.com/registry/",
2730
tencent: "https://mirrors.cloud.tencent.com/npm/",

0 commit comments

Comments
 (0)