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

request: pub workspaces #747

Open
1 task done
lishaduck opened this issue Aug 7, 2024 · 5 comments
Open
1 task done

request: pub workspaces #747

lishaduck opened this issue Aug 7, 2024 · 5 comments

Comments

@lishaduck
Copy link

lishaduck commented Aug 7, 2024

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

No response

Description

Once Pub Workspaces land in stable, it would be great if Melos replaced dependency_overrides generation in favor of Pub Workspaces.
I believe this is planned, but I didn't see an issue.

Reasoning

Pub Workspaces enable a single analyzer scope, which both improves performance and reduces the maintenance burden on the Melos team.

Additional context and comments

Thanks for melos! It works great!

@spydon
Copy link
Collaborator

spydon commented Aug 7, 2024

It is indeed planned, thanks for opening an issue so that we can track it!
I'll link in the Flutter design doc for it is here too: https://flutter.dev/go/pub-workspace

@spydon
Copy link
Collaborator

spydon commented Sep 10, 2024

Related: dart-lang/pub#4376

@spydon
Copy link
Collaborator

spydon commented Sep 18, 2024

Related (globbing in workspace definition, which would make future migrations easier): dart-lang/pub#4391

@spydon spydon self-assigned this Sep 19, 2024
@Leptopoda
Copy link

I can see how globs are nice to have for this use case, but I wouldn't consider it a blocker.
I've migrated some repos to workspaces by using melos list -rp.

I'd love to use melos + workspaces sooner rather than waiting for this that isn't even such a big inconvenience.

@spydon
Copy link
Collaborator

spydon commented Nov 27, 2024

@Leptopoda I agree, it's not a blocker, possibly we could even write a simple migration script for it.

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

No branches or pull requests

3 participants