-
Notifications
You must be signed in to change notification settings - Fork 728
/
syncRegistry.sh
executable file
·21 lines (19 loc) · 1.05 KB
/
syncRegistry.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
## 提示用户输入URL
read -p "请输入同步的源(例如: registry.npmjs.org): " url
#
## 使用python -m webbrowser访问输入的URL
python -m webbrowser https://$url/sync/@douyinfe/semi-ui
python -m webbrowser https://$url/sync/@douyinfe/semi-foundation
python -m webbrowser https://$url/sync/@douyinfe/semi-animation
python -m webbrowser https://$url/sync/@douyinfe/semi-animation-react
python -m webbrowser https://$url/sync/@douyinfe/semi-animation-styled
python -m webbrowser https://$url/sync/@douyinfe/semi-icons
python -m webbrowser https://$url/sync/@douyinfe/semi-icons-lab
python -m webbrowser https://$url/sync/@douyinfe/semi-illustrations
python -m webbrowser https://$url/sync/@douyinfe/semi-next
python -m webbrowser https://$url/sync/@douyinfe/semi-rspack-plugin
python -m webbrowser https://$url/sync/@douyinfe/semi-scss-compile
python -m webbrowser https://$url/sync/@douyinfe/semi-theme-default
python -m webbrowser https://$url/sync/@douyinfe/semi-webpack-plugin
python -m webbrowser https://$url/sync/@douyinfe/semi-json-viewer-core