Skip to content

Commit 3cf794b

Browse files
committed
fix: update mirror.sh
1 parent eec7e53 commit 3cf794b

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

deploy/mirror.sh

+32-32
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# @Author: ly525
55
# @Date: 2019-11-23 22:56:04
66
# @LastEditors: ly525
7-
# @LastEditTime: 2019-11-23 23:04:08
7+
# @LastEditTime: 2019-11-24 10:25:05
88
# @FilePath: /luban-h5/helpers/mirror.sh
99
# @Github: https://github.com/ly525/luban-h5
1010
# @Description:
@@ -57,37 +57,37 @@ npm cache clean --force # clean npm cache
5757
# YARN
5858
# ==========================================================
5959

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}"
9191

9292
yarn cache clean # clean yarn cache
9393

0 commit comments

Comments
 (0)