unoverse 0.1.52 → 0.1.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.
@@ -50,6 +50,12 @@ _ground_do() {
50
50
  echo ""
51
51
  echo -e " ${CYAN}https://cloud.digitalocean.com/account/api/tokens${NC}"
52
52
  echo ""
53
+ # Full Access, stated plainly: this token CREATES infrastructure (droplet, load
54
+ # balancer, DNS, Postgres, Redis). Read Only cannot, and enumerating custom scopes
55
+ # for that list is homework that breaks when the ground grows.
56
+ echo -e " ${DIM}Scope: choose ${NC}${BOLD}Full Access${NC}${DIM}. This token creates your server, database and networking.${NC}"
57
+ echo -e " ${DIM}It stays on this machine; developers never receive it.${NC}"
58
+ echo ""
53
59
  local DO_TOKEN
54
60
  read -r -s -p " Paste the token (hidden): " DO_TOKEN
55
61
  echo ""
@@ -74,7 +74,14 @@ case "${1:-}" in
74
74
  info "Docker is not running. Images refresh on the next unoverse start"
75
75
  else
76
76
  info "Checking for newer platform images..."
77
- docker compose -f "$ROOT/docker-compose.yml" --env-file "$ROOT/.env" pull || warn "image check failed (network/registry?)"
77
+ if ! docker compose -f "$ROOT/docker-compose.yml" --env-file "$ROOT/.env" pull; then
78
+ # A failed pull must not be followed by "everything is up to date". Timeouts
79
+ # here are almost always a network blip; the retry costs one command.
80
+ echo ""
81
+ warn "An image did not download (network blip, usually). Run ${BOLD}unoverse update${NC} again"
82
+ echo ""
83
+ exit 1
84
+ fi
78
85
  if [ -n "$(docker compose -f "$ROOT/docker-compose.yml" ps -q 2>/dev/null)" ]; then
79
86
  docker compose -f "$ROOT/docker-compose.yml" --env-file "$ROOT/.env" up -d --remove-orphans >/dev/null 2>&1 \
80
87
  && ok "Running services moved to the new images"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.52",
3
+ "version": "0.1.54",
4
4
  "description": "The Unoverse front door — create a Studio project, a universe, or a client app, and launch Studio.",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "type": "module",