Update bun lockfile detection and use proper bun nerdfont icon - #590
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the Bun lockfile detection to support both the legacy bun.lockb format and the new bun.lock text format introduced in Bun v1.1.39.
- Added support for detecting
bun.lockfiles in addition tobun.lockb - Updated tests to verify both lockfile formats work correctly
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| functions/_tide_item_bun.fish | Extended lockfile detection to include both bun.lockb and bun.lock formats |
| tests/_tide_item_bun.test.fish | Added test case to verify bun.lock detection works with Bun v1.1.39 |
efaver
pushed a commit
to efaver/tide
that referenced
this pull request
Aug 21, 2025
…osman#590) * Update bun lockfile detection See: https://bun.com/blog/bun-lock-text-lockfile * Update _tide_item_bun.test.fish * only look for bun.lock, update icon --------- Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bun v1.1.39 introduced a new lockfile format
bun.lock.See: https://bun.com/blog/bun-lock-text-lockfile
Motivation and Context
Support for both
bun.lockbandbun.lockformat.Screenshots (if appropriate)
None.
How Has This Been Tested
Checklist