From 58ffe14a61075512fcdf054e82080b1253a64bee Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Tue, 23 Jul 2024 13:58:39 +0200 Subject: [PATCH] fix: don't truncate output from healthcheck --- ...0.0-experimental-b130d5f-20240625+003+json.patch} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename patches/{react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch => react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch} (90%) diff --git a/patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch b/patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch similarity index 90% rename from patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch rename to patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch index ccfbb2861009d..a3de7a3658892 100644 --- a/patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+001+json.patch +++ b/patches/react-compiler-healthcheck+0.0.0-experimental-b130d5f-20240625+003+json.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/react-compiler-healthcheck/dist/index.js b/node_modules/react-compiler-healthcheck/dist/index.js -index 4bf23db..f7dfdf6 100755 +index fa2ab22..93be1fb 100755 --- a/node_modules/react-compiler-healthcheck/dist/index.js +++ b/node_modules/react-compiler-healthcheck/dist/index.js -@@ -69154,16 +69154,28 @@ var reactCompilerCheck = { +@@ -69157,16 +69157,28 @@ var reactCompilerCheck = { compile(source, path); } }, @@ -29,15 +29,15 @@ index 4bf23db..f7dfdf6 100755 + const extractFileName = (output) => output.fnLoc.filename; + const successfulFiles = SucessfulCompilation.map(extractFileName); + const unsuccessfulFiles = [...new Set([...OtherFailures, ...ActionableFailures].map(extractFileName))]; -+ console.log({ ++ console.log(JSON.stringify({ + success: successfulFiles, + failure: unsuccessfulFiles, -+ }); ++ })); + } if (verbose) { for (const compilation of [...SucessfulCompilation, ...ActionableFailures, ...OtherFailures]) { -@@ -69250,10 +69262,17 @@ function main() { +@@ -69253,10 +69265,17 @@ function main() { default: false, alias: 'v', }) @@ -55,7 +55,7 @@ index 4bf23db..f7dfdf6 100755 const globOptions = { onlyFiles: true, ignore: [ -@@ -69273,9 +69292,12 @@ function main() { +@@ -69276,9 +69295,12 @@ function main() { libraryCompatCheck.run(source, path); } spinner.stop();