2021-02-21 18:55:06 +01:00
|
|
|
|
|
|
|
import { join as pathJoin } from "path";
|
2021-06-28 04:04:48 +02:00
|
|
|
import { generateKeycloakThemeResources } from "../../bin/build-keycloak-theme/generateKeycloakThemeResources";
|
2021-03-22 20:54:28 +01:00
|
|
|
import {
|
2021-02-22 12:11:00 +01:00
|
|
|
setupSampleReactProject,
|
|
|
|
sampleReactProjectDirPath
|
|
|
|
} from "./setupSampleReactProject";
|
2021-02-21 18:55:06 +01:00
|
|
|
|
2021-02-22 12:11:00 +01:00
|
|
|
setupSampleReactProject();
|
2021-02-21 18:55:06 +01:00
|
|
|
|
|
|
|
generateKeycloakThemeResources({
|
2021-03-22 19:40:38 +01:00
|
|
|
"themeName": "keycloakify-demo-app",
|
2021-02-21 20:54:33 +01:00
|
|
|
"reactAppBuildDirPath": pathJoin(sampleReactProjectDirPath, "build"),
|
2021-03-22 19:40:38 +01:00
|
|
|
"keycloakThemeBuildingDirPath": pathJoin(sampleReactProjectDirPath, "build_keycloak_theme"),
|
2021-04-11 18:18:52 +02:00
|
|
|
"urlPathname": "/keycloakify-demo-app/",
|
2021-06-23 18:03:49 +02:00
|
|
|
"urlOrigin": undefined,
|
2021-07-06 15:52:14 +03:00
|
|
|
"extraPagesId": ["my-custom-page.ftl"],
|
2021-10-06 17:22:52 +02:00
|
|
|
"extraThemeProperties": ["env=test"],
|
|
|
|
"keycloakVersion": "11.0.3"
|
2021-02-21 18:55:06 +01:00
|
|
|
});
|
|
|
|
|