keycloakify 11.8.4 → 11.8.6
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/363.index.js +7 -1
- package/bin/97.index.js +0 -1
- package/package.json +4 -1
- package/res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- package/res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- package/res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- package/src/bin/start-keycloak/realmConfig/prepareRealmConfig.ts +0 -1
- package/src/bin/sync-extensions/getExtensionModuleFileSourceCodeReadyToBeCopied.ts +12 -2
package/bin/363.index.js
CHANGED
@@ -352,7 +352,13 @@ function addCommentToSourceCode(params) {
|
|
352
352
|
return toResult(commentLines.map(line => `# ${line}`).join("\n"));
|
353
353
|
}
|
354
354
|
if (fileRelativePath.endsWith(".ftl")) {
|
355
|
-
|
355
|
+
const comment = [`<#--`, ...commentLines.map(line => ` ${line}`), `-->`].join("\n");
|
356
|
+
if (sourceCode.trim().startsWith("<#ftl")) {
|
357
|
+
const [first, ...rest] = sourceCode.split(">");
|
358
|
+
const last = rest.join(">");
|
359
|
+
return [`${first}>`, comment, last].join("\n");
|
360
|
+
}
|
361
|
+
return toResult(comment);
|
356
362
|
}
|
357
363
|
if (fileRelativePath.endsWith(".html") || fileRelativePath.endsWith(".svg")) {
|
358
364
|
const comment = [
|
package/bin/97.index.js
CHANGED
@@ -917,7 +917,6 @@ function addOrEditTestUser(params) {
|
|
917
917
|
return firstUserCopy;
|
918
918
|
})()) !== null && _a !== void 0 ? _a : defaultUser_default);
|
919
919
|
newUser.username = defaultUser_default.username;
|
920
|
-
newUser.email = defaultUser_default.email;
|
921
920
|
delete_existing_password_credential_if_any: {
|
922
921
|
const i = newUser.credentials.findIndex(credential => credential.type === "password");
|
923
922
|
if (i === -1) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "keycloakify",
|
3
|
-
"version": "11.8.
|
3
|
+
"version": "11.8.6",
|
4
4
|
"description": "Framework to create custom Keycloak UIs",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -587,6 +587,9 @@
|
|
587
587
|
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-Light-webfont.woff2",
|
588
588
|
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-Regular-webfont.woff2",
|
589
589
|
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-Semibold-webfont.woff2",
|
590
|
+
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.ttf",
|
591
|
+
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff",
|
592
|
+
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/OpenSans-SemiboldItalic-webfont.woff2",
|
590
593
|
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/PatternFlyIcons-webfont.ttf",
|
591
594
|
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/PatternFlyIcons-webfont.woff",
|
592
595
|
"res/public/keycloakify-dev-resources/login/resources-common/node_modules/patternfly/dist/fonts/fontawesome-webfont.woff2",
|
Binary file
|
Binary file
|
Binary file
|
@@ -100,9 +100,19 @@ function addCommentToSourceCode(params: {
|
|
100
100
|
}
|
101
101
|
|
102
102
|
if (fileRelativePath.endsWith(".ftl")) {
|
103
|
-
|
104
|
-
|
103
|
+
const comment = [`<#--`, ...commentLines.map(line => ` ${line}`), `-->`].join(
|
104
|
+
"\n"
|
105
105
|
);
|
106
|
+
|
107
|
+
if (sourceCode.trim().startsWith("<#ftl")) {
|
108
|
+
const [first, ...rest] = sourceCode.split(">");
|
109
|
+
|
110
|
+
const last = rest.join(">");
|
111
|
+
|
112
|
+
return [`${first}>`, comment, last].join("\n");
|
113
|
+
}
|
114
|
+
|
115
|
+
return toResult(comment);
|
106
116
|
}
|
107
117
|
|
108
118
|
if (fileRelativePath.endsWith(".html") || fileRelativePath.endsWith(".svg")) {
|