Display bun.lock as json (jsonc)

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

In Bun 1.1.39, Bun introduced text-based lockfile(bun.lock) as an alternative for its binary lockfile(bun.lockb), and the text-based one became the default choice as of Bun v1.2.

Bun blog(Bun's new text-based lockfile) says

The bun.lock file is JSONC (like tsconfig.json)

so I think Gitlab's file view should display bun.lock with jsonc syntax highlighting. Currently, no syntax highlighting is applied to bun.lock.

Edited Aug 20, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading