aaden-cli 1.6.107 → 1.6.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,10 +29,15 @@ step() {
29
29
 
30
30
  step config sh -c 'mkdir -p /etc/aaden/config && chmod -R 777 /etc/aaden/config'
31
31
 
32
+ # 和 aaden-cli 其他地方一样用 -S 从 stdin 喂密码。aaden 没有免密 sudo 的设备上,裸 sudo 没有终端读不了密码、直接失败
33
+ # (10-05 步骤上报:clean=1 npm=1 "a terminal is required to read the password"),npm 永远装不上,CLI 卡在 1.6.101。
34
+ # root 跑(cron)时 sudo 不要密码,多喂的一行没人读,无害。
35
+ sudoS() { echo "Innerken322." | sudo -S "$@"; }
36
+
32
37
  # npm 全局重装会先把旧目录改名成 .aaden-cli-<随机串>;上次失败留下的这种目录会让之后每次都 ENOTEMPTY 失败,
33
38
  # CLI 永远停在老版本(10-03 车队里有几台卡在 1.6.88~1.6.98)。以前这里只删一个写死名字的目录,现在全删。
34
- step clean sudo sh -c 'rm -rf /usr/local/lib/node_modules/.aaden-cli-*'
35
- step npm sudo npm i aaden-cli -g
39
+ step clean sudoS sh -c 'rm -rf /usr/local/lib/node_modules/.aaden-cli-*'
40
+ step npm sudoS npm i aaden-cli -g
36
41
 
37
42
  step patch aaden-cli patch
38
43
 
package/dist/index.js CHANGED
@@ -18577,7 +18577,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
18577
18577
  /***/ ((module) => {
18578
18578
 
18579
18579
  "use strict";
18580
- module.exports = {"i8":"1.6.107"};
18580
+ module.exports = {"i8":"1.6.108"};
18581
18581
 
18582
18582
  /***/ })
18583
18583
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.6.107",
3
+ "version": "1.6.108",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {