Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register bun.lock as JSON #7193

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

RiskyMH
Copy link

@RiskyMH RiskyMH commented Jan 7, 2025

Description

Bun recently added a text lockfile called bun.lock (https://bun.sh/blog/bun-lock-text-lockfile) and it will soon become default.

It is also expected to only have one bun.lock file at root. At time of writing there was at least 200 repos (and still quickly growing), but it seems like github search count randomly fluctuates +/- around ~30 results.

Checklist:


Although bun.lock officially uses JSONC, this PR sets it to standard JSON. Bun only relies on the trailing comma feature, which JSON happens to support without errors. The main reason to use standard JSON is that it provides better syntax highlighting on GitHub (#6197)

@RiskyMH RiskyMH requested a review from a team as a code owner January 7, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants