Repatriate keycloak v24 scripts

This commit is contained in:
Joseph Garrone
2024-09-08 14:41:45 +02:00
parent 359e93a1ba
commit 785ed095bc
2 changed files with 32 additions and 1 deletions

View File

@ -68,6 +68,27 @@ export async function createPublicDotKeycloakifyDir() {
WELL_KNOWN_DIRECTORY_BASE_NAME.RESOURCES_COMMON
)
});
copy_v24_js: {
if (themeType !== "login") {
break copy_v24_js;
}
const { extractedDirPath } = await downloadKeycloakDefaultTheme({
keycloakVersionId: "LAST_24"
});
transformCodebase({
srcDirPath: pathJoin(
extractedDirPath,
"base",
"login",
"resources",
"js"
),
destDirPath: pathJoin(destDirPath, "js", "v24")
});
}
})
);
}