keycloakify 10.0.0-rc.94 → 10.0.0-rc.95

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/440.index.js CHANGED
@@ -573,7 +573,7 @@ function readExtraPagesNames(params) {
573
573
  const extraPages = [];
574
574
  for (const candidateFilPath of candidateFilePaths) {
575
575
  const rawSourceFile = external_fs_.readFileSync(candidateFilPath).toString("utf8");
576
- extraPages.push(...Array.from(rawSourceFile.matchAll(/["']?pageId["']?\s*:\s*["']([^.]+.ftl)["']/g), m => m[1]));
576
+ extraPages.push(...Array.from(rawSourceFile.matchAll(/["']([^.\s]+.ftl)["']:/g), m => (console.log(m), m[1])));
577
577
  }
578
578
  return extraPages.reduce(...(0,removeDuplicates.removeDuplicates)()).filter(pageId => {
579
579
  switch (themeType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "10.0.0-rc.94",
3
+ "version": "10.0.0-rc.95",
4
4
  "description": "Create Keycloak themes using React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,8 +35,8 @@ export function readExtraPagesNames(params: {
35
35
 
36
36
  extraPages.push(
37
37
  ...Array.from(
38
- rawSourceFile.matchAll(/["']?pageId["']?\s*:\s*["']([^.]+.ftl)["']/g),
39
- m => m[1]
38
+ rawSourceFile.matchAll(/["']([^.\s]+.ftl)["']:/g),
39
+ m => (console.log(m), m[1])
40
40
  )
41
41
  );
42
42
  }