From df92cc5f73e0a25b03fd6ebca6c4d4803b2b4bd0 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Mon, 8 Jul 2024 00:21:31 +0200 Subject: [PATCH] Fix --- scripts/generate-i18n-messages.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/generate-i18n-messages.ts b/scripts/generate-i18n-messages.ts index ed0ff233..b13712cd 100644 --- a/scripts/generate-i18n-messages.ts +++ b/scripts/generate-i18n-messages.ts @@ -12,6 +12,7 @@ import { crawl } from "../src/bin/tools/crawl"; import { downloadKeycloakDefaultTheme } from "../src/bin/shared/downloadKeycloakDefaultTheme"; import { getThisCodebaseRootDirPath } from "../src/bin/tools/getThisCodebaseRootDirPath"; import { deepAssign } from "../src/tools/deepAssign"; +import { getProxyFetchOptions } from "../src/bin/tools/fetchProxyOptions"; // NOTE: To run without argument when we want to generate src/i18n/generated_kcMessages files, // update the version array for generating for newer version. @@ -33,7 +34,9 @@ async function main() { ".cache", "keycloakify" ), - npmWorkspaceRootDirPath: thisCodebaseRootDirPath + fetchOptions: getProxyFetchOptions({ + npmConfigGetCwd: thisCodebaseRootDirPath + }) } });