ReviewOS

also looking at this

stacks/ts-cloud

feat(operations): fleet inventory, attach preflight, and the exports that were missing

#192
Merged glennmichael123 wants to merge feat/fleet-inventory-and-attach-preflight into main
11 files +1313 -5
packages/ts-cloud/src/index.tsmodified+16-0
Changes to packages/ts-cloud/src/index.ts
@@ -1,4 +1,5 @@
11export * from './config'
2export * from './operations'
23export * from './auth'
34export * from './automation'
45export * from './api'
@@ -260,7 +261,22 @@ export {
260261 resolveSiteDeployTarget,
261262 resolveSiteKind,
262263 shipsARelease,
264 siteInstallBase,
263265 validateDeploymentConfig,
266 // Co-tenancy on a shared box: the ports the host already serves and for whom,
267 // and the config editors that write an attach back. Reachable only since
268 // https://github.com/stacksjs/ts-cloud/issues/191.
269 addSiteToCloudConfig,
270 allocateSitePorts,
271 buildHostSitePortsScript,
272 HOST_SITES_DIR,
273 occupiedHostPorts,
274 parseHostSiteFragments,
275 parseUpstreamPort,
276 removeSiteFromCloudConfig,
277 setAttachToInCloudConfig,
278 setSitePropertyInCloudConfig,
279 updateSiteInCloudConfig,
264280 // Serverless application pipeline (Laravel-Vapor-equivalent)
265281 buildAndPushServerlessImage,
266282 buildFunctionEnv,