diff --git a/README.md b/README.md index 0b2e8db..59c5f78 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,9 @@ Authenticated React SPA

-> WARNING: This work in progress! - # Introduction -This repo constitutes an easily reusable setup for a Keycloak theme project OR for a SPA React App that generates a +This repo constitutes an easily reusable setup for a Keycloak theme project OR for a Vite SPA React App that generates a Keycloak theme that goes along with it. If you are only looking to create a Keycloak theme (and not a Keycloak theme and an App that share the same codebase) there are a lot of things that you can remove from this starter: [Please read this section of the README](#standalone-keycloak-theme). @@ -49,7 +47,7 @@ npx initialize-email-theme # For initializing your email theme # Note that Keycloakify does not feature React integration for email yet. npx download-builtin-keycloak-theme # For downloading the default theme (as a reference) - # Look for the files in build_keycloak/src/main/resources/theme/{base,keycloak} + # Look for the files in dist_keycloak/src/main/resources/theme/{base,keycloak} ``` # Theme variant @@ -201,8 +199,8 @@ jobs: - run: npx keycloakify env: XDG_CACHE_HOME: "/home/runner/.cache/yarn" - - run: mv build_keycloak/target/retrocompat-*.jar retrocompat-keycloak-theme.jar - - run: mv build_keycloak/target/*.jar keycloak-theme.jar + - run: mv dist_keycloak/target/retrocompat-*.jar retrocompat-keycloak-theme.jar + - run: mv dist_keycloak/target/*.jar keycloak-theme.jar - uses: softprops/action-gh-release@v1 with: name: Release v\${{ needs.check_if_version_upgraded.outputs.to_version }} diff --git a/package.json b/package.json index 12c7d45..febe2ca 100755 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "keywords": [], "dependencies": { "evt": "^2.5.7", - "keycloakify": "9.4.0-rc.17", - "oidc-spa": "^4.0.0", + "keycloakify": "^9.4.1", + "oidc-spa": "^4.2.1", "powerhooks": "^1.0.8", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/vite.config.ts b/vite.config.ts index 91b3ccb..e4587f3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,7 +11,5 @@ export default defineConfig({ react(), commonjs(), keycloakify() - ], - assetsInclude: ["**/*.md"], - //base: '/foo/' + ] }) diff --git a/yarn.lock b/yarn.lock index 3faf003..32ba9e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5886,10 +5886,10 @@ jwt-decode@^3.1.2: resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59" integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A== -keycloakify@9.4.0-rc.17: - version "9.4.0-rc.17" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.4.0-rc.17.tgz#417e770b706cd5eb09992cf31a6f3448aa0126bf" - integrity sha512-7PHcYTXZlqR48gwm7CUXa10yk+5z8IktHhlwH4EPC1IM9jM/b3ndtQlG3jwACuPlfp5q36JzR30LT0AtjU5ENg== +keycloakify@^9.4.1: + version "9.4.1" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.4.1.tgz#b0dbe7789eebde0189b59db6fb042e339f082c79" + integrity sha512-UCngMYCunLTYn9llVvgHAcUp5rbzEiKEDMUsxsqaHYidqM1UtykV+WJ4ezT2R/Bja4RiG4J0zQXMJ1ks+mz6og== dependencies: "@babel/generator" "^7.22.9" "@babel/parser" "^7.22.7" @@ -6527,7 +6527,7 @@ oidc-client-ts@2.4.0: crypto-js "^4.2.0" jwt-decode "^3.1.2" -oidc-spa@^4.0.0: +oidc-spa@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/oidc-spa/-/oidc-spa-4.2.1.tgz#1b33214fd4b657f7a09aae70058df76ce7275a8e" integrity sha512-2Vm3Ohrh+F6Xd+HfybBs20ahQmJf3w852G20hnOl80O7G8wQ2IBKuivVEU/gb2hg4O3X9h4uQr4fuhIMO0/dFA==