keycloakify 11.7.3 → 11.8.0

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.
Files changed (30) hide show
  1. package/bin/{911.index.js → 297.index.js} +18918 -11359
  2. package/bin/355.index.js +41 -703
  3. package/bin/363.index.js +3 -0
  4. package/bin/369.index.js +968 -0
  5. package/bin/656.index.js +111 -0
  6. package/bin/{288.index.js → 664.index.js} +13 -119
  7. package/bin/780.index.js +9 -7
  8. package/bin/880.index.js +215 -160
  9. package/bin/932.index.js +965 -0
  10. package/bin/97.index.js +2092 -770
  11. package/bin/main.js +52 -24
  12. package/bin/shared/buildContext.d.ts +11 -3
  13. package/package.json +10 -13
  14. package/src/bin/initialize-account-theme/initialize-account-theme.ts +29 -27
  15. package/src/bin/initialize-account-theme/multi-page-boilerplate/i18n.ts +2 -2
  16. package/src/bin/initialize-email-theme.ts +103 -53
  17. package/src/bin/keycloakify/generateResources/generateResources.ts +285 -205
  18. package/src/bin/shared/{initializeSpa/addSyncExtensionsToPostinstallScript.ts → addSyncExtensionsToPostinstallScript.ts} +1 -1
  19. package/src/bin/shared/buildContext.ts +69 -24
  20. package/src/bin/shared/{initializeSpa/initializeSpa.ts → initializeSpa.ts} +3 -3
  21. package/src/bin/sync-extensions/getExtensionModuleFileSourceCodeReadyToBeCopied.ts +6 -0
  22. package/vite-plugin/index.js +48 -20
  23. package/bin/313.index.js +0 -377
  24. package/bin/678.index.js +0 -7565
  25. package/bin/9.index.js +0 -850
  26. package/bin/947.index.js +0 -1565
  27. package/bin/shared/initializeSpa/index.d.ts +0 -1
  28. package/src/bin/shared/initializeSpa/index.ts +0 -1
  29. /package/bin/shared/{initializeSpa/addSyncExtensionsToPostinstallScript.d.ts → addSyncExtensionsToPostinstallScript.d.ts} +0 -0
  30. /package/bin/shared/{initializeSpa/initializeSpa.d.ts → initializeSpa.d.ts} +0 -0
package/bin/363.index.js CHANGED
@@ -351,6 +351,9 @@ function addCommentToSourceCode(params) {
351
351
  if (fileRelativePath.endsWith(".properties")) {
352
352
  return toResult(commentLines.map(line => `# ${line}`).join("\n"));
353
353
  }
354
+ if (fileRelativePath.endsWith(".ftl")) {
355
+ return toResult([`<#--`, ...commentLines.map(line => ` ${line}`), `-->`].join("\n"));
356
+ }
354
357
  if (fileRelativePath.endsWith(".html") || fileRelativePath.endsWith(".svg")) {
355
358
  const comment = [
356
359
  `<!--`,