unoverse 0.1.54 → 0.1.55

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.
@@ -42,9 +42,16 @@ cmd_deploy() {
42
42
  exit 1
43
43
  }
44
44
  echo ""
45
- info "Your $cloud ground is prefilled. Two commands left:"
46
- info " cd infra/$cloud && terraform init && terraform apply ${DIM}# creates the server (billable)${NC}"
47
- info " cd ../.. && unoverse deploy ${DIM}# ships the platform onto it${NC}"
45
+ ok "Your $cloud ground is prefilled ${DIM}(infra/$cloud/terraform.tfvars)${NC}"
46
+ echo ""
47
+ local step=1
48
+ if grep -q "FILL_ME" "$ROOT/infra/$cloud/terraform.tfvars" 2>/dev/null; then
49
+ info "$step. Fill in each FILL_ME value: ${BOLD}infra/$cloud/terraform.tfvars${NC}"
50
+ step=$((step+1))
51
+ fi
52
+ info "$step. ${BOLD}cd infra/$cloud && terraform init && terraform apply${NC} ${DIM}creates the server (billable)${NC}"
53
+ step=$((step+1))
54
+ info "$step. ${BOLD}cd ../.. && unoverse deploy${NC} ${DIM}ships the platform onto it${NC}"
48
55
  echo ""
49
56
  exit 0
50
57
  fi
@@ -265,20 +265,14 @@ cmd_ground() {
265
265
  [ -f "$ROOT/infra/digitalocean/terraform.tfvars" ] && { fail "infra/digitalocean/terraform.tfvars already exists. Edit it, or delete it to regenerate"; return 1; }
266
266
  _ground_do || return 1
267
267
  echo ""
268
- info "Next: fill every FILL_ME in infra/digitalocean/terraform.tfvars, then"
269
- info " cd infra/digitalocean && terraform init && terraform apply"
270
- info " cd ../.. && unoverse deploy init # renders .env.production from the ground itself"
271
- info " npx unoverse where # every deployed URL, probed live"
268
+ : # no closing narration here: deploy owns the next-steps (one voice)
272
269
  ;;
273
270
  aws)
274
271
  banner "Prefill your AWS ground"
275
272
  [ -f "$ROOT/infra/aws/terraform.tfvars" ] && { fail "infra/aws/terraform.tfvars already exists. Edit it, or delete it to regenerate"; return 1; }
276
273
  _ground_aws || return 1
277
274
  echo ""
278
- info "Next: fill every FILL_ME in infra/aws/terraform.tfvars, then"
279
- info " cd infra/aws && terraform init && terraform apply"
280
- info " cd ../.. && unoverse deploy init # renders .env.production from the ground itself"
281
- info " npx unoverse where # every deployed URL, probed live"
275
+ : # no closing narration here: deploy owns the next-steps (one voice)
282
276
  ;;
283
277
  *)
284
278
  fail "unknown ground: $which (use: do | aws)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
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",