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

Monorepo support for bun outdated #13519

Closed
alextbok opened this issue Aug 25, 2024 · 5 comments
Closed

Monorepo support for bun outdated #13519

alextbok opened this issue Aug 25, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@alextbok
Copy link

What is the problem this feature would solve?

Currently bun outdated only reports on dependencies at the top level of a monorepo (no matter which directory it is run from). It'd be really nice if it also reported on dependencies defined in workspace package.json files.

What is the feature you are proposing to solve the problem?

For bun outdated to report on workspace package.json files in addition to the root level.

What alternatives have you considered?

No response

@alextbok alextbok added the enhancement New feature or request label Aug 25, 2024
@alextbok
Copy link
Author

cc @dylan-conway

@dylan-conway
Copy link
Collaborator

bun outdated does work with workspaces, but the experience isn't the greatest because it requires cd'ing to the target workspace (or using --cwd). In the next few days we will add support for --filter, same as bun --filter and pnpm --filter, to make it easier working with monorepos.

Currently bun outdated only reports on dependencies at the top level of a monorepo (no matter which directory it is run from)

This should be working, we have a test for this. Was there a bug you ran into?

@austinm911
Copy link

austinm911 commented Aug 26, 2024

taze is your best bet for now

#533 (comment)

bunx taze --interactive --recursive

@alextbok
Copy link
Author

@dylan-conway sorry for the false alarm. I could've sworn I was getting same output even after cc'ing into a particular package but just tried again and the demo effect prevailed. Closing this out and looking forward to --filter support!

@dylan-conway
Copy link
Collaborator

#13557 this pr will add --filter support to bun outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants