keycloakify 11.9.11 → 11.9.12

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/511.index.js CHANGED
@@ -1629,7 +1629,12 @@ async function buildJar(params) {
1629
1629
  }
1630
1630
  {
1631
1631
  const mvnBuildCmd = `mvn -B -ntp clean install -Dmaven.repo.local="${(0,external_path_.join)(keycloakifyBuildCacheDirPath, ".m2")}"`;
1632
- await new Promise((resolve, reject) => external_child_process_default().exec(mvnBuildCmd, { cwd: keycloakifyBuildCacheDirPath }, (error, stdout, stderr) => {
1632
+ await new Promise((resolve, reject) => external_child_process_default().exec(mvnBuildCmd, {
1633
+ cwd: keycloakifyBuildCacheDirPath,
1634
+ env: Object.assign(Object.assign({}, process.env), { MAVEN_OPTS: [process.env.MAVEN_OPTS, "-Xmx4096m"]
1635
+ .filter(x => !!x)
1636
+ .join(" ") })
1637
+ }, (error, stdout, stderr) => {
1633
1638
  if (error !== null) {
1634
1639
  console.log([
1635
1640
  `Build jar failed: ${JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.9.11",
3
+ "version": "11.9.12",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -227,7 +227,15 @@ export async function buildJar(params: {
227
227
  await new Promise<void>((resolve, reject) =>
228
228
  child_process.exec(
229
229
  mvnBuildCmd,
230
- { cwd: keycloakifyBuildCacheDirPath },
230
+ {
231
+ cwd: keycloakifyBuildCacheDirPath,
232
+ env: {
233
+ ...process.env,
234
+ MAVEN_OPTS: [process.env.MAVEN_OPTS, "-Xmx4096m"]
235
+ .filter(x => !!x)
236
+ .join(" ")
237
+ }
238
+ },
231
239
  (error, stdout, stderr) => {
232
240
  if (error !== null) {
233
241
  console.log(