keycloakify 10.0.0-rc.93 → 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(/["']
|
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/bin/526.index.js
CHANGED
@@ -370,10 +370,12 @@ async function appBuild_webpack(params) {
|
|
370
370
|
|
371
371
|
|
372
372
|
|
373
|
+
|
373
374
|
(0,assert.assert)();
|
374
375
|
async function keycloakifyBuild(params) {
|
375
376
|
const { buildForKeycloakMajorVersionNumber, buildContext } = params;
|
376
377
|
const dResult = new Deferred.Deferred();
|
378
|
+
console.log(source_default().blue("Running: 'npx keycloakify build'"));
|
377
379
|
const child = external_child_process_.spawn("npx", ["keycloakify", "build"], {
|
378
380
|
cwd: buildContext.projectDirPath,
|
379
381
|
env: Object.assign(Object.assign({}, process.env), { [constants/* buildForKeycloakMajorVersionEnvName */.um]: `${buildForKeycloakMajorVersionNumber}` }),
|
package/package.json
CHANGED
@@ -35,8 +35,8 @@ export function readExtraPagesNames(params: {
|
|
35
35
|
|
36
36
|
extraPages.push(
|
37
37
|
...Array.from(
|
38
|
-
rawSourceFile.matchAll(/["']
|
39
|
-
m => m[1]
|
38
|
+
rawSourceFile.matchAll(/["']([^.\s]+.ftl)["']:/g),
|
39
|
+
m => (console.log(m), m[1])
|
40
40
|
)
|
41
41
|
);
|
42
42
|
}
|
@@ -3,6 +3,7 @@ import * as child_process from "child_process";
|
|
3
3
|
import { Deferred } from "evt/tools/Deferred";
|
4
4
|
import { assert } from "tsafe/assert";
|
5
5
|
import type { BuildContext } from "../shared/buildContext";
|
6
|
+
import chalk from "chalk";
|
6
7
|
|
7
8
|
export type BuildContextLike = {
|
8
9
|
projectDirPath: string;
|
@@ -19,6 +20,8 @@ export async function keycloakifyBuild(params: {
|
|
19
20
|
|
20
21
|
const dResult = new Deferred<{ isSuccess: boolean }>();
|
21
22
|
|
23
|
+
console.log(chalk.blue("Running: 'npx keycloakify build'"));
|
24
|
+
|
22
25
|
const child = child_process.spawn("npx", ["keycloakify", "build"], {
|
23
26
|
cwd: buildContext.projectDirPath,
|
24
27
|
env: {
|