@stacksjs/ts-cloud 0.7.97 → 0.7.98
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/dist/bin/cli.js +253 -253
- package/dist/bin/dashboard-server.js +155 -155
- package/dist/{chunk-nxd11h4w.js → chunk-1x4xrdkt.js} +1 -1
- package/dist/{chunk-5sgrbjvs.js → chunk-89kbfd6c.js} +5 -3
- package/dist/deploy/index.js +2 -2
- package/dist/drivers/index.js +1 -1
- package/dist/index.js +2 -2
- package/dist/ui/access-denied.html +2 -2
- package/dist/ui/account/automation.html +4 -4
- package/dist/ui/account/security.html +2 -2
- package/dist/ui/applications/compose.html +4 -4
- package/dist/ui/applications/new.html +2 -2
- package/dist/ui/data/backups.html +4 -4
- package/dist/ui/data/services.html +4 -4
- package/dist/ui/data/volumes.html +4 -4
- package/dist/ui/index.html +3 -3
- package/dist/ui/integrations.html +2 -2
- package/dist/ui/operations/alerts.html +4 -4
- package/dist/ui/operations/configuration.html +3 -3
- package/dist/ui/operations/jobs.html +4 -4
- package/dist/ui/operations/maintenance.html +3 -3
- package/dist/ui/operations/observability.html +4 -4
- package/dist/ui/operations/previews.html +4 -4
- package/dist/ui/operations/queue.html +4 -4
- package/dist/ui/operations/regions.html +4 -4
- package/dist/ui/operations/releases.html +3 -3
- package/dist/ui/operations/workloads.html +4 -4
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +3 -3
- package/dist/ui/server/activity.html +2 -2
- package/dist/ui/server/capacity.html +4 -4
- package/dist/ui/server/database.html +4 -4
- package/dist/ui/server/deployments.html +4 -4
- package/dist/ui/server/diagnostics.html +2 -2
- package/dist/ui/server/firewall.html +4 -4
- package/dist/ui/server/fleet.html +4 -4
- package/dist/ui/server/logs.html +4 -4
- package/dist/ui/server/metrics.html +4 -4
- package/dist/ui/server/security.html +2 -2
- package/dist/ui/server/services.html +2 -2
- package/dist/ui/server/sites.html +4 -4
- package/dist/ui/server/ssh-keys.html +4 -4
- package/dist/ui/server/team.html +3 -3
- package/dist/ui/server/terminal.html +2 -2
- package/dist/ui/serverless/alarms.html +4 -4
- package/dist/ui/serverless/assets.html +2 -2
- package/dist/ui/serverless/cost.html +2 -2
- package/dist/ui/serverless/data.html +4 -4
- package/dist/ui/serverless/firewall.html +2 -2
- package/dist/ui/serverless/functions.html +4 -4
- package/dist/ui/serverless/logs.html +4 -4
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +4 -4
- package/dist/ui/serverless/secrets.html +3 -3
- package/dist/ui/serverless/traces.html +4 -4
- package/dist/ui/serverless.html +4 -4
- package/package.json +3 -3
|
@@ -2478,7 +2478,7 @@ class AwsDriver {
|
|
|
2478
2478
|
}
|
|
2479
2479
|
|
|
2480
2480
|
// src/drivers/hetzner/driver.ts
|
|
2481
|
-
import { execSync } from "node:child_process";
|
|
2481
|
+
import { execFileSync, execSync } from "node:child_process";
|
|
2482
2482
|
import { randomUUID } from "node:crypto";
|
|
2483
2483
|
import { existsSync, readFileSync as readFileSync2 } from "node:fs";
|
|
2484
2484
|
|
|
@@ -3692,6 +3692,8 @@ class HetznerDriver {
|
|
|
3692
3692
|
const pinned = [];
|
|
3693
3693
|
for (const id of pinnedIds) {
|
|
3694
3694
|
const server = servers2.find((candidate) => candidate.id === id) ?? await this.tryGetServer(id);
|
|
3695
|
+
if (id === state?.serverId && state.serverName && server?.name !== state.serverName)
|
|
3696
|
+
continue;
|
|
3695
3697
|
if (server && server.status !== "off")
|
|
3696
3698
|
pinned.push(server);
|
|
3697
3699
|
}
|
|
@@ -3957,10 +3959,10 @@ ${out}`);
|
|
|
3957
3959
|
}
|
|
3958
3960
|
}
|
|
3959
3961
|
sshExec(host, script) {
|
|
3960
|
-
const escaped = script.replace(/'/g, `'\\''`);
|
|
3961
3962
|
try {
|
|
3962
|
-
return
|
|
3963
|
+
return execFileSync("ssh", [...this.sshBaseArgs(host), "bash -s"], {
|
|
3963
3964
|
encoding: "utf8",
|
|
3965
|
+
input: script,
|
|
3964
3966
|
stdio: ["pipe", "pipe", "pipe"],
|
|
3965
3967
|
maxBuffer: SSH_MAX_BUFFER
|
|
3966
3968
|
});
|
package/dist/deploy/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
synchronizeDashboardUsers,
|
|
31
31
|
trackDashboardOperation,
|
|
32
32
|
verifyStaticApiOrigin
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-1x4xrdkt.js";
|
|
34
34
|
import {
|
|
35
35
|
deleteStaticSite,
|
|
36
36
|
deployStaticSite,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
siteInstallBase,
|
|
71
71
|
validateDeploymentConfig,
|
|
72
72
|
verifyAddressRecord
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-89kbfd6c.js";
|
|
74
74
|
import"../chunk-c6db5m63.js";
|
|
75
75
|
import"../chunk-7m60qnc8.js";
|
|
76
76
|
import"../chunk-4cjrg98a.js";
|
package/dist/drivers/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -283,7 +283,7 @@ import {
|
|
|
283
283
|
volumeCapabilities,
|
|
284
284
|
webhookEndpoint,
|
|
285
285
|
zeroCapacity
|
|
286
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-1x4xrdkt.js";
|
|
287
287
|
import {
|
|
288
288
|
deleteStaticSite,
|
|
289
289
|
deployStaticSite,
|
|
@@ -405,7 +405,7 @@ import {
|
|
|
405
405
|
waitForCloudInit,
|
|
406
406
|
waitForSsh,
|
|
407
407
|
wrapCloudInitUserData
|
|
408
|
-
} from "./chunk-
|
|
408
|
+
} from "./chunk-89kbfd6c.js";
|
|
409
409
|
import {
|
|
410
410
|
ABTestManager,
|
|
411
411
|
AI,
|