-
Notifications
You must be signed in to change notification settings - Fork 215
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
[v7.0.0-dev.2] request: update melos analyze
behaviour
#827
Comments
melos analyze
behaviour
True, I think it's time we just removed |
We could do the same for |
The built-in format doesn't work directly with the packages right? It just works on a directory level. |
Yeah, but is anything stopping anyone from running it in the root?
Don't they have one? (Not as sophisticated, but it's there) |
Then it would format packages that are not included in the workspace too, which
Oh, perfect! I didn't know about that one. |
Yeah, I don't think we should drop the format command either. It only formats the packages you specify in the workspace. The dart format formats the entire directory you specify |
<!-- Thanks for contributing! Provide a description of your changes below and a general summary in the title Please look at the following checklist to ensure that your PR can be accepted quickly: --> ## Description Since pub workspaces now can run analyze within all packages in the workspace we can now remove our analyze proxy command. Closes: #827 ## Type of Change <!--- Put an `x` in all the boxes that apply: --> - [ ] ✨ `feat` -- New feature (non-breaking change which adds functionality) - [x] 🛠️ `fix` -- Bug fix (non-breaking change which fixes an issue) - [ ] ❌ `!` -- Breaking change (fix or feature that would cause existing functionality to change) - [ ] 🧹 `refactor` -- Code refactor - [ ] ✅ `ci` -- Build configuration change - [ ] 📝 `docs` -- Documentation - [ ] 🗑️ `chore` -- Chore
Done in #829 |
Is there an existing feature request for this?
Command
Description
Now with Pub Workspaces, commands like
flutter pub get
andflutter analyze
can run across the entire workspace at once. This is significantly faster than the previous approach, where tools had to be run separately for each package. As a result, the current behavior ofmelos analyze
, which runsdart analyze
orflutter analyze
individually for each package, feels outdated and unnecessary.Reasoning
melos analyze
no longer provides any significant benefit over Dart’s built-in commands, making it potentially unnecessary.Additional context and comments
No response
The text was updated successfully, but these errors were encountered: