Browse Source

chore: upgrade registry links

Gerald 6 years ago
parent
commit
e23e454563
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/transform-lock.js

+ 2 - 2
scripts/transform-lock.js

@@ -19,7 +19,7 @@ const base = {
 };
 const targets = {
   taobao: Object.assign({}, base, {
-    prefix: 'http://registry.npm.taobao.org/',
+    prefix: 'https://registry.npm.taobao.org/',
     build({ scope, name, suffix }) {
       return this.prefix + [scope, name, 'download', scope, suffix].filter(Boolean).join('/');
     },
@@ -28,7 +28,7 @@ const targets = {
     prefix: 'https://registry.yarnpkg.com/',
   }),
   npm: Object.assign({}, base, {
-    prefix: 'http://registry.npmjs.org/',
+    prefix: 'https://registry.npmjs.org/',
   }),
 };