@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.
Files changed (56) hide show
  1. package/dist/bin/cli.js +413 -413
  2. package/dist/{chunk-adz3ffn0.js → chunk-8xezrv4z.js} +1 -1
  3. package/dist/{chunk-rfm32pqg.js → chunk-nm1d3a75.js} +4 -1
  4. package/dist/deploy/index.js +6 -2
  5. package/dist/deploy/site-target.d.ts +4 -0
  6. package/dist/drivers/index.js +1 -1
  7. package/dist/index.js +2 -2
  8. package/dist/ui/access-denied.html +2 -2
  9. package/dist/ui/account/automation.html +3 -3
  10. package/dist/ui/applications/compose.html +3 -3
  11. package/dist/ui/data/backups.html +3 -3
  12. package/dist/ui/data/services.html +4 -4
  13. package/dist/ui/data/volumes.html +4 -4
  14. package/dist/ui/index.html +3 -3
  15. package/dist/ui/infrastructure/topology.html +4 -4
  16. package/dist/ui/integrations.html +2 -2
  17. package/dist/ui/operations/alerts.html +3 -3
  18. package/dist/ui/operations/configuration.html +4 -4
  19. package/dist/ui/operations/jobs.html +3 -3
  20. package/dist/ui/operations/maintenance.html +3 -3
  21. package/dist/ui/operations/observability.html +4 -4
  22. package/dist/ui/operations/previews.html +4 -4
  23. package/dist/ui/operations/queue.html +4 -4
  24. package/dist/ui/operations/regions.html +4 -4
  25. package/dist/ui/operations/releases.html +4 -4
  26. package/dist/ui/operations/spend.html +4 -4
  27. package/dist/ui/operations/workloads.html +4 -4
  28. package/dist/ui/security.html +2 -2
  29. package/dist/ui/server/actions.html +3 -3
  30. package/dist/ui/server/activity.html +2 -2
  31. package/dist/ui/server/capacity.html +3 -3
  32. package/dist/ui/server/database.html +4 -4
  33. package/dist/ui/server/deployments.html +4 -4
  34. package/dist/ui/server/diagnostics.html +2 -2
  35. package/dist/ui/server/firewall.html +4 -4
  36. package/dist/ui/server/fleet.html +4 -4
  37. package/dist/ui/server/logs.html +4 -4
  38. package/dist/ui/server/metrics.html +4 -4
  39. package/dist/ui/server/security.html +2 -2
  40. package/dist/ui/server/services.html +2 -2
  41. package/dist/ui/server/sites.html +4 -4
  42. package/dist/ui/server/ssh-keys.html +3 -3
  43. package/dist/ui/server/team.html +3 -3
  44. package/dist/ui/server/terminal.html +2 -2
  45. package/dist/ui/serverless/alarms.html +4 -4
  46. package/dist/ui/serverless/data.html +4 -4
  47. package/dist/ui/serverless/deployments.html +2 -2
  48. package/dist/ui/serverless/firewall.html +2 -2
  49. package/dist/ui/serverless/functions.html +4 -4
  50. package/dist/ui/serverless/logs.html +3 -3
  51. package/dist/ui/serverless/metrics.html +2 -2
  52. package/dist/ui/serverless/queues.html +4 -4
  53. package/dist/ui/serverless/secrets.html +4 -4
  54. package/dist/ui/serverless/traces.html +4 -4
  55. package/dist/ui/serverless.html +4 -4
  56. package/package.json +3 -3
@@ -50,7 +50,7 @@ import {
50
50
  resolveSiteKind,
51
51
  resolveUiSource,
52
52
  siteInstallBase
53
- } from "./chunk-rfm32pqg.js";
53
+ } from "./chunk-nm1d3a75.js";
54
54
  import {
55
55
  SSMClient
56
56
  } from "./chunk-7m60qnc8.js";
@@ -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 };
@@ -36,7 +36,7 @@ import {
36
36
  synchronizeDashboardUsers,
37
37
  trackDashboardOperation,
38
38
  verifyStaticApiOrigin
39
- } from "../chunk-adz3ffn0.js";
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-rfm32pqg.js";
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?
@@ -68,7 +68,7 @@ import {
68
68
  waitForSsh,
69
69
  wrapCloudInitUserData,
70
70
  writeResizeCheckpoint
71
- } from "../chunk-rfm32pqg.js";
71
+ } from "../chunk-nm1d3a75.js";
72
72
  import"../chunk-7m60qnc8.js";
73
73
  import"../chunk-4cjrg98a.js";
74
74
  import"../chunk-rds0sy87.js";
package/dist/index.js CHANGED
@@ -208,7 +208,7 @@ import {
208
208
  verifyUpdateSignature,
209
209
  webhookEndpoint,
210
210
  zeroCapacity
211
- } from "./chunk-adz3ffn0.js";
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-rfm32pqg.js";
344
+ } from "./chunk-nm1d3a75.js";
345
345
  import {
346
346
  EC2Client,
347
347
  SSMClient