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.
This commit is contained in:
Maciej Lisiewski
2026-11-06 16:30:26 +01:00
parent f92eb8780d
commit 4e951d30eb
2 changed files with 3 additions and 1 deletions

3
.gitattributes vendored
View File

@@ -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.

View File

@@ -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