Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
482d71743b | |||
1db37a4727 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "keycloakify",
|
"name": "keycloakify",
|
||||||
"version": "9.1.11",
|
"version": "9.1.12",
|
||||||
"description": "Create Keycloak themes using React",
|
"description": "Create Keycloak themes using React",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -13,6 +13,7 @@ export type BuildOptionsLike = {
|
|||||||
cacheDirPath: string;
|
cacheDirPath: string;
|
||||||
keycloakifyBuildDirPath: string;
|
keycloakifyBuildDirPath: string;
|
||||||
themeNames: string[];
|
themeNames: string[];
|
||||||
|
doBuildRetrocompatAccountTheme: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -114,7 +115,7 @@ export async function generateJavaStackFiles(params: {
|
|||||||
.filter(([, isImplemented]) => isImplemented)
|
.filter(([, isImplemented]) => isImplemented)
|
||||||
.map(([themeType]) => themeType)
|
.map(([themeType]) => themeType)
|
||||||
},
|
},
|
||||||
...(!implementedThemeTypes.account
|
...(!implementedThemeTypes.account || !buildOptions.doBuildRetrocompatAccountTheme
|
||||||
? []
|
? []
|
||||||
: [
|
: [
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,7 @@ export async function main() {
|
|||||||
Buffer.from(
|
Buffer.from(
|
||||||
[
|
[
|
||||||
`- The ${jarFilePath} is to be used in Keycloak 23 and up. `,
|
`- The ${jarFilePath} is to be used in Keycloak 23 and up. `,
|
||||||
`- The ${retrocompatJarFilePath} is to be used in Keycloak 21 and below.`,
|
`- The ${retrocompatJarFilePath} is to be used in Keycloak 22 and below.`,
|
||||||
` Note that Keycloak 22 is only supported for login and email theme but not for account themes. `
|
` Note that Keycloak 22 is only supported for login and email theme but not for account themes. `
|
||||||
].join("\n"),
|
].join("\n"),
|
||||||
"utf8"
|
"utf8"
|
||||||
|
Reference in New Issue
Block a user