-
Notifications
You must be signed in to change notification settings - Fork 219
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
fix: melos analyze
is running dart analyze
for Flutter packages
#792
Comments
Additional info: running |
One more info: It's running |
You're always supposed to have run |
But that's not the case with the flutter analyze command. It resolves dependencies (runs pub get) before analyzing, if needed. We've delivered a fix for this. |
melos analyze
is not running pub get
in packagesmelos analyze
is running dart analyze
for Flutter packages
## Description Current `melos analyze` command is running `dart analyze` instead of `flutter analyze` on flutter projects #792 ## 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
Is there an existing issue for this?
Version
6.1.0
Description
When I run melos analyze, it fetches dependencies for the root project, allowing the analysis to succeed for the root. However, for the packages, it fails because it does not resolve dependencies before running the analysis for each package.
Steps to reproduce
Expected behavior
It should resolve the packages for each package if needed. Like
flutter analyze
do.Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: