@stacksjs/ts-cloud 0.7.117 → 0.7.119
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 +413 -413
- package/dist/{chunk-adz3ffn0.js → chunk-8xezrv4z.js} +1 -1
- package/dist/{chunk-rfm32pqg.js → chunk-nm1d3a75.js} +4 -1
- package/dist/deploy/index.js +6 -2
- package/dist/deploy/site-target.d.ts +4 -0
- 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 +3 -3
- package/dist/ui/applications/compose.html +3 -3
- package/dist/ui/data/backups.html +3 -3
- 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/infrastructure/topology.html +4 -4
- package/dist/ui/integrations.html +2 -2
- package/dist/ui/operations/alerts.html +3 -3
- package/dist/ui/operations/configuration.html +4 -4
- package/dist/ui/operations/jobs.html +3 -3
- 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 +4 -4
- package/dist/ui/operations/spend.html +4 -4
- 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 +3 -3
- 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 +3 -3
- 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/data.html +4 -4
- package/dist/ui/serverless/deployments.html +2 -2
- package/dist/ui/serverless/firewall.html +2 -2
- package/dist/ui/serverless/functions.html +4 -4
- package/dist/ui/serverless/logs.html +3 -3
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +4 -4
- package/dist/ui/serverless/secrets.html +4 -4
- package/dist/ui/serverless/traces.html +4 -4
- package/dist/ui/serverless.html +4 -4
- package/package.json +3 -3
|
@@ -1480,6 +1480,9 @@ function shipsARelease(site) {
|
|
|
1480
1480
|
const kind = resolveSiteKind(site);
|
|
1481
1481
|
return kind !== "bucket" && kind !== "redirect" && kind !== "proxy";
|
|
1482
1482
|
}
|
|
1483
|
+
function shipsToBucket(site) {
|
|
1484
|
+
return resolveSiteKind(site) === "bucket";
|
|
1485
|
+
}
|
|
1483
1486
|
function deployShipsFiles(config, onlySite) {
|
|
1484
1487
|
if (resolveDeploymentMode(config) === "serverless")
|
|
1485
1488
|
return true;
|
|
@@ -7055,4 +7058,4 @@ function buildCloudFrontOriginConfig(options) {
|
|
|
7055
7058
|
CustomErrorResponses: { Quantity: 0 }
|
|
7056
7059
|
};
|
|
7057
7060
|
}
|
|
7058
|
-
export { collectServerDnsDomains, removeStaleServerAddressRecords, normalizePublicIpv6, IPV6_EXCLUDED_HOST_LABELS, hostAcceptsIpv6, reconcileAddressRecords, verifyAddressRecord, PANTRY_PROJECT_DIR, buildPantryBootstrapScript, buildVitessProvisionScript, pgAdminCommand, BACKUP_RUNNER_PATH, buildBackupRestoreScript, siteInstallBase, isPhpSite, resolveProxyUpstreams, hasProxyUpstream, resolveSiteDeployTarget, resolveSiteKind, validateDeploymentConfig, shipsARelease, deployShipsFiles, DEFAULT_RPX_CERTS_DIR, normalizeRoutePath, deriveRouteId, buildRpxConfig, buildRpxLbConfig, renderRpxLauncher, RPX_DIR, RPX_LAUNCHER_PATH, RPX_SERVICE_NAME, buildRpxProvisionScript, buildRpxFragmentRefreshScript, buildUbuntuBootstrapScript, AwsDriver, resolveHetznerLocation, HetznerClient, resolveHetznerApiToken2 as resolveHetznerApiToken, normalizeSshPublicKey, wrapCloudInitUserData, HetznerDriver, LocalBoxDriver, isBoxMode, createCloudDriver, CloudDriverFactory, cloudDrivers, planHetznerServerResize, isHetznerCapacityError, executeHetznerServerResize, buildSshArgs, sshExec, sshExecOrThrow, scpUpload, waitForSsh, waitForCloudInit, collectHetznerResizeManifest, prepareHetznerResize, verifyHetznerResize, resolveHetznerHostOptimizationPlan, buildHetznerHostOptimizationScript, applyHetznerHostOptimization, collectHetznerHostOptimizationReport, verifyHetznerHostOptimization, resizeCheckpointPath, resizeLockPath, readResizeCheckpoint, writeResizeCheckpoint, acquireResizeLock, ensureSshKey, ensureFirewall, ensureServer, serverPublicIpv4, UBUNTU_2404_AMI_PARAM, buildBoxUserData, HetznerBoxProvisioner, AwsBoxProvisioner, createBoxProvisioner, releasePaths, buildRollbackScript, resolveExecStart, buildSiteDeployScript, buildStaticSiteDeployScript, releaseTarballTmpPath, buildAwsArtifactFetch, buildLocalArtifactFetch, buildHostCleanupScript, MANAGEMENT_DASHBOARD_SITE, dashboardCredentialsFile, resolveDashboardAuth, resolveUiSource, ensureManagementDashboard, buildManagementDashboardArtifact, resolveSiteFramework, deploySiteRelease, deployAllComputeSites, reloadRpxGateway, renewRpxCertificates, MANAGED_CACHE_POLICY_OPTIMIZED, MANAGED_CACHE_POLICY_DISABLED, MANAGED_ORIGIN_REQUEST_POLICY_ALL_VIEWER, buildCloudFrontOriginConfig };
|
|
7061
|
+
export { collectServerDnsDomains, removeStaleServerAddressRecords, normalizePublicIpv6, IPV6_EXCLUDED_HOST_LABELS, hostAcceptsIpv6, reconcileAddressRecords, verifyAddressRecord, PANTRY_PROJECT_DIR, buildPantryBootstrapScript, buildVitessProvisionScript, pgAdminCommand, BACKUP_RUNNER_PATH, buildBackupRestoreScript, siteInstallBase, isPhpSite, resolveProxyUpstreams, hasProxyUpstream, resolveSiteDeployTarget, resolveSiteKind, hasComputeConfigured, validateDeploymentConfig, shipsARelease, shipsToBucket, deployShipsFiles, DEFAULT_RPX_CERTS_DIR, normalizeRoutePath, deriveRouteId, buildRpxConfig, buildRpxLbConfig, renderRpxLauncher, RPX_DIR, RPX_LAUNCHER_PATH, RPX_SERVICE_NAME, buildRpxProvisionScript, buildRpxFragmentRefreshScript, buildUbuntuBootstrapScript, AwsDriver, resolveHetznerLocation, HetznerClient, resolveHetznerApiToken2 as resolveHetznerApiToken, normalizeSshPublicKey, wrapCloudInitUserData, HetznerDriver, LocalBoxDriver, isBoxMode, createCloudDriver, CloudDriverFactory, cloudDrivers, planHetznerServerResize, isHetznerCapacityError, executeHetznerServerResize, buildSshArgs, sshExec, sshExecOrThrow, scpUpload, waitForSsh, waitForCloudInit, collectHetznerResizeManifest, prepareHetznerResize, verifyHetznerResize, resolveHetznerHostOptimizationPlan, buildHetznerHostOptimizationScript, applyHetznerHostOptimization, collectHetznerHostOptimizationReport, verifyHetznerHostOptimization, resizeCheckpointPath, resizeLockPath, readResizeCheckpoint, writeResizeCheckpoint, acquireResizeLock, ensureSshKey, ensureFirewall, ensureServer, serverPublicIpv4, UBUNTU_2404_AMI_PARAM, buildBoxUserData, HetznerBoxProvisioner, AwsBoxProvisioner, createBoxProvisioner, releasePaths, buildRollbackScript, resolveExecStart, buildSiteDeployScript, buildStaticSiteDeployScript, releaseTarballTmpPath, buildAwsArtifactFetch, buildLocalArtifactFetch, buildHostCleanupScript, MANAGEMENT_DASHBOARD_SITE, dashboardCredentialsFile, resolveDashboardAuth, resolveUiSource, ensureManagementDashboard, buildManagementDashboardArtifact, resolveSiteFramework, deploySiteRelease, deployAllComputeSites, reloadRpxGateway, renewRpxCertificates, MANAGED_CACHE_POLICY_OPTIMIZED, MANAGED_CACHE_POLICY_DISABLED, MANAGED_ORIGIN_REQUEST_POLICY_ALL_VIEWER, buildCloudFrontOriginConfig };
|
package/dist/deploy/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
synchronizeDashboardUsers,
|
|
37
37
|
trackDashboardOperation,
|
|
38
38
|
verifyStaticApiOrigin
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-8xezrv4z.js";
|
|
40
40
|
import {
|
|
41
41
|
deleteStaticSite,
|
|
42
42
|
deployStaticSite,
|
|
@@ -66,6 +66,7 @@ import {
|
|
|
66
66
|
dashboardCredentialsFile,
|
|
67
67
|
deployShipsFiles,
|
|
68
68
|
ensureManagementDashboard,
|
|
69
|
+
hasComputeConfigured,
|
|
69
70
|
hasProxyUpstream,
|
|
70
71
|
hostAcceptsIpv6,
|
|
71
72
|
isPhpSite,
|
|
@@ -78,10 +79,11 @@ import {
|
|
|
78
79
|
resolveSiteKind,
|
|
79
80
|
resolveUiSource,
|
|
80
81
|
shipsARelease,
|
|
82
|
+
shipsToBucket,
|
|
81
83
|
siteInstallBase,
|
|
82
84
|
validateDeploymentConfig,
|
|
83
85
|
verifyAddressRecord
|
|
84
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-nm1d3a75.js";
|
|
85
87
|
import"../chunk-7m60qnc8.js";
|
|
86
88
|
import"../chunk-4cjrg98a.js";
|
|
87
89
|
import"../chunk-rds0sy87.js";
|
|
@@ -100,6 +102,7 @@ export {
|
|
|
100
102
|
synchronizeDashboardUsers,
|
|
101
103
|
startLocalDashboardServer,
|
|
102
104
|
siteInstallBase,
|
|
105
|
+
shipsToBucket,
|
|
103
106
|
shipsARelease,
|
|
104
107
|
setMaintenance,
|
|
105
108
|
sanitizeCloudConfig,
|
|
@@ -125,6 +128,7 @@ export {
|
|
|
125
128
|
hostAcceptsIpv6,
|
|
126
129
|
hashContainerContext,
|
|
127
130
|
hasProxyUpstream,
|
|
131
|
+
hasComputeConfigured,
|
|
128
132
|
generateStaticSiteTemplate,
|
|
129
133
|
generateExternalDnsStaticSiteTemplate,
|
|
130
134
|
generateExistingStaticFullStackTemplate,
|
|
@@ -66,6 +66,8 @@ export declare function resolveSiteDeployTarget(site: SiteConfig): SiteDeployTar
|
|
|
66
66
|
* - `server` + no `start` → `'server-static'`
|
|
67
67
|
*/
|
|
68
68
|
export declare function resolveSiteKind(site: SiteConfig): SiteDeployKind;
|
|
69
|
+
/** Does this project own a compute server or attach to an owner's server? */
|
|
70
|
+
export declare function hasComputeConfigured(config: CloudConfig): boolean;
|
|
69
71
|
export interface DeploymentValidationResult {
|
|
70
72
|
errors: string[];
|
|
71
73
|
warnings: string[];
|
|
@@ -97,6 +99,8 @@ export declare function validateDeploymentConfig(config: CloudConfig): Deploymen
|
|
|
97
99
|
* regenerated from the full `sites` model, not from this list.
|
|
98
100
|
*/
|
|
99
101
|
export declare function shipsARelease(site: SiteConfig): boolean;
|
|
102
|
+
/** Does the static object-storage pipeline own this site? */
|
|
103
|
+
export declare function shipsToBucket(site: SiteConfig): boolean;
|
|
100
104
|
/**
|
|
101
105
|
* Does this deploy put any file from the working tree onto a server or into a
|
|
102
106
|
* bucket?
|
package/dist/drivers/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
verifyUpdateSignature,
|
|
209
209
|
webhookEndpoint,
|
|
210
210
|
zeroCapacity
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-8xezrv4z.js";
|
|
212
212
|
import {
|
|
213
213
|
deleteStaticSite,
|
|
214
214
|
deployStaticSite,
|
|
@@ -341,7 +341,7 @@ import {
|
|
|
341
341
|
waitForCloudInit,
|
|
342
342
|
waitForSsh,
|
|
343
343
|
wrapCloudInitUserData
|
|
344
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-nm1d3a75.js";
|
|
345
345
|
import {
|
|
346
346
|
EC2Client,
|
|
347
347
|
SSMClient
|