Skip to content

feat: add support for bun catalog#192

Draft
arrudaricardo wants to merge 1 commit intoantfu-collective:mainfrom
arrudaricardo:add-bun-catalog-support
Draft

feat: add support for bun catalog#192
arrudaricardo wants to merge 1 commit intoantfu-collective:mainfrom
arrudaricardo:add-bun-catalog-support

Conversation

@arrudaricardo
Copy link
Copy Markdown

@arrudaricardo arrudaricardo commented Jul 15, 2025

Description

add support for bun catalog

Linked Issues

#190

@xinyao27
Copy link
Copy Markdown

I use both bun and taze, and I really need this feature

return loadPnpmWorkspace(relative, options, shouldUpdate)
if (relative === 'package.json' && options.cwd) {
// Check if this is a bun workspace root by looking for bun.lockb
const bunLockPath = join(options.cwd, 'bun.lockb')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bun has transitioned to using a non-binary lockfile by default, while maintaining support for the binary format. IMO, we should be detecting them both, maybe by iterating over an array like:

let isBunProject = false;
for (const lockfile of ['bun.lockb', 'bun.lock']) {
  const bunLockPath = join(options.cwd, 'bun.lockb');
  isBunProject ||= existsSync(bunLockPath);
}
...

@bauchdj
Copy link
Copy Markdown

bauchdj commented Dec 15, 2025

Also would love this feature to get merged

@austinm911
Copy link
Copy Markdown

this would be great, bun's update isn't 100% reliable i have found for monorepos

@lumirelle
Copy link
Copy Markdown

That's great!

@ayZagen
Copy link
Copy Markdown

ayZagen commented Mar 16, 2026

please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants