Skip to content

Commit b5f93c0

Browse files
committed
Update name of jar file for keycloakify build
1 parent 6047017 commit b5f93c0

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN pnpm run build-keycloak-theme
1212

1313
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} as builder
1414
WORKDIR /opt/keycloak
15-
COPY --from=keycloakify_jar_builder /opt/app/dist_keycloak/keycloak-theme-for-kc-22-and-above.jar /opt/keycloak/providers/
15+
COPY --from=keycloakify_jar_builder /opt/app/dist_keycloak/keycloak-theme-for-kc-all-other-versions.jar /opt/keycloak/providers/
1616
ENV KC_DB=postgres
1717
RUN /opt/keycloak/bin/kc.sh build --features="passkeys"
1818

src/kc.gen.tsx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
/* prettier-ignore-start */
1+
// This file is auto-generated by the `update-kc-gen` command. Do not edit it manually.
2+
// Hash: 7852738310167426a221686c9b9e551f4ae0ecc2a7fefbea0f0ae4bf67a515f8
23

34
/* eslint-disable */
45

56
// @ts-nocheck
67

78
// noinspection JSUnusedGlobalSymbols
89

9-
// This file is auto-generated by Keycloakify
10-
1110
import { lazy, Suspense, type ReactNode } from "react";
1211

1312
export type ThemeName = "pydis-theme";
@@ -20,9 +19,12 @@ export const kcEnvNames: KcEnvName[] = [];
2019

2120
export const kcEnvDefaults: Record<KcEnvName, string> = {};
2221

23-
export type KcContext =
24-
| import("./login/KcContext").KcContext
25-
;
22+
/**
23+
* NOTE: Do not import this type except maybe in your entrypoint.
24+
* If you need to import the KcContext import it either from src/login/KcContext.ts or src/account/KcContext.ts.
25+
* Depending on the theme type you are working on.
26+
*/
27+
export type KcContext = import("./login/KcContext").KcContext;
2628

2729
declare global {
2830
interface Window {
@@ -32,22 +34,16 @@ declare global {
3234

3335
export const KcLoginPage = lazy(() => import("./login/KcPage"));
3436

35-
export function KcPage(
36-
props: {
37-
kcContext: KcContext;
38-
fallback?: ReactNode;
39-
}
40-
) {
37+
export function KcPage(props: { kcContext: KcContext; fallback?: ReactNode }) {
4138
const { kcContext, fallback } = props;
4239
return (
4340
<Suspense fallback={fallback}>
4441
{(() => {
4542
switch (kcContext.themeType) {
46-
case "login": return <KcLoginPage kcContext={kcContext} />;
43+
case "login":
44+
return <KcLoginPage kcContext={kcContext} />;
4745
}
4846
})()}
4947
</Suspense>
5048
);
5149
}
52-
53-
/* prettier-ignore-end */

0 commit comments

Comments
 (0)