diff --git a/README.md b/README.md index d1a38810..43bce86b 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ # Changelog highlights +## 6.10.0 + +- Widows compat (thanks to @lordvlad, [see PR](https://github.com/InseeFrLab/keycloakify/pull/226)). WSL is no longer required 🎉 + ## 6.8.4 - `@emotion/react` is no longer a peer dependency of Keycloakify. diff --git a/package.json b/package.json old mode 100755 new mode 100644 index d4364f43..7f308a92 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "keycloakify", - "version": "6.8.12", + "version": "6.10.1", "description": "Keycloak theme generator for Reacts app", "repository": { "type": "git", @@ -82,11 +82,11 @@ "minimal-polyfills": "^2.2.2", "minimist": "^1.2.6", "path-browserify": "^1.0.1", - "powerhooks": "^0.20.32", + "powerhooks": "^0.22.1", "react-markdown": "^5.0.3", "rfc4648": "^1.5.2", "scripting-tools": "^0.19.13", - "tsafe": "^1.4.1", + "tsafe": "^1.4.2", "tss-react": "4.4.1-rc.0", "zod": "^3.17.10" } diff --git a/src/bin/keycloakify/generateStartKeycloakTestingContainer.ts b/src/bin/keycloakify/generateStartKeycloakTestingContainer.ts index c9057839..bedf151c 100644 --- a/src/bin/keycloakify/generateStartKeycloakTestingContainer.ts +++ b/src/bin/keycloakify/generateStartKeycloakTestingContainer.ts @@ -34,7 +34,7 @@ export function generateStartKeycloakTestingContainer(params: { pathJoin(keycloakThemeBuildingDirPath, generateStartKeycloakTestingContainer.basename), Buffer.from( [ - "#!/bin/bash", + "#!/usr/bin/env bash", "", `docker rm ${containerName} || true`, "", diff --git a/src/bin/tools/downloadAndUnzip.ts b/src/bin/tools/downloadAndUnzip.ts index bd271d4a..dd1c10c6 100644 --- a/src/bin/tools/downloadAndUnzip.ts +++ b/src/bin/tools/downloadAndUnzip.ts @@ -172,7 +172,7 @@ async function unzip(zipFile: string, dir: string, archiveDir?: string): Promise /** * - * @param file fileto read + * @param file file to read * @param start first byte to read * @param end last byte to read * @returns Promise of a buffer of read bytes diff --git a/yarn.lock b/yarn.lock index 9b949354..89617c67 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1639,15 +1639,15 @@ please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" -powerhooks@^0.20.32: - version "0.20.32" - resolved "https://registry.yarnpkg.com/powerhooks/-/powerhooks-0.20.32.tgz#c9ddff1dcd7d7bb250e54ea284a6c65d9c228e09" - integrity sha512-lp0rW5sAl8xrenhtB5eZOCwMFcPTtm55pn5++jeEMT1KaO/Rvd7hjaai+PPpDdwIbi5TaF+Zf5XhVO6gvfmXZQ== +powerhooks@^0.22.1: + version "0.22.1" + resolved "https://registry.yarnpkg.com/powerhooks/-/powerhooks-0.22.1.tgz#4e6c720e702e138c0869447e0d04bd0550530bbb" + integrity sha512-wR/gVPtpOeVAkjJXAHbTB6IBAIWL3RZo69DqxPZ2rXV108cwzOW978KZKd2h7m0QHJdg4ZXYwOsZ13E1EGrTFA== dependencies: evt "^2.4.13" memoizee "^0.4.15" resize-observer-polyfill "^1.5.1" - tsafe "^1.4.1" + tsafe "^1.4.2" prettier@^2.3.0: version "2.7.1" @@ -2002,6 +2002,11 @@ tsafe@^1.4.1: resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.4.1.tgz#59cdad8ac41babf88e56dcd1a683ae2fb145d059" integrity sha512-3IDBalvf6SyvHFS14UiwCWzqdSdo+Q0k2J7DZyJYaHW/iraW9DJpaBKDJpry3yQs3o/t/A+oGaRW3iVt2lKxzA== +tsafe@^1.4.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.4.2.tgz#1cc597f6e286ef8a64b918a0a6284bd04347e11f" + integrity sha512-KfP0PYzRjl1LY1DnJPNlD4a0tZSg4uUuZxI4aG04T+j7WJvKZbh1zpaukphhSmtoJMgX1RV8eZVKTEiH8wOGbA== + tslib@^2.1.0: version "2.4.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"