Skip to content

Commit 5ff09bd

Browse files
committed
chore: rm home
1 parent 199e8bc commit 5ff09bd

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/constants.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,21 @@ export const REGISTRIES: RegistryConfig = {
77
registry: 'https://registry.npmjs.org/',
88
},
99
yarn: {
10-
home: 'https://yarnpkg.com',
1110
registry: 'https://registry.yarnpkg.com/',
1211
},
1312
tencent: {
14-
home: 'https://mirrors.tencent.com/npm/',
1513
registry: 'https://mirrors.tencent.com/npm/',
1614
},
1715
cnpm: {
18-
home: 'https://cnpmjs.org',
1916
registry: 'https://r.cnpmjs.org/',
2017
},
2118
taobao: {
22-
home: 'https://npmmirror.com',
2319
registry: 'https://registry.npmmirror.com/',
2420
},
2521
npmMirror: {
26-
home: 'https://skimdb.npmjs.com/',
2722
registry: 'https://skimdb.npmjs.com/registry/',
2823
},
2924
huawei: {
30-
home: 'https://www.huaweicloud.com/special/npm-jingxiang.html',
3125
registry: 'https://repo.huaweicloud.com/repository/npm/',
3226
},
3327
};

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export interface Registry {
2-
home: string;
2+
home?: string;
33
registry: string;
44
}
55

0 commit comments

Comments
 (0)