@wraps.dev/cli 2.20.1 → 2.20.2
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/cli.js
CHANGED
|
@@ -26588,13 +26588,16 @@ ${pc35.bold("Current Configuration:")}
|
|
|
26588
26588
|
value: "hosting-provider",
|
|
26589
26589
|
label: "Change hosting provider",
|
|
26590
26590
|
hint: metadata.provider === "vercel" ? `Currently: Vercel (${metadata.vercel?.teamSlug || "configured"})` : `Currently: ${metadata.provider} \u2192 Switch to Vercel OIDC, etc.`
|
|
26591
|
-
},
|
|
26592
|
-
{
|
|
26593
|
-
value: "per-domain-config-sets",
|
|
26594
|
-
label: "Per-domain configuration sets",
|
|
26595
|
-
hint: "Create dedicated SES config sets for each additional domain"
|
|
26596
26591
|
}
|
|
26597
26592
|
);
|
|
26593
|
+
const unmigratedCount = (metadata.services.email?.config.additionalDomains ?? []).filter((d) => !d.configSetName).length;
|
|
26594
|
+
if (unmigratedCount > 0) {
|
|
26595
|
+
upgradeOptions.push({
|
|
26596
|
+
value: "per-domain-config-sets",
|
|
26597
|
+
label: "Per-domain configuration sets",
|
|
26598
|
+
hint: `Migrate ${unmigratedCount} additional domain(s) to dedicated SES config sets`
|
|
26599
|
+
});
|
|
26600
|
+
}
|
|
26598
26601
|
if (options.action) {
|
|
26599
26602
|
upgradeAction = options.action;
|
|
26600
26603
|
} else {
|