@somewhere-cloud/cli 0.38.129 → 0.38.130

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.38.130
2
+
3
+ - Signed out, a command that needs an account also says that `somewhere deploy` puts a folder live without one, with a claim link. `somewhere deploy --help` says the same under "No project yet?".
4
+
1
5
  ## 0.38.129
2
6
 
3
7
  - `somewhere test` runs the starter's full check on an unclaimed app: sign-up, sign-in and the privacy check.
@@ -8642,7 +8642,7 @@ function getToken() {
8642
8642
  process.exit(1);
8643
8643
  }
8644
8644
  if (!config2?.token) {
8645
- error(`Not logged in. Run: ${cliInvocation()} login (it prints a code to approve in any browser). If you deployed signed out from another terminal on this computer, run this command there: its temporary credential is in that terminal's ~/.somewhere.`);
8645
+ error(`Not logged in. To put a folder live without an account, run ${cliInvocation()} deploy there: it creates a temporary app and prints its live URL and claim link. To sign in, run ${cliInvocation()} login (it prints a code to approve in any browser). If you deployed signed out from another terminal on this computer, run this command there: its temporary credential is in that terminal's ~/.somewhere.`);
8646
8646
  process.exit(1);
8647
8647
  }
8648
8648
  return config2.token;
@@ -82168,7 +82168,8 @@ Functions missing from the directory: a full \`${cliInvocation()} deploy\` REMOV
82168
82168
  are not in this directory (each one is named in the output). \`--scope functions\` keeps them unless
82169
82169
  --replace-functions. \`${cliInvocation()} promote\` is the opposite: it keeps them unless --prune.
82170
82170
 
82171
- No project yet? Signed in, deploy never creates one on its own:
82171
+ No project yet? Signed out, deploy creates a temporary app and prints its claim link; no other step.
82172
+ Signed in, deploy never creates one on its own:
82172
82173
  ${cliInvocation()} init --bare --name <name> create a project in your account and link this folder
82173
82174
  ${cliInvocation()} deploy then deploy it
82174
82175
  Existing project: \`${cliInvocation()} init --link --project <ref>\` (see \`${cliInvocation()} projects\`), or \`--project <ref>\` here.