unoverse 0.1.159 → 0.1.161

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/lib/login.mjs CHANGED
@@ -174,7 +174,7 @@ export async function login(universeInput, { log = console.log } = {}) {
174
174
  if (!config.authEnabled) {
175
175
  throw new Error(
176
176
  `${origin} has authentication switched off, so there is no account to sign in with.\n` +
177
- ` To publish there, set UNOVERSE_TOKEN to a publish key minted on the universe itself.`,
177
+ ` To deploy there, set UNOVERSE_TOKEN to a deploy key minted on the universe itself.`,
178
178
  );
179
179
  }
180
180
  if (!config.issuer) throw new Error(`${origin} has no identity provider configured.`);
@@ -257,13 +257,13 @@ export async function tokenFor(origin, { interactive = true, log = console.log }
257
257
  } else if (!config.authEnabled) {
258
258
  throw new Error(
259
259
  `${origin} has authentication switched off.\n` +
260
- ` To publish there, set UNOVERSE_TOKEN to a publish key minted on the universe itself.`,
260
+ ` To deploy there, set UNOVERSE_TOKEN to a deploy key minted on the universe itself.`,
261
261
  );
262
262
  }
263
263
 
264
264
  if (!interactive || !process.stdin.isTTY) {
265
265
  throw new Error(
266
- `No credential for ${origin}. In CI, set UNOVERSE_TOKEN to a publish key.\n` +
266
+ `No credential for ${origin}. In CI, set UNOVERSE_TOKEN to a deploy key.\n` +
267
267
  ` At a terminal, run: unoverse login ${origin}`,
268
268
  );
269
269
  }
package/lib/publish.mjs CHANGED
@@ -74,7 +74,7 @@ export async function publish(args) {
74
74
  let project = positional;
75
75
  if (!project) {
76
76
  if (projects.length > 1) {
77
- die(`several projects here. Say which:\n\n unoverse publish <project>\n\n Found: ${projects.join(", ")}`);
77
+ die(`several projects here. Say which:\n\n unoverse deploy studio <project>\n\n Found: ${projects.join(", ")}`);
78
78
  }
79
79
  project = projects[0];
80
80
  } else if (!projects.includes(project)) {
@@ -35,7 +35,6 @@ cmd_help() {
35
35
  # SHOW THE COMMAND, not a description of it. "aws or digitalocean" told a reader the
36
36
  # clouds exist without telling them what to type, so the shape of the command still had
37
37
  # to be guessed. Print the line they will actually run.
38
- echo -e " ${GREEN}deploy${NC} Ship it to a server ${DIM}(deploy aws · deploy digitalocean; first run asks which cloud)${NC}"
39
38
  echo -e " ${GREEN}destroy${NC} Take it down ${DIM}(shows what goes, and what stays)${NC}"
40
39
  echo -e " ${DIM}unoverse destroy aws · unoverse destroy digitalocean${NC}"
41
40
  echo -e " ${GREEN}db-allow${NC} Let this machine reach the database ${DIM}(run it when you change network)${NC}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unoverse",
3
- "version": "0.1.159",
3
+ "version": "0.1.161",
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",