From 96f5c8827fd89045b160f03f6e25d6571ca07186 Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Thu, 3 Sep 2026 18:29:22 -0700 Subject: [PATCH] chore: force LF line endings for pnpm patch files pnpm 12 parses `patchedDependencies` files with a Rust patch parser that rejects a carriage return in the `---`/`+++` header lines. Git for Windows checks text files out with CRLF by default, so after the pnpm 12 bump the Windows release smoke-test failed with ERR_PNPM_INVALID_PATCH. Pin patch files to LF so they parse on every platform. Co-Authored-By: Claude Fable 5.1 --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..c48799578d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# pnpm 12 parses patch files with a Rust patch parser that rejects a carriage +# return in the `---`/`+++` header lines. Git for Windows checks text files out +# with CRLF by default, which broke `pnpm install` on the Windows release +# smoke-test. Keep patch files LF everywhere. +patches/*.patch text eol=lf