@stacksjs/ts-cloud 0.7.66 → 0.7.67
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/cli.js +4 -4
- package/dist/{chunk-gcsv7g83.js → chunk-ef2dwfrg.js} +3 -3
- package/dist/{chunk-001z7khv.js → chunk-gttvakpv.js} +12 -6
- package/dist/{chunk-tzqng3ae.js → chunk-n59was4s.js} +1 -1
- package/dist/{chunk-z3bakpnh.js → chunk-s9c2x5jv.js} +2 -2
- package/dist/deploy/index.js +3 -3
- package/dist/dns/index.js +1 -1
- package/dist/index.js +3 -3
- package/dist/ui/access-denied.html +2 -2
- package/dist/ui/account/automation.html +3 -3
- 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 +4 -4
- package/dist/ui/operations/jobs.html +4 -4
- package/dist/ui/operations/maintenance.html +4 -4
- package/dist/ui/operations/observability.html +4 -4
- package/dist/ui/operations/previews.html +3 -3
- 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/workloads.html +4 -4
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +4 -4
- 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 +4 -4
- 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/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 +4 -4
- package/dist/ui/serverless/traces.html +4 -4
- package/dist/ui/serverless.html +4 -4
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Route53Provider,
|
|
8
8
|
UnifiedDnsValidator,
|
|
9
9
|
createDnsProvider
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-gttvakpv.js";
|
|
11
11
|
import {
|
|
12
12
|
CloudFormationClient
|
|
13
13
|
} from "./chunk-4cjrg98a.js";
|
|
@@ -815,7 +815,7 @@ async function deployStaticSiteWithExternalDnsFull(config) {
|
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
onProgress?.("upload", "Uploading files to S3...");
|
|
818
|
-
const { uploadStaticFiles } = await import("./chunk-
|
|
818
|
+
const { uploadStaticFiles } = await import("./chunk-s9c2x5jv.js");
|
|
819
819
|
const uploadResult = await uploadStaticFiles({
|
|
820
820
|
sourceDir,
|
|
821
821
|
bucket: infraResult.bucket,
|
|
@@ -835,7 +835,7 @@ async function deployStaticSiteWithExternalDnsFull(config) {
|
|
|
835
835
|
}
|
|
836
836
|
if (infraResult.distributionId && uploadResult.uploaded > 0) {
|
|
837
837
|
onProgress?.("invalidate", "Invalidating CloudFront cache...");
|
|
838
|
-
const { invalidateCache } = await import("./chunk-
|
|
838
|
+
const { invalidateCache } = await import("./chunk-s9c2x5jv.js");
|
|
839
839
|
await invalidateCache(infraResult.distributionId);
|
|
840
840
|
}
|
|
841
841
|
onProgress?.("complete", "Deployment complete!");
|
|
@@ -869,8 +869,14 @@ class Route53Provider {
|
|
|
869
869
|
}
|
|
870
870
|
return null;
|
|
871
871
|
}
|
|
872
|
-
normalizeName(name) {
|
|
873
|
-
|
|
872
|
+
normalizeName(domain, name) {
|
|
873
|
+
const zone = domain.replace(/\.$/, "");
|
|
874
|
+
const record = name.replace(/\.$/, "");
|
|
875
|
+
if (!record || record === "@")
|
|
876
|
+
return `${zone}.`;
|
|
877
|
+
if (record === zone || record.endsWith(`.${zone}`))
|
|
878
|
+
return `${record}.`;
|
|
879
|
+
return `${record}.${zone}.`;
|
|
874
880
|
}
|
|
875
881
|
async createRecord(domain, record) {
|
|
876
882
|
try {
|
|
@@ -881,7 +887,7 @@ class Route53Provider {
|
|
|
881
887
|
message: `No hosted zone found for domain: ${domain}`
|
|
882
888
|
};
|
|
883
889
|
}
|
|
884
|
-
const recordName = this.normalizeName(record.name);
|
|
890
|
+
const recordName = this.normalizeName(domain, record.name);
|
|
885
891
|
let recordValue = record.content;
|
|
886
892
|
if (record.type === "TXT" && !recordValue.startsWith('"')) {
|
|
887
893
|
recordValue = `"${recordValue}"`;
|
|
@@ -927,7 +933,7 @@ class Route53Provider {
|
|
|
927
933
|
message: `No hosted zone found for domain: ${domain}`
|
|
928
934
|
};
|
|
929
935
|
}
|
|
930
|
-
const recordName = this.normalizeName(record.name);
|
|
936
|
+
const recordName = this.normalizeName(domain, record.name);
|
|
931
937
|
let recordValue = record.content;
|
|
932
938
|
if (record.type === "TXT" && !recordValue.startsWith('"')) {
|
|
933
939
|
recordValue = `"${recordValue}"`;
|
|
@@ -973,7 +979,7 @@ class Route53Provider {
|
|
|
973
979
|
message: `No hosted zone found for domain: ${domain}`
|
|
974
980
|
};
|
|
975
981
|
}
|
|
976
|
-
const recordName = this.normalizeName(record.name);
|
|
982
|
+
const recordName = this.normalizeName(domain, record.name);
|
|
977
983
|
let recordValue = record.content;
|
|
978
984
|
if (record.type === "TXT" && !recordValue.startsWith('"')) {
|
|
979
985
|
recordValue = `"${recordValue}"`;
|
|
@@ -1091,7 +1097,7 @@ class Route53Provider {
|
|
|
1091
1097
|
}
|
|
1092
1098
|
const result = await this.client.createAliasRecord({
|
|
1093
1099
|
HostedZoneId: hostedZoneId,
|
|
1094
|
-
Name: this.normalizeName(params.name),
|
|
1100
|
+
Name: this.normalizeName(params.domain, params.name),
|
|
1095
1101
|
TargetHostedZoneId: params.targetHostedZoneId,
|
|
1096
1102
|
TargetDNSName: params.targetDnsName,
|
|
1097
1103
|
EvaluateTargetHealth: params.evaluateTargetHealth,
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
generateStaticSiteTemplate,
|
|
6
6
|
invalidateCache,
|
|
7
7
|
uploadStaticFiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ef2dwfrg.js";
|
|
9
9
|
import"./chunk-01d86gt1.js";
|
|
10
|
-
import"./chunk-
|
|
10
|
+
import"./chunk-gttvakpv.js";
|
|
11
11
|
import"./chunk-4cjrg98a.js";
|
|
12
12
|
import"./chunk-32e7ya18.js";
|
|
13
13
|
import"./chunk-wj3s95p9.js";
|
package/dist/deploy/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
synchronizeDashboardUsers,
|
|
33
33
|
trackDashboardOperation,
|
|
34
34
|
verifyStaticApiOrigin
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-n59was4s.js";
|
|
36
36
|
import {
|
|
37
37
|
deleteStaticSite,
|
|
38
38
|
deployStaticSite,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
generateStaticSiteTemplate,
|
|
44
44
|
invalidateCache,
|
|
45
45
|
uploadStaticFiles
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-ef2dwfrg.js";
|
|
47
47
|
import {
|
|
48
48
|
buildAndPushServerlessImage
|
|
49
49
|
} from "../chunk-28vh1h91.js";
|
|
@@ -51,7 +51,7 @@ import"../chunk-ybcz6sxc.js";
|
|
|
51
51
|
import"../chunk-01d86gt1.js";
|
|
52
52
|
import"../chunk-50jpda9q.js";
|
|
53
53
|
import"../chunk-he9a874b.js";
|
|
54
|
-
import"../chunk-
|
|
54
|
+
import"../chunk-gttvakpv.js";
|
|
55
55
|
import {
|
|
56
56
|
MANAGEMENT_DASHBOARD_SITE,
|
|
57
57
|
buildManagementDashboardArtifact,
|
package/dist/dns/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
volumeCapabilities,
|
|
286
286
|
webhookEndpoint,
|
|
287
287
|
zeroCapacity
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-n59was4s.js";
|
|
289
289
|
import {
|
|
290
290
|
deleteStaticSite,
|
|
291
291
|
deployStaticSite,
|
|
@@ -296,7 +296,7 @@ import {
|
|
|
296
296
|
generateStaticSiteTemplate,
|
|
297
297
|
invalidateCache,
|
|
298
298
|
uploadStaticFiles
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-ef2dwfrg.js";
|
|
300
300
|
import {
|
|
301
301
|
buildAndPushServerlessImage
|
|
302
302
|
} from "./chunk-28vh1h91.js";
|
|
@@ -361,7 +361,7 @@ import {
|
|
|
361
361
|
createRoute53Validator,
|
|
362
362
|
detectDnsProvider,
|
|
363
363
|
dnsProviders
|
|
364
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-gttvakpv.js";
|
|
365
365
|
import {
|
|
366
366
|
AwsDriver,
|
|
367
367
|
CloudDriverFactory,
|