clavarium 0.2.513-next.1 → 0.2.514-next.1

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.
package/deploy/install.sh CHANGED
@@ -203,6 +203,11 @@ NODE_VERSION="$(sed -n "s/^export const NODE_VERSION = '\(v[0-9.]*\)';$/\1/p" "$
203
203
  NODE_SHA256="$(sed -n "s/^export const NODE_SHA256 = '\([0-9a-f]\{64\}\)';$/\1/p" "$HERE/server/tools.mjs")"
204
204
  [ -n "$NODE_VERSION" ] && [ -n "$NODE_SHA256" ] || refuse "the pinned Node.js version was not found in $HERE/server/tools.mjs"
205
205
 
206
+ # ALREADY ONLINE (22-11, #409): local mode would rewrite the service without its operators.
207
+ if [ "$LOCAL" = "yes" ] && [ "$DRY" != "yes" ] && grep -q -- ' --operators ' "$UNIT" 2>/dev/null; then
208
+ refuse "this Clavarium is online: it updates itself. Installing in local mode would remove its sign-in. Nothing was changed."
209
+ fi
210
+
206
211
  if [ "$DRY" = "yes" ]; then
207
212
  cat <<PLAN
208
213
  would install Clavarium:
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.513-next.1",
3
+ "version": "0.2.514-next.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "clavarium",
9
- "version": "0.2.513-next.1",
9
+ "version": "0.2.514-next.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium",
3
- "version": "0.2.513-next.1",
3
+ "version": "0.2.514-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "A conversation is a VM with a terminal in it. Everything else is a folder.",