Implement caching for promptKeycloakVersion

This commit is contained in:
Joseph Garrone
2024-05-18 08:11:20 +02:00
parent a3d9016cfe
commit 2f8d89012b
4 changed files with 54 additions and 9 deletions

View File

@ -32,7 +32,8 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
const { keycloakVersion } = await promptKeycloakVersion({
// NOTE: This is arbitrary
"startingFromMajor": 17
"startingFromMajor": 17,
"cacheDirPath": buildOptions.cacheDirPath
});
const builtinKeycloakThemeTmpDirPath = pathJoin(buildOptions.cacheDirPath, "initialize-email-theme_tmp");