From d6f5a042ef6562ceb75416f69a41fad9e750dc39 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 6 Sep 2026 11:33:01 +0200 Subject: [PATCH] fix(patches): pin patches/ to eol=lf for pnpm 12's diff parser pnpm 12 swapped the JS patch-applier for a Rust one that rejects a carriage return in a diff's file-header line ("invalid char in unquoted filename"), so `pnpm install` aborts with ERR_PNPM_INVALID_PATCH before linking anything. The patch blobs are committed LF, but a Windows checkout with core.autocrlf=true rewrites them to CRLF and .gitattributes had no rule for patches/. pnpm 11's parser tolerated the CR; Linux CI is unaffected, which is why #11365 stayed green. Co-Authored-By: Claude Sonnet 5 --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 508388aa38..9b6eb5096f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10,6 +10,7 @@ apps/edit-docs/demo/** linguist-vendored=true docs/** linguist-vendored=true # Normalize line endings. +patches/** eol=lf docs/**/*.md eol=lf docs/**/*.json eol=lf demo/**/*.html eol=lf