Skip to content

Commit 4f18e9a

Browse files
committed
docs: add lockfile guidelines to CLAUDE.md
Never manually update lockfiles - always use the package manager to generate them properly with correct checksums.
1 parent 6fa178e commit 4f18e9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ with support for Node, Python, Go, PHP, and more.
2828
- When configuring Mise settings, prefer environment variables (e.g.
2929
`MISE_PIPX_UVX`) over TOML settings to maintain consistency with existing
3030
patterns in the codebase.
31+
- **Never manually update lockfiles** (yarn.lock, package-lock.json,
32+
pnpm-lock.yaml, etc.). Always use the respective package manager to generate
33+
or update lockfiles. Manual edits can result in invalid checksums and broken
34+
builds.
3135

3236
# Workflow
3337

0 commit comments

Comments
 (0)