benignswarm 0.12.53 → 0.12.54
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.
|
@@ -43,7 +43,8 @@ else
|
|
|
43
43
|
for b in node npm npx; do ln -sf "$HOME/.local/node/bin/$b" "$HOME/.local/bin/$b"; done
|
|
44
44
|
hash -r; step node done "$(node --version) in ~/.local/node"
|
|
45
45
|
fi
|
|
46
|
-
|
|
46
|
+
# --prefer-online: a cached package listing from before the publish says the version does not exist.
|
|
47
|
+
npx -y --prefer-online -p benignswarm@${version} bschat install ${version} >/tmp/bschat-install.$$ 2>&1 || fail bschat "$(grep -v 'complete log' /tmp/bschat-install.$$ | grep -m1 -iE 'error|failed' || tail -1 /tmp/bschat-install.$$)"
|
|
47
48
|
rm -f /tmp/bschat-install.$$
|
|
48
49
|
bin=$(node -p 'require(require("os").homedir()+"/.bschat/install.json").bin')
|
|
49
50
|
for b in bschat bschat-admin; do [ -e "$HOME/.local/bin/$b" ] || ln -sf "$(dirname "$bin")/$b" "$HOME/.local/bin/$b"; done
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.12.
|
|
1
|
+
export const CLI_VERSION = "0.12.54";
|