|
4 | 4 | # @Author: ly525
|
5 | 5 | # @Date: 2019-11-23 22:56:04
|
6 | 6 | # @LastEditors: ly525
|
7 |
| - # @LastEditTime: 2019-11-23 23:04:08 |
| 7 | + # @LastEditTime: 2019-11-24 10:25:05 |
8 | 8 | # @FilePath: /luban-h5/helpers/mirror.sh
|
9 | 9 | # @Github: https://github.com/ly525/luban-h5
|
10 | 10 | # @Description:
|
@@ -57,37 +57,37 @@ npm cache clean --force # clean npm cache
|
57 | 57 | # YARN
|
58 | 58 | # ==========================================================
|
59 | 59 |
|
60 |
| -yarn set registry "https://registry.npm.taobao.org" |
61 |
| -yarn set disturl "https://npm.taobao.org/dist" |
62 |
| -yarn set chromedriver-cdnurl "https://npm.taobao.org/mirrors/chromedriver" |
63 |
| -yarn set couchbase-binary-host-mirror "https://npm.taobao.org/mirrors/couchbase/v{version}" |
64 |
| -yarn set debug-binary-host-mirror "https://npm.taobao.org/mirrors/node-inspector" |
65 |
| -yarn set electron-mirror "https://npm.taobao.org/mirrors/electron/" |
66 |
| -yarn set flow-bin-binary-host-mirror "https://npm.taobao.org/mirrors/flow/v" |
67 |
| -yarn set fse-binary-host-mirror "https://npm.taobao.org/mirrors/fsevents" |
68 |
| -yarn set fuse-bindings-binary-host-mirror "https://npm.taobao.org/mirrors/fuse-bindings/v{version}" |
69 |
| -yarn set git4win-mirror "https://npm.taobao.org/mirrors/git-for-windows" |
70 |
| -yarn set gl-binary-host-mirror "https://npm.taobao.org/mirrors/gl/v{version}" |
71 |
| -yarn set grpc-node-binary-host-mirror "https://npm.taobao.org/mirrors" |
72 |
| -yarn set hackrf-binary-host-mirror "https://npm.taobao.org/mirrors/hackrf/v{version}" |
73 |
| -yarn set leveldown-binary-host-mirror "https://npm.taobao.org/mirrors/leveldown/v{version}" |
74 |
| -yarn set leveldown-hyper-binary-host-mirror "https://npm.taobao.org/mirrors/leveldown-hyper/v{version}" |
75 |
| -yarn set mknod-binary-host-mirror "https://npm.taobao.org/mirrors/mknod/v{version}" |
76 |
| -yarn set node-sqlite3-binary-host-mirror "https://npm.taobao.org/mirrors" |
77 |
| -yarn set node-tk5-binary-host-mirror "https://npm.taobao.org/mirrors/node-tk5/v{version}" |
78 |
| -yarn set nodegit-binary-host-mirror "https://npm.taobao.org/mirrors/nodegit/v{version}/" |
79 |
| -yarn set operadriver-cdnurl "https://npm.taobao.org/mirrors/operadriver" |
80 |
| -yarn set phantomjs-cdnurl "https://npm.taobao.org/mirrors/phantomjs" |
81 |
| -yarn set profiler-binary-host-mirror "https://npm.taobao.org/mirrors/node-inspector/" |
82 |
| -yarn set puppeteer-download-host "https://npm.taobao.org/mirrors" |
83 |
| -yarn set python-mirror "https://npm.taobao.org/mirrors/python" |
84 |
| -yarn set rabin-binary-host-mirror "https://npm.taobao.org/mirrors/rabin/v{version}" |
85 |
| -yarn set sass-binary-site "https://npm.taobao.org/mirrors/node-sass" |
86 |
| -yarn set sodium-prebuilt-binary-host-mirror "https://npm.taobao.org/mirrors/sodium-prebuilt/v{version}" |
87 |
| -yarn set sqlite3-binary-site "https://npm.taobao.org/mirrors/sqlite3" |
88 |
| -yarn set utf-8-validate-binary-host-mirror "https://npm.taobao.org/mirrors/utf-8-validate/v{version}" |
89 |
| -yarn set utp-native-binary-host-mirror "https://npm.taobao.org/mirrors/utp-native/v{version}" |
90 |
| -yarn set zmq-prebuilt-binary-host-mirror "https://npm.taobao.org/mirrors/zmq-prebuilt/v{version}" |
| 60 | +yarn config set registry "https://registry.npm.taobao.org" |
| 61 | +yarn config set disturl "https://npm.taobao.org/dist" |
| 62 | +yarn config set chromedriver-cdnurl "https://npm.taobao.org/mirrors/chromedriver" |
| 63 | +yarn config set couchbase-binary-host-mirror "https://npm.taobao.org/mirrors/couchbase/v{version}" |
| 64 | +yarn config set debug-binary-host-mirror "https://npm.taobao.org/mirrors/node-inspector" |
| 65 | +yarn config set electron-mirror "https://npm.taobao.org/mirrors/electron/" |
| 66 | +yarn config set flow-bin-binary-host-mirror "https://npm.taobao.org/mirrors/flow/v" |
| 67 | +yarn config set fse-binary-host-mirror "https://npm.taobao.org/mirrors/fsevents" |
| 68 | +yarn config set fuse-bindings-binary-host-mirror "https://npm.taobao.org/mirrors/fuse-bindings/v{version}" |
| 69 | +yarn config set git4win-mirror "https://npm.taobao.org/mirrors/git-for-windows" |
| 70 | +yarn config set gl-binary-host-mirror "https://npm.taobao.org/mirrors/gl/v{version}" |
| 71 | +yarn config set grpc-node-binary-host-mirror "https://npm.taobao.org/mirrors" |
| 72 | +yarn config set hackrf-binary-host-mirror "https://npm.taobao.org/mirrors/hackrf/v{version}" |
| 73 | +yarn config set leveldown-binary-host-mirror "https://npm.taobao.org/mirrors/leveldown/v{version}" |
| 74 | +yarn config set leveldown-hyper-binary-host-mirror "https://npm.taobao.org/mirrors/leveldown-hyper/v{version}" |
| 75 | +yarn config set mknod-binary-host-mirror "https://npm.taobao.org/mirrors/mknod/v{version}" |
| 76 | +yarn config set node-sqlite3-binary-host-mirror "https://npm.taobao.org/mirrors" |
| 77 | +yarn config set node-tk5-binary-host-mirror "https://npm.taobao.org/mirrors/node-tk5/v{version}" |
| 78 | +yarn config set nodegit-binary-host-mirror "https://npm.taobao.org/mirrors/nodegit/v{version}/" |
| 79 | +yarn config set operadriver-cdnurl "https://npm.taobao.org/mirrors/operadriver" |
| 80 | +yarn config set phantomjs-cdnurl "https://npm.taobao.org/mirrors/phantomjs" |
| 81 | +yarn config set profiler-binary-host-mirror "https://npm.taobao.org/mirrors/node-inspector/" |
| 82 | +yarn config set puppeteer-download-host "https://npm.taobao.org/mirrors" |
| 83 | +yarn config set python-mirror "https://npm.taobao.org/mirrors/python" |
| 84 | +yarn config set rabin-binary-host-mirror "https://npm.taobao.org/mirrors/rabin/v{version}" |
| 85 | +yarn config set sass-binary-site "https://npm.taobao.org/mirrors/node-sass" |
| 86 | +yarn config set sodium-prebuilt-binary-host-mirror "https://npm.taobao.org/mirrors/sodium-prebuilt/v{version}" |
| 87 | +yarn config set sqlite3-binary-site "https://npm.taobao.org/mirrors/sqlite3" |
| 88 | +yarn config set utf-8-validate-binary-host-mirror "https://npm.taobao.org/mirrors/utf-8-validate/v{version}" |
| 89 | +yarn config set utp-native-binary-host-mirror "https://npm.taobao.org/mirrors/utp-native/v{version}" |
| 90 | +yarn config set zmq-prebuilt-binary-host-mirror "https://npm.taobao.org/mirrors/zmq-prebuilt/v{version}" |
91 | 91 |
|
92 | 92 | yarn cache clean # clean yarn cache
|
93 | 93 |
|
|
0 commit comments