From 4e951d30eb7ff998824b5e8a00f15bd724bdd212 Mon Sep 17 00:00:00 2001 From: Maciej Lisiewski Date: Fri, 6 Nov 2026 16:30:26 +0100 Subject: [PATCH] chore: mark the current lockfiles generated and keep prettier off pnpm-lock.yaml .gitattributes still named the removed web/package-lock.json. Mark pnpm-lock.yaml and the remaining package-lock.json files (website, the WhatsApp bridge, the Photon sidecar, the Nix node-gyp lock) generated. uv.lock and flake.lock stay visible: their diffs are short input bumps that reviewers read. Prettier formats YAML and reports pnpm-lock.yaml as unformatted, so a `prettier --write .` would rewrite it; ignore it next to package-lock.json. --- .gitattributes | 3 ++- .prettierignore | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index cb07900351..8f8de7b6f4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ # Auto-generated files — collapse diffs and exclude from language stats -web/package-lock.json linguist-generated=true +pnpm-lock.yaml linguist-generated=true +**/package-lock.json linguist-generated=true uv.lock text eol=lf # Enforce LF for scripts that run inside Linux containers. diff --git a/.prettierignore b/.prettierignore index ca429279c2..b94e2041ac 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,3 +2,4 @@ # team approval when lockfiles change, so an autofix PR touching one # would hang waiting for review. package-lock.json +pnpm-lock.yaml