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.
- package/bin/{911.index.js → 297.index.js} +18918 -11359
- package/bin/355.index.js +41 -703
- package/bin/363.index.js +3 -0
- package/bin/369.index.js +968 -0
- package/bin/656.index.js +111 -0
- package/bin/{288.index.js → 664.index.js} +13 -119
- package/bin/780.index.js +9 -7
- package/bin/880.index.js +215 -160
- package/bin/932.index.js +965 -0
- package/bin/97.index.js +2092 -770
- package/bin/main.js +52 -24
- package/bin/shared/buildContext.d.ts +11 -3
- package/package.json +10 -13
- package/src/bin/initialize-account-theme/initialize-account-theme.ts +29 -27
- package/src/bin/initialize-account-theme/multi-page-boilerplate/i18n.ts +2 -2
- package/src/bin/initialize-email-theme.ts +103 -53
- package/src/bin/keycloakify/generateResources/generateResources.ts +285 -205
- package/src/bin/shared/{initializeSpa/addSyncExtensionsToPostinstallScript.ts → addSyncExtensionsToPostinstallScript.ts} +1 -1
- package/src/bin/shared/buildContext.ts +69 -24
- package/src/bin/shared/{initializeSpa/initializeSpa.ts → initializeSpa.ts} +3 -3
- package/src/bin/sync-extensions/getExtensionModuleFileSourceCodeReadyToBeCopied.ts +6 -0
- package/vite-plugin/index.js +48 -20
- package/bin/313.index.js +0 -377
- package/bin/678.index.js +0 -7565
- package/bin/9.index.js +0 -850
- package/bin/947.index.js +0 -1565
- package/bin/shared/initializeSpa/index.d.ts +0 -1
- package/src/bin/shared/initializeSpa/index.ts +0 -1
- /package/bin/shared/{initializeSpa/addSyncExtensionsToPostinstallScript.d.ts → addSyncExtensionsToPostinstallScript.d.ts} +0 -0
- /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
|
`<!--`,
|