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:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user