Skip to content

Commit

Permalink
feat: add cnpm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Jul 19, 2024
1 parent 9438600 commit 4ce54b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export const registrys: Registrys = {
npm: "https://registry.npmjs.org/",
yarn: "https://registry.yarnpkg.com/",
github: "https://npm.pkg.github.com/",
get cnpm() {
return this.taobao;
},
taobao: "https://registry.npmmirror.com/",
npmMirror: "https://skimdb.npmjs.com/registry/",
tencent: "https://mirrors.cloud.tencent.com/npm/",
Expand Down

0 comments on commit 4ce54b2

Please sign in to comment.