keycloakify 11.8.52 → 11.8.54

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/712.index.js CHANGED
@@ -296,7 +296,7 @@ function generateMessageProperties(params) {
296
296
  ""
297
297
  ].join("\n");
298
298
  fs__WEBPACK_IMPORTED_MODULE_8__.mkdirSync(messageDirPath, { recursive: true });
299
- fs__WEBPACK_IMPORTED_MODULE_8__.writeFileSync((0,path__WEBPACK_IMPORTED_MODULE_2__.join)(messageDirPath, `messages_${languageTag}.properties`), Buffer.from(propertiesFileSource, "utf8"));
299
+ fs__WEBPACK_IMPORTED_MODULE_8__.writeFileSync((0,path__WEBPACK_IMPORTED_MODULE_2__.join)(messageDirPath, `messages_${languageTag.replace(/\-/g, "_")}.properties`), Buffer.from(propertiesFileSource, "utf8"));
300
300
  }
301
301
  }
302
302
  };
package/bin/97.index.js CHANGED
@@ -761,7 +761,8 @@ const getIsKnownByGit = runExclusive.build(groupRef, (params) => {
761
761
  dIsKnownByGit.resolve(false);
762
762
  return;
763
763
  }
764
- dIsKnownByGit.reject(error);
764
+ // For building without git
765
+ dIsKnownByGit.resolve(false);
765
766
  });
766
767
  return dIsKnownByGit.pr;
767
768
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.8.52",
3
+ "version": "11.8.54",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -420,7 +420,10 @@ export function generateMessageProperties(params: {
420
420
  fs.mkdirSync(messageDirPath, { recursive: true });
421
421
 
422
422
  fs.writeFileSync(
423
- pathJoin(messageDirPath, `messages_${languageTag}.properties`),
423
+ pathJoin(
424
+ messageDirPath,
425
+ `messages_${languageTag.replace(/\-/g, "_")}.properties`
426
+ ),
424
427
  Buffer.from(propertiesFileSource, "utf8")
425
428
  );
426
429
  }
@@ -43,7 +43,8 @@ export const getIsKnownByGit = runExclusive.build(
43
43
  return;
44
44
  }
45
45
 
46
- dIsKnownByGit.reject(error);
46
+ // For building without git
47
+ dIsKnownByGit.resolve(false);
47
48
  }
48
49
  );
49
50