keycloakify-email isn't strictly bound to jsx-email

This commit is contained in:
Joseph Garrone 2025-01-25 18:30:52 +01:00
parent f5a300953a
commit 9ba884483d

View File

@ -49,12 +49,15 @@ export async function command(params: { buildContext: BuildContext }) {
} }
const { value: emailThemeType } = await cliSelect({ const { value: emailThemeType } = await cliSelect({
values: ["native (FreeMarker)" as const, "jsx-email (React)" as const] values: [
"native (FreeMarker)" as const,
"Another email templating solution" as const
]
}).catch(() => { }).catch(() => {
process.exit(-1); process.exit(-1);
}); });
if (emailThemeType === "jsx-email (React)") { if (emailThemeType === "Another email templating solution") {
console.log( console.log(
[ [
"There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:", "There is currently no automated support for keycloakify-email, it has to be done manually, see documentation:",