keycloakify 10.1.0-rc.0 → 10.1.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/365.index.js CHANGED
@@ -114,7 +114,7 @@ async function downloadKeycloakDefaultTheme(params) {
114
114
  if (areExtraAssetsFor24Copied) {
115
115
  break copy_extra_assets;
116
116
  }
117
- const extraAssetsDirPath = (0,external_path_.join)((0,getThisCodebaseRootDirPath/* getThisCodebaseRootDirPath */.e)(), "src", "bin", __dirname.split(`${external_path_.sep}bin${external_path_.sep}`)[1], "extra-assets");
117
+ const extraAssetsDirPath = (0,external_path_.join)((0,getThisCodebaseRootDirPath/* getThisCodebaseRootDirPath */.e)(), "src", "bin", "shared", "downloadKeycloakDefaultTheme", "extra-assets");
118
118
  await Promise.all(["webauthnAuthenticate.js", "passkeysConditionalAuth.js"].map(async (fileBasename) => writeFile({
119
119
  fileRelativePath: (0,external_path_.join)("base", "login", "resources", "js", fileBasename),
120
120
  modifiedData: await promises_.readFile((0,external_path_.join)(extraAssetsDirPath, fileBasename))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "10.1.0-rc.0",
3
+ "version": "10.1.0-rc.1",
4
4
  "description": "Create Keycloak themes using React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
- import { join as pathJoin, relative as pathRelative, sep as pathSep } from "path";
1
+ import { join as pathJoin, relative as pathRelative } from "path";
2
2
  import { type BuildContext } from "../buildContext";
3
3
  import { assert } from "tsafe/assert";
4
4
  import { LAST_KEYCLOAK_VERSION_WITH_ACCOUNT_V1 } from "../constants";
@@ -185,7 +185,8 @@ export async function downloadKeycloakDefaultTheme(params: {
185
185
  getThisCodebaseRootDirPath(),
186
186
  "src",
187
187
  "bin",
188
- __dirname.split(`${pathSep}bin${pathSep}`)[1],
188
+ "shared",
189
+ "downloadKeycloakDefaultTheme",
189
190
  "extra-assets"
190
191
  );
191
192
 
@@ -1306,7 +1306,7 @@ async function downloadKeycloakDefaultTheme(params) {
1306
1306
  if (areExtraAssetsFor24Copied) {
1307
1307
  break copy_extra_assets;
1308
1308
  }
1309
- const extraAssetsDirPath = (0,external_path_.join)(getThisCodebaseRootDirPath(), "src", "bin", __dirname.split(`${external_path_.sep}bin${external_path_.sep}`)[1], "extra-assets");
1309
+ const extraAssetsDirPath = (0,external_path_.join)(getThisCodebaseRootDirPath(), "src", "bin", "shared", "downloadKeycloakDefaultTheme", "extra-assets");
1310
1310
  await Promise.all(["webauthnAuthenticate.js", "passkeysConditionalAuth.js"].map(async (fileBasename) => writeFile({
1311
1311
  fileRelativePath: (0,external_path_.join)("base", "login", "resources", "js", fileBasename),
1312
1312
  modifiedData: await promises_.readFile((0,external_path_.join)(extraAssetsDirPath, fileBasename))