In the next version of Bun
`bun.lock` is the new lockfile in `bun install`
Dec 11, 2024 16:27Unlike bun.lockb, this lockfile is human readable, which is important when working in teams
The lockfile format is jsonc, like tsconfig.json. Trailing commas and comments are allowed.
Merge conflicts are inevitable, and that's why we put each package and it's dependencies on a single line.
Fewer lines means easier merge conflicts.
Bun will continue to support the binary `bun.lockb` for awhile.
`bun.lock` will be the default for `bun install` after Bun v1.2.
To try the new text-based lockfile before then, use the `--save-text-lockfile` flag and upgrade to --canary.
Can we keep using lockb after that version? (if we remove the old lockb file)
yeah