unoverse 0.1.22 → 0.1.24

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/bin/unoverse.mjs CHANGED
@@ -27,7 +27,11 @@ import { create } from "../lib/create.mjs";
27
27
  // file), so the code is global and the data is local.
28
28
  const VENDORED = join(dirname(fileURLToPath(import.meta.url)), "../operator/operator.sh");
29
29
  const IN_REPO = join(dirname(fileURLToPath(import.meta.url)), "../../../scripts/operator.sh");
30
- const OPERATOR = existsSync(VENDORED) ? VENDORED : IN_REPO;
30
+ // IN-REPO WINS. The vendored copy is a build artifact, refreshed only by prepack, so
31
+ // preferring it meant every edit to scripts/lib was invisible while developing here:
32
+ // the CLI kept running whatever the last `npm pack` froze. A published package has no
33
+ // ../../../scripts, so there the vendored copy is the only one and still wins.
34
+ const OPERATOR = existsSync(IN_REPO) ? IN_REPO : VENDORED;
31
35
 
32
36
  function findUniverse() {
33
37
  for (let dir = process.cwd(); ; ) {
@@ -18,7 +18,7 @@ cmd_help() {
18
18
  echo -e " ${GREEN}update${NC} Update this CLI"
19
19
  echo ""
20
20
  echo -e " ${BOLD}This universe${NC}"
21
- echo -e " ${GREEN}start${NC} Start it"
21
+ echo -e " ${GREEN}start${NC} Start it ${DIM}(--pull for the latest images)${NC}"
22
22
  echo -e " ${GREEN}stop${NC} Stop it"
23
23
  echo -e " ${GREEN}check${NC} Is it healthy ${DIM}(services, schema, environment)${NC}"
24
24
  echo -e " ${GREEN}logs${NC} What is it doing ${DIM}(unoverse logs <service> for one)${NC}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
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",