Update to Keycloakify 11

This commit is contained in:
Joseph Garrone committed 2024-09-23 00:37:16 +02:00
1 parent fb9b24f4d1
commit 5001393c21
4 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<p align="center">
<i>🚀 <a href="https://keycloakify.dev">Keycloakify</a> v10 starter 🚀</i>
<i>🚀 <a href="https://keycloakify.dev">Keycloakify</a> v11 starter 🚀</i>
<br/>
<br/>
</p>
+1 -1
View File
@@ -17,7 +17,7 @@
"license": "MIT",
"keywords": [],
"dependencies": {
"keycloakify": "^10.1.4",
"keycloakify": "^11.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
+9 -3
View File
@@ -1,5 +1,11 @@
import { createUseI18n } from "keycloakify/login";
import { i18nBuilder } from "keycloakify/login";
import type { ThemeName } from "../kc.gen";
export const { useI18n, ofTypeI18n } = createUseI18n({});
/** @see: https://docs.keycloakify.dev/i18n */
const { useI18n, ofTypeI18n } = i18nBuilder
.withThemeName<ThemeName>()
.build();
export type I18n = typeof ofTypeI18n;
type I18n = typeof ofTypeI18n;
export { useI18n, type I18n };
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff. Show more