@stacksjs/ts-cloud 0.16.5 → 0.16.7
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/aws/index.js +1 -1
- package/dist/bin/{chunk-k9pb99tr.js → chunk-2tdt4xsv.js} +1 -1
- package/dist/bin/{chunk-ryhfvrsd.js → chunk-4v6y0dzc.js} +4 -4
- package/dist/bin/{chunk-x9ab1xz8.js → chunk-71ah0fk2.js} +1 -1
- package/dist/bin/chunk-czzczndx.js +2 -0
- package/dist/bin/{chunk-b48j6k55.js → chunk-deb7ws59.js} +1 -1
- package/dist/bin/{chunk-e1cxh9rj.js → chunk-gky64tr9.js} +2 -2
- package/dist/bin/{chunk-tkzz82s5.js → chunk-ph1n2es7.js} +7 -7
- package/dist/bin/{chunk-p197a99s.js → chunk-rs2d8nj2.js} +2 -2
- package/dist/bin/{chunk-xvn07b0e.js → chunk-v6mysz8x.js} +1 -1
- package/dist/bin/chunk-v8y0g7r7.js +1 -0
- package/dist/bin/{chunk-x4gsw45d.js → chunk-vfmad47g.js} +4 -4
- package/dist/bin/chunk-xe48f17b.js +1 -0
- package/dist/bin/{chunk-8dzsrbs1.js → chunk-zzwrhtmp.js} +13 -13
- package/dist/bin/cli.js +251 -251
- package/dist/bin/dashboard-server.js +1 -1
- package/dist/{chunk-sxtgx8fj.js → chunk-30504159.js} +15 -15
- package/dist/{chunk-srh0ctd4.js → chunk-3nccgrzf.js} +2 -2
- package/dist/{chunk-yqfkq6q7.js → chunk-7rygewtr.js} +1 -1
- package/dist/{chunk-6w827jkt.js → chunk-910yrha7.js} +143 -143
- package/dist/{chunk-q4bk0htq.js → chunk-9rkyxwex.js} +3 -3
- package/dist/{chunk-c3pvfcme.js → chunk-dbzveymg.js} +65 -65
- package/dist/{chunk-trsaqsgv.js → chunk-f5mqecfk.js} +2 -2
- package/dist/{chunk-nnfdz28e.js → chunk-fjqx22m1.js} +1 -1
- package/dist/chunk-my2adp07.js +2 -0
- package/dist/{chunk-t054j0zn.js → chunk-ndm0r1vb.js} +2 -2
- package/dist/{chunk-phr1cqgf.js → chunk-pnjajqyw.js} +1 -1
- package/dist/{chunk-bqtyqcj4.js → chunk-r7x7y3ha.js} +35 -35
- package/dist/{chunk-f0t7y458.js → chunk-rr1hqfyy.js} +4 -4
- package/dist/chunk-smmss8qy.js +1 -0
- package/dist/{chunk-f27a8et2.js → chunk-v99q99bs.js} +1 -1
- package/dist/{chunk-bvspqd2m.js → chunk-w41zkaey.js} +1 -1
- package/dist/{chunk-fgww8ya2.js → chunk-wkbk6pdg.js} +18 -18
- package/dist/{chunk-hhy358y8.js → chunk-wp6pg5sx.js} +3 -3
- package/dist/chunk-y2s8wcdg.js +1 -0
- package/dist/deploy/index.js +1 -1
- package/dist/dns/delegation.d.ts +17 -1
- package/dist/dns/index.js +1 -1
- package/dist/dns/route53-adapter.d.ts +14 -0
- package/dist/drivers/index.js +1 -1
- package/dist/index.js +32 -23
- package/dist/operations/index.js +1 -1
- package/dist/protection/index.js +1 -1
- package/dist/spend/index.js +1 -1
- package/dist/ssl/dns01-challenge.test.d.ts +1 -0
- package/dist/ssl/letsencrypt.d.ts +17 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/accept-invitation.html +1 -1
- package/dist/ui/access-denied.html +1 -1
- package/dist/ui/account/automation.html +6 -6
- package/dist/ui/account/security.html +2 -2
- package/dist/ui/applications/compose.html +6 -6
- package/dist/ui/applications/new.html +2 -2
- package/dist/ui/data/backups.html +6 -6
- package/dist/ui/data/services.html +6 -6
- package/dist/ui/data/volumes.html +6 -6
- package/dist/ui/index.html +5 -5
- package/dist/ui/infrastructure/topology.html +5 -5
- package/dist/ui/integrations.html +1 -1
- package/dist/ui/operations/alerts.html +6 -6
- package/dist/ui/operations/configuration.html +6 -6
- package/dist/ui/operations/jobs.html +6 -6
- package/dist/ui/operations/maintenance.html +6 -6
- package/dist/ui/operations/observability.html +6 -6
- package/dist/ui/operations/previews.html +6 -6
- package/dist/ui/operations/queue.html +6 -6
- package/dist/ui/operations/regions.html +6 -6
- package/dist/ui/operations/releases.html +6 -6
- package/dist/ui/operations/spend.html +6 -6
- package/dist/ui/operations/workloads.html +6 -6
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +6 -6
- package/dist/ui/server/activity.html +2 -2
- package/dist/ui/server/capacity.html +6 -6
- package/dist/ui/server/database.html +6 -6
- package/dist/ui/server/deployments.html +5 -5
- package/dist/ui/server/diagnostics.html +2 -2
- package/dist/ui/server/firewall.html +6 -6
- package/dist/ui/server/fleet.html +6 -6
- package/dist/ui/server/logs.html +6 -6
- package/dist/ui/server/metrics.html +5 -5
- package/dist/ui/server/security.html +2 -2
- package/dist/ui/server/services.html +2 -2
- package/dist/ui/server/sites.html +6 -6
- package/dist/ui/server/ssh-keys.html +6 -6
- package/dist/ui/server/team.html +6 -6
- package/dist/ui/server/terminal.html +2 -2
- package/dist/ui/serverless/alarms.html +6 -6
- package/dist/ui/serverless/assets.html +1 -1
- package/dist/ui/serverless/cost.html +2 -2
- package/dist/ui/serverless/data.html +6 -6
- package/dist/ui/serverless/deployments.html +2 -2
- package/dist/ui/serverless/firewall.html +1 -1
- package/dist/ui/serverless/functions.html +5 -5
- package/dist/ui/serverless/logs.html +6 -6
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +5 -5
- package/dist/ui/serverless/secrets.html +6 -6
- package/dist/ui/serverless/traces.html +6 -6
- package/dist/ui/serverless.html +6 -6
- package/package.json +3 -3
- package/dist/bin/chunk-2synp9gh.js +0 -1
- package/dist/bin/chunk-8dt5ehyk.js +0 -1
- package/dist/bin/chunk-p9em7chg.js +0 -2
- package/dist/chunk-11s59686.js +0 -2
- package/dist/chunk-gk5ehe62.js +0 -1
- package/dist/chunk-scy8mzqk.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ta}from"./chunk-fjqx22m1.js";import"./chunk-r5pjnw74.js";import"./chunk-4w8d2mf0.js";import"./chunk-dbzveymg.js";export{Ta as buildAndPushServerlessImage};
|
package/dist/deploy/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Jr,Xr,Dl,Mi,Pl,Nl,kl,sa,Bl,xl,vm,_l,S,Ol,Fi,Pe,Ll,$l,NA,Ml,Tm,kA,BA,xA,wm,Rm,_A,OA,Dm,Pm,LA,Ui,Wt,oa,Yr,Zr,Jt,Je,It,Qi,Nm,en,Fl,Ul,aa,Gi,rn,qi,Ca}from"../chunk-
|
|
1
|
+
import{Jr,Xr,Dl,Mi,Pl,Nl,kl,sa,Bl,xl,vm,_l,S,Ol,Fi,Pe,Ll,$l,NA,Ml,Tm,kA,BA,xA,wm,Rm,_A,OA,Dm,Pm,LA,Ui,Wt,oa,Yr,Zr,Jt,Je,It,Qi,Nm,en,Fl,Ul,aa,Gi,rn,qi,Ca}from"../chunk-910yrha7.js";import{ba,nn,sn,Vi,ji,zi,Ki,Ea,va}from"../chunk-rr1hqfyy.js";import{Ta}from"../chunk-fjqx22m1.js";import"../chunk-wp6pg5sx.js";import"../chunk-3nccgrzf.js";import"../chunk-30504159.js";import"../chunk-r5pjnw74.js";import"../chunk-1bxqrj7m.js";import"../chunk-my2adp07.js";import"../chunk-ndm0r1vb.js";import{ru,Fa,Ae,Ua,yn,nu,Qa,lc,Ss,uc,Nt,zn,Cs}from"../chunk-r7x7y3ha.js";import"../chunk-aszeyg2w.js";import"../chunk-f5mqecfk.js";import"../chunk-t5e5phth.js";import"../chunk-4w8d2mf0.js";import{ot,_h,Ac,Yn,Zn,ei,tp}from"../chunk-v99q99bs.js";import{B,Ir,Sr,yc,vs,u,Oh,rp,np,gy,my}from"../chunk-w41zkaey.js";import"../chunk-wkbk6pdg.js";import"../chunk-dbzveymg.js";export{_h as DEFAULT_SITE_PORT_RANGE,ot as HOST_SITES_DIR,Ua as IPV6_EXCLUDED_HOST_LABELS,lc as MANAGEMENT_DASHBOARD_SITE,Jr as addSiteToCloudConfig,tp as allocateSitePorts,LA as buildAndPushContainerImage,Ta as buildAndPushServerlessImage,Wt as buildFunctionEnv,Zn as buildHostSitePortsScript,Cs as buildManagementDashboardArtifact,It as buildServerTopology,Qi as buildServerlessTopology,Nm as buildTopology,aa as collectEgressMetrics,ru as collectServerDnsDomains,Pm as createContainerImageDependencies,wm as createExistingStaticFullStackDependencies,Tm as createStaticApiOriginDependencies,rn as dashboardActions,Ss as dashboardCredentialsFile,Ll as dashboardPageRoutes,Ea as deleteStaticSite,_A as deployExistingStaticFullStack,oa as deployServerlessApp,my as deployShipsFiles,Ml as deploySite,kA as deployStaticApiOrigin,ji as deployStaticSite,va as deployStaticSiteFull,nn as deployStaticSiteWithExternalDns,sn as deployStaticSiteWithExternalDnsFull,Fl as egressReportMetrics,S as ensureDashboardActor,zn as ensureManagementDashboard,OA as estimateExistingStaticFullStackMonthlyCost,xA as estimateStaticApiOriginMonthlyCost,Ul as fetchEgressReport,Rm as generateExistingStaticFullStackTemplate,ba as generateExternalDnsStaticSiteTemplate,Vi as generateStaticSiteTemplate,Oh as hasComputeConfigured,yc as hasProxyUpstream,Dm as hashContainerContext,yn as hostAcceptsIpv6,Ui as infraEnvFromOutputs,Ol as initializeDashboardControlPlane,Ki as invalidateCache,Ir as isPhpSite,sa as isValidHostname,Ae as normalizePublicIpv6,Yn as occupiedHostPorts,ei as parseHostSiteFragments,Ac as parseUpstreamPort,nu as reconcileAddressRecords,Yr as redeployServerlessApp,Xr as removeSiteFromCloudConfig,Fa as removeStaleServerAddressRecords,Bl as renderAliasesValue,kl as renderEnvValue,xl as renderRedirectsValue,vm as renderSiteSnippet,Pl as renderSslValue,Nl as renderStringValue,qi as resolveDashboardAction,uc as resolveDashboardAuth,en as resolveDashboardData,$l as resolveLegacyDashboardRoute,Sr as resolveProxyUpstreams,vs as resolveSiteDeployTarget,u as resolveSiteKind,Nt as resolveUiSource,Zr as rollbackServerlessApp,NA as routesForDashboard,Je as runRemoteCommand,Gi as sanitizeCloudConfig,_l as setAttachToInCloudConfig,Jt as setMaintenance,Mi as setSitePropertyInCloudConfig,np as shipsARelease,gy as shipsToBucket,B as siteInstallBase,Ca as startLocalDashboardServer,Fi as synchronizeDashboardUsers,Pe as trackDashboardOperation,Dl as updateSiteInCloudConfig,zi as uploadStaticFiles,rp as validateDeploymentConfig,Qa as verifyAddressRecord,BA as verifyStaticApiOrigin};
|
package/dist/dns/delegation.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* here, the destination is the source of truth and the registrar's own records
|
|
26
26
|
* are a stale copy; re-importing them would resurrect anything deleted since.
|
|
27
27
|
*/
|
|
28
|
-
import type { DnsProvider, DnsRecord } from './types';
|
|
28
|
+
import type { DnsProvider, DnsRecord, DnsRecordType } from './types';
|
|
29
29
|
/**
|
|
30
30
|
* A provider that can also change where a domain's nameservers point.
|
|
31
31
|
*
|
|
@@ -104,6 +104,22 @@ export interface DelegationReport {
|
|
|
104
104
|
}
|
|
105
105
|
/** Nameserver sets, compared as sets — order and trailing dots are noise. */
|
|
106
106
|
export declare function sameNameservers(a: string[], b: string[]): boolean;
|
|
107
|
+
/**
|
|
108
|
+
* What makes a record this record and not another one at the same name.
|
|
109
|
+
*
|
|
110
|
+
* Name and type alone are not enough: an apex routinely holds an SPF policy
|
|
111
|
+
* and a verification token as two TXT records, a domain has a primary and a
|
|
112
|
+
* backup MX, a name can round-robin over several A records. Keying on
|
|
113
|
+
* name + type collapses each of those to whichever value was written last.
|
|
114
|
+
* Priority counts only where it means something; some registrars report
|
|
115
|
+
* `prio=0` on every record type.
|
|
116
|
+
*/
|
|
117
|
+
export declare function recordIdentity(record: {
|
|
118
|
+
type: DnsRecordType;
|
|
119
|
+
name: string;
|
|
120
|
+
content: string;
|
|
121
|
+
priority?: number | string;
|
|
122
|
+
}): string;
|
|
107
123
|
/**
|
|
108
124
|
* Move `domain` onto `host`, and point `registrar` at it once that is safe.
|
|
109
125
|
*/
|
package/dist/dns/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tt,
|
|
1
|
+
import{tt,se,xe,fe,Tt,hn,rs,ns,nr,ir,fn,sr,is,ss,os,as,z,cs,ds,ls,us,oe,ps,gs,ms,T,$a,An,Ma}from"../chunk-my2adp07.js";import"../chunk-ndm0r1vb.js";import"../chunk-4w8d2mf0.js";export{fe as CloudflareProvider,An as DnsProviderFactory,xe as GoDaddyProvider,tt as PROXIABLE_RECORD_TYPES,se as PorkbunProvider,z as Route53Provider,oe as UnifiedDnsValidator,os as applyDeclaredZoneSettings,ls as applyZoneMigration,T as createDnsProvider,gs as createGoDaddyValidator,ps as createPorkbunValidator,ms as createRoute53Validator,sr as delegateZone,is as delegateZoneFromConfig,ss as describeDelegation,as as describeZoneSettings,$a as detectDnsProvider,Ma as dnsProviders,cs as exportRoute53Zone,nr as isNameserverRegistrar,ir as isZoneHost,ds as planZoneMigration,Tt as policyTag,hn as qualifyName,ns as reconcileDeclaredRecords,rs as resolveDeclaredRecords,fn as sameNameservers,us as verifyZoneParity};
|
|
@@ -22,6 +22,20 @@ export declare class Route53Provider implements DnsProvider {
|
|
|
22
22
|
* Ensure domain name ends with a dot (Route53 requirement)
|
|
23
23
|
*/
|
|
24
24
|
private normalizeName;
|
|
25
|
+
/** A record's value as Route53 stores it: TXT quoted, MX with its priority. */
|
|
26
|
+
private formatValue;
|
|
27
|
+
/**
|
|
28
|
+
* The record set currently at `name`/`type`, or null.
|
|
29
|
+
*
|
|
30
|
+
* Route53 holds one SET per name and type, and its three actions all act on
|
|
31
|
+
* the whole set: CREATE fails if any value is already there, UPSERT replaces
|
|
32
|
+
* every value, DELETE must name the set exactly. Every other provider here
|
|
33
|
+
* treats a record as one value among possibly several, and so does the
|
|
34
|
+
* DnsProvider contract. Reading the set first is what lets create add one
|
|
35
|
+
* value and delete remove one, the way callers (an ACME challenge for a
|
|
36
|
+
* domain and its wildcard, a zone migration) rely on.
|
|
37
|
+
*/
|
|
38
|
+
private currentSet;
|
|
25
39
|
createRecord(domain: string, record: DnsRecord): Promise<CreateRecordResult>;
|
|
26
40
|
upsertRecord(domain: string, record: DnsRecord): Promise<CreateRecordResult>;
|
|
27
41
|
deleteRecord(domain: string, record: DnsRecord): Promise<DeleteRecordResult>;
|
package/dist/drivers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{In,wt,ar,Rt,Sn,Cn,bn,En,au,Ha,
|
|
1
|
+
import{In,wt,ar,Rt,Sn,Cn,bn,En,au,Ha,K,lr,jm,vn,Ga,ye,Ie,_e,N,ur,Tn,pr,ce,qa,wn,Va,Rn,ja,gr,Ka,Oe,W,Wa,rt,Le,$e,nt,Se,As,Ja,cu,du,Xa,lu,it,Dn,Ya,uu,pu,Za,mr,Ce,ec,gu,mu,ys,Pn,st,hu,fu,Au,yu,Iu,Su,Cu,bu,Eu,Nn,kn,Bn,xn,_n,On,Ln,vu,Tu,hr,k,Is,wu,Ru,Du,tc,Pu,Nu,zm,rc,Km,Wm,ku,Bu,Jm,Xm,Ym,nc,xu,Zm,eh,th,$n,Mn,Un,Qn,ic,sc,oc,ac,rh,Hn,Gn,qn,Vn,cc,dc,jn,bs,pc,Kn,gc,nh,ih,sh,oh}from"../chunk-r7x7y3ha.js";import"../chunk-aszeyg2w.js";import"../chunk-f5mqecfk.js";import"../chunk-t5e5phth.js";import"../chunk-4w8d2mf0.js";import"../chunk-w41zkaey.js";import"../chunk-dbzveymg.js";export{ac as AwsBoxProvisioner,ur as AwsDriver,Du as BOOT_PARTITION_LABEL,Is as CloudDriverFactory,Cn as DEFAULT_RPX_CERTS_DIR,Ru as FIRST_BOOT_SCRIPT_PATH,oc as HetznerBoxProvisioner,gr as HetznerClient,Se as HetznerDriver,Wa as LEGACY_DRIVER_STATE_DIR,As as LocalBoxDriver,ih as MANAGED_CACHE_POLICY_DISABLED,nh as MANAGED_CACHE_POLICY_OPTIMIZED,sh as MANAGED_ORIGIN_REQUEST_POLICY_ALL_VIEWER,mu as RASPBERRY_PI_DEFAULT_SWAP_GB,ja as REMOTE_SCRIPT_RUNNER,vn as RPX_DIR,Ga as RPX_LAUNCHER_PATH,ye as RPX_SERVICE_NAME,ec as SSH_BOOTSTRAP_MARKER_DIR,Ce as SSH_BOOTSTRAP_VERSION,st as SSH_DEFAULTS,Ln as SSH_DEPLOY_STORAGE_PATH,cu as SSH_INSECURE_HOST_KEY_OPTS,du as SSH_KEEPALIVE_OPTS,kn as SSH_PREFLIGHT_SCRIPT,vu as SSH_SKIP_BOOTSTRAP_ENV,hr as SshDriver,mr as SystemSshTransport,ic as UBUNTU_2404_AMI_PARAM,th as acquireResizeLock,Jm as applyHetznerHostOptimization,ys as assertArchSupported,Tu as assertSshComputeConfig,cc as buildAwsArtifactFetch,sc as buildBoxUserData,oh as buildCloudFrontOriginConfig,tc as buildCloudInitFirstBoot,Bu as buildHetznerHostOptimizationScript,jn as buildHostCleanupScript,dc as buildLocalArtifactFetch,K as buildRpxConfig,_e as buildRpxFragmentRefreshScript,lr as buildRpxLbConfig,Ie as buildRpxProvisionScript,lu as buildScpArgsFor,Gn as buildSiteDeployScript,Tn as buildSshArgs,Xa as buildSshArgsFor,Pn as buildSshBootstrapScript,qn as buildStaticSiteDeployScript,wu as cloudDrivers,Xm as collectHetznerHostOptimizationReport,rc as collectHetznerResizeManifest,rh as createBoxProvisioner,k as createCloudDriver,pc as deployAllComputeSites,bs as deploySiteRelease,Ha as deriveRouteId,In as describeScriptSyntaxError,rt as driverStateDir,Le as driverStatePath,Mn as ensureFirewall,Un as ensureServer,$n as ensureSshKey,xn as evaluatePreflight,zm as executeHetznerServerResize,pu as findKnownHostKey,On as formatPreflightFindings,wt as formatSshFailure,En as gatewayHostnames,N as generateUbuntuAppCloudInit,bn as hasAutoWwwVariant,Ja as isBoxMode,Nu as isHetznerCapacityError,Sn as isLocalDatabase,uu as knownHostsLine,Ya as knownHostsToken,au as normalizeRoutePath,Oe as normalizeSshPublicKey,Bn as parsePreflightFacts,Pu as planHetznerServerResize,_n as preflightFailed,Km as prepareHetznerResize,$e as readDriverState,Zm as readResizeCheckpoint,Vn as releaseTarballTmpPath,Kn as reloadRpxGateway,Rn as remoteScriptRunner,jm as renderRpxLauncher,gc as renewRpxCertificates,nc as resizeCheckpointPath,xu as resizeLockPath,Hn as resolveExecStart,Ka as resolveHetznerApiToken,ku as resolveHetznerHostOptimizationPlan,Iu as resolveSshHostKeyPolicy,hu as resolveSshHosts,Eu as resolveSshLan,Au as resolveSshPort,yu as resolveSshPrivateKeyPath,Cu as resolveSshProfile,bu as resolveSshPublicIp,Nn as resolveSshSettings,Su as resolveSshSudo,fu as resolveSshUser,Dn as scanHostKey,qa as scpUpload,Qn as serverPublicIpv4,gu as sshBootstrapMarkerPath,pr as sshExec,ce as sshExecOrThrow,it as sshHostKeyFingerprint,Za as sshKnownHostsPath,Rt as summarizeRemoteFailures,ar as surfaceRemoteNotices,Ym as verifyHetznerHostOptimization,Wm as verifyHetznerResize,Va as waitForCloudInit,wn as waitForSsh,W as wrapCloudInitUserData,nt as writeDriverState,eh as writeResizeCheckpoint};
|