@somewhere-cloud/cli 0.38.146 → 0.38.147
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 +5 -0
- package/dist/lib/bundle.js +4 -4
- package/dist/lib/bundle.js.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.38.147
|
|
4
|
+
|
|
5
|
+
- `somewhere git connect` returns the browser to https://somewhere.cloud/app.
|
|
6
|
+
- `somewhere git deploy` and `somewhere git status` print `Logs: somewhere logs <project>`. They used to link a dashboard logs tab, which is gone. In `--json`, `logs_command` replaces `logs_url`.
|
|
7
|
+
|
|
3
8
|
## 0.38.146
|
|
4
9
|
|
|
5
10
|
- `somewhere init --link --project <app>` in an empty folder, for an app that already has a live release, now stops before writing any file and says to run `somewhere pull <app>` first. This keeps a later deploy from replacing a live app with the blank starter.
|
package/dist/lib/bundle.js
CHANGED
|
@@ -132729,7 +132729,7 @@ async function waitForDeploy(client, projectId, commitSha) {
|
|
|
132729
132729
|
function urls(projectId, servingUrl) {
|
|
132730
132730
|
return {
|
|
132731
132731
|
live_url: servingUrl,
|
|
132732
|
-
|
|
132732
|
+
logs_command: `${cliInvocation()} logs ${projectId}`
|
|
132733
132733
|
};
|
|
132734
132734
|
}
|
|
132735
132735
|
function registerGit(program2) {
|
|
@@ -132774,7 +132774,7 @@ function registerGit(program2) {
|
|
|
132774
132774
|
} else {
|
|
132775
132775
|
success(`Deployed ${connection.repo}@${commitSha.slice(0, 7)}`);
|
|
132776
132776
|
info(`Status: ${connection.last_status}`);
|
|
132777
|
-
info(`Logs: ${dim(links.
|
|
132777
|
+
info(`Logs: ${dim(links.logs_command)}`);
|
|
132778
132778
|
if (links.live_url)
|
|
132779
132779
|
info(`Live: ${teal(links.live_url)}`);
|
|
132780
132780
|
}
|
|
@@ -132806,7 +132806,7 @@ function registerGit(program2) {
|
|
|
132806
132806
|
info(`Status: ${connection.last_status || "waiting for first deploy"}`);
|
|
132807
132807
|
if (connection.last_error)
|
|
132808
132808
|
info(`Error: ${connection.last_error}`);
|
|
132809
|
-
info(`Logs: ${dim(links.
|
|
132809
|
+
info(`Logs: ${dim(links.logs_command)}`);
|
|
132810
132810
|
if (links.live_url)
|
|
132811
132811
|
info(`Live: ${teal(links.live_url)}`);
|
|
132812
132812
|
console.log("");
|
|
@@ -132855,7 +132855,7 @@ var init_git = __esm({
|
|
|
132855
132855
|
init_output();
|
|
132856
132856
|
init_project_urls();
|
|
132857
132857
|
init_link_hint();
|
|
132858
|
-
DASHBOARD = "https://somewhere.cloud/
|
|
132858
|
+
DASHBOARD = "https://somewhere.cloud/app";
|
|
132859
132859
|
INSTALL_TIMEOUT_MS = 5 * 6e4;
|
|
132860
132860
|
DEPLOY_POLL_MS = 1500;
|
|
132861
132861
|
__name(sleep2, "sleep");
|