chore: upgrade build toolchain dependencies#6
Merged
Conversation
- Remove unused hive_generator (no @HiveType/@HiveField usage in project), which was blocking the entire build toolchain from upgrading - Upgrade json_annotation constraint ^4.9.0 → ^4.10.0 - Upgraded transitive deps: analyzer 6.4.1 → 10.0.1, build_runner 2.4.13 → 2.10.5, json_serializable 6.8.0 → 6.12.0, build 2.4.1 → 4.0.4, source_gen 1.5.0 → 4.2.0
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
=======================================
Coverage 71.42% 71.42%
=======================================
Files 1 1
Lines 7 7
=======================================
Hits 5 5
Misses 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
hive_generator依赖(项目中无@HiveType/@HiveField使用),该包锁死了整条构建工具链无法升级json_annotation约束^4.9.0→^4.10.0解锁的传递依赖升级
analyzerbuild_runnerjson_serializablebuildsource_gendart_style消除了 CI code-quality 阶段的
analyzer版本不匹配 warning。Test Plan
dart run build_runner build --delete-conflicting-outputs代码生成正常,无 warningflutter pub get依赖解析无冲突