From 08e26600fd8dbe9ee87047702aa4149d6fad3b3b Mon Sep 17 00:00:00 2001 From: garronej Date: Sun, 5 Feb 2023 14:58:38 +0100 Subject: [PATCH] Use keycloakify as bundler by default --- README.md | 4 ++-- src/bin/keycloakify/BuildOptions.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ecc3b323..e4151989 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ # Changelog highlights -## 6.11.0 +## 6.11.4 -- You no longer need to have Maven installed to build the theme. Thanks to @lordvlad, [see PR](https://github.com/InseeFrLab/keycloakify/pull/239). +- You no longer need to have Maven installed to build the theme. Thanks to @lordvlad, [see PR](https://github.com/InseeFrLab/keycloakify/pull/239). - Feature new build options: [`bundler`](https://docs.keycloakify.dev/build-options#keycloakify.bundler), [`groupId`](https://docs.keycloakify.dev/build-options#keycloakify.groupid), [`artifactId`](https://docs.keycloakify.dev/build-options#keycloakify.artifactid), [`version`](https://docs.keycloakify.dev/build-options#version). Theses options can be user to customize the output name of the .jar. You can use environnement variables to overrides the values read in the package.json. Thanks to @lordvlad. diff --git a/src/bin/keycloakify/BuildOptions.ts b/src/bin/keycloakify/BuildOptions.ts index fac35dcf..91eafec6 100644 --- a/src/bin/keycloakify/BuildOptions.ts +++ b/src/bin/keycloakify/BuildOptions.ts @@ -139,7 +139,7 @@ export function readBuildOptions(params: { `${symToStr({ KEYCLOAKIFY_BUNDLER })} should be one of ${bundlers.join(", ")}` ); - return KEYCLOAKIFY_BUNDLER ?? bundler ?? "mvn"; + return KEYCLOAKIFY_BUNDLER ?? bundler ?? "keycloakify"; })(), "artifactId": process.env.KEYCLOAKIFY_ARTIFACT_ID ?? artifactId ?? `${themeName}-keycloak-theme`, "groupId": (() => {