-
Notifications
You must be signed in to change notification settings - Fork 101
Upgrade analyzer, analyzer_plugin, source_gen #300
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
Merged
rrousselGit
merged 14 commits into
invertase:main
from
Rexios80:feature/dependency-upgrades-2024-12-20
Jan 8, 2025
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
40aa953
Upgrade analyzer, analyzer_plugin, source_gen, and melos
Rexios80 232ebd1
Lock analyzer dependency in custom_lint_visitor
Rexios80 c577bdf
Fixing issues
Rexios80 bca1365
Revert melos upgrade
Rexios80 373bedd
Remove freezed override
Rexios80 26975ca
Regenerate with new freezed
Rexios80 283bb2e
Regenerate
Rexios80 97d247c
Exclude custom_lint_analyzer_plugin_loader from melos workspace
Rexios80 8e5d4b4
Update
rrousselGit 09d46eb
Remove custom_lint_visitor override
rrousselGit 63d5a8f
Another
rrousselGit d64163d
Merge branch 'main' of https://github.com/invertase/dart_custom_lint …
rrousselGit 7e321f8
Fix tests
rrousselGit 6f2b297
Changelog
rrousselGit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
packages/custom_lint/example/example_lint/pubspec_overrides.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_core | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_core,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../../../custom_lint | ||
| path: ../.. | ||
| custom_lint_builder: | ||
| path: ../../../custom_lint_builder | ||
| custom_lint_core: | ||
| path: ../../../custom_lint_core | ||
| custom_lint_visitor: | ||
| path: ../../../custom_lint_visitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,12 @@ | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_core,custom_lint_example_lint | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_core,custom_lint_example_lint,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../../custom_lint | ||
| path: .. | ||
| custom_lint_builder: | ||
| path: ../../custom_lint_builder | ||
| custom_lint_core: | ||
| path: ../../custom_lint_core | ||
| custom_lint_example_lint: | ||
| path: example_lint | ||
| custom_lint_visitor: | ||
| path: ../../custom_lint_visitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| # melos_managed_dependency_overrides: custom_lint_core | ||
| # melos_managed_dependency_overrides: custom_lint_core,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint_core: | ||
| path: ../custom_lint_core | ||
| custom_lint_visitor: | ||
| path: ../custom_lint_visitor |
8 changes: 8 additions & 0 deletions
8
packages/custom_lint/tools/analyzer_plugin/pubspec_overrides.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_core,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../.. | ||
| custom_lint_core: | ||
| path: ../../../custom_lint_core | ||
| custom_lint_visitor: | ||
| path: ../../../custom_lint_visitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/custom_lint_builder/example/example_lint/pubspec_overrides.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_core | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_core,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../../../custom_lint | ||
| custom_lint_builder: | ||
| path: ../.. | ||
| custom_lint_core: | ||
| path: ../../../custom_lint_core | ||
| custom_lint_visitor: | ||
| path: ../../../custom_lint_visitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,12 @@ | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_builder_example_lint,custom_lint_core | ||
| # melos_managed_dependency_overrides: custom_lint,custom_lint_builder,custom_lint_builder_example_lint,custom_lint_core,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../../custom_lint | ||
| custom_lint_builder: | ||
| path: ../../custom_lint_builder | ||
| path: .. | ||
| custom_lint_builder_example_lint: | ||
| path: example_lint | ||
| custom_lint_core: | ||
| path: ../../custom_lint_core | ||
| custom_lint_visitor: | ||
| path: ../../custom_lint_visitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,10 @@ | ||
| # melos_managed_dependency_overrides: custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../custom_lint | ||
| custom_lint_core: | ||
| path: ../custom_lint_core | ||
| custom_lint_visitor: | ||
| path: ../custom_lint_visitor | ||
| lint_visitor_generator: | ||
| path: ../lint_visitor_generator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| # melos_managed_dependency_overrides: lint_visitor_generator | ||
| # melos_managed_dependency_overrides: lint_visitor_generator,custom_lint_visitor | ||
| dependency_overrides: | ||
| custom_lint: | ||
| path: ../custom_lint | ||
| custom_lint_visitor: | ||
| path: ../custom_lint_visitor | ||
| lint_visitor_generator: | ||
| path: ../lint_visitor_generator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,4 @@ publish_to: none | |
| environment: | ||
| sdk: ">=3.0.0 <4.0.0" | ||
| dev_dependencies: | ||
| melos: ^3.0.0 | ||
| melos: ^6.2.0 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A tight version is mandatory here.
And you need to re-run the generator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to land rrousselGit/freezed#1140 first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see why a Freezed version is necessary for custom_lint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because freezed also depends on anaylzer...