invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.12k stars 201 forks source link

request: pub workspaces #747

Open lishaduck opened 1 month ago

lishaduck commented 1 month ago

Is there an existing feature request for this?

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 commented 1 month ago

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 commented 3 weeks ago

Related: https://github.com/dart-lang/pub/issues/4376

spydon commented 2 weeks ago

Related (globbing in workspace definition, which would make future migrations easier): https://github.com/dart-lang/pub/issues/4391