[go: up one dir, main page]

Skip to content

Display bun.lock as json (jsonc)

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

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 by 🤖 GitLab Bot 🤖