Skip to content

Commit 1784e2b

Browse files
snomiaoclaude
andauthored
[feat] Add alternative package manager lockfiles to .gitignore (#4961)
## Summary - Add bun.lock, bun.lockb, pnpm-lock.yaml, and yarn.lock to .gitignore - Allows users to use faster package managers (Bun, pnpm) without making git status dirty - Maintains npm as the default while supporting developer choice of package manager ## Test plan - [x] Verify .gitignore changes are correct - [ ] Test that creating these lockfiles doesn't show in git status - [ ] Confirm existing npm functionality remains unaffected 🤖 Generated with [Claude Code](https://claude.ai/code) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-4961-feat-Add-alternative-package-manager-lockfiles-to-gitignore-24e6d73d3650817c8fa4fb8e94df5ac6) by [Unito](https://www.unito.io) Co-authored-by: Claude <[email protected]>
1 parent 39df4ac commit 1784e2b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ yarn-error.log*
77
pnpm-debug.log*
88
lerna-debug.log*
99

10+
# Package manager lockfiles (allow users to use different package managers)
11+
bun.lock
12+
bun.lockb
13+
pnpm-lock.yaml
14+
yarn.lock
15+
1016
# ESLint cache
1117
.eslintcache
1218

0 commit comments

Comments
 (0)