Untrack generated messages

This commit is contained in:
garronej
2023-03-20 00:03:15 +01:00
parent 41c0329822
commit aaac1f54e8
312 changed files with 64 additions and 47245 deletions

View File

@ -56,11 +56,15 @@ const logger = getLogger({ isSilent });
fs.rmSync(tmpDirPath, { recursive: true, force: true });
Object.keys(record).forEach(pageType => {
const recordForPageType = record[pageType];
Object.keys(record).forEach(themeType => {
const recordForPageType = record[themeType];
Object.keys(recordForPageType).forEach(language => {
const filePath = pathJoin(getProjectRoot(), "src", "i18n", "generated_messages", keycloakVersion, pageType, `${language}.ts`);
if (themeType !== "login") {
return;
}
const filePath = pathJoin(getProjectRoot(), "src", themeType, "i18n", "generated_messages", keycloakVersion, `${language}.ts`);
fs.mkdirSync(pathDirname(filePath), { "recursive": true });