Skip to content

Commit

Permalink
!chore(repo): Upgrade dependencies (#89)
Browse files Browse the repository at this point in the history
* !chore(repo): Upgrade dependencies

* Fix version on toolbox

* Update documentation
  • Loading branch information
Rongix authored Nov 10, 2023
1 parent 12614ec commit 7e21ae0
Show file tree
Hide file tree
Showing 21 changed files with 289 additions and 263 deletions.
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scripts:
run: melos run get_dart && melos run get_flutter

get_dart:
run: melos exec --no-flutter dart pub get
run: melos exec --no-flutter flutter pub get

get_flutter:
run: melos exec --flutter flutter pub get
Expand Down
6 changes: 6 additions & 0 deletions packages/theme_tailor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.0.1
- Support analyzer version from 5.13.0 to ^6.0.0 (thanks @Maatteogekko)
- Bump sdk version
- Fix image links
- Update documentation

# 2.0.0
- Add additional way to generate ThemeExtension classes with `@TailorMixin` / `@TailorMixinComponent` annotation
- Add support for required and optional constructor parameters for classes annotated with `@TailorMixin` or `@TailorComponent`
Expand Down
4 changes: 2 additions & 2 deletions packages/theme_tailor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!-- IMAGES -->
[img_before]: https://github.com/Iteo/theme_tailor/raw/main/resources/before.png
[img_after]: https://github.com/Iteo/theme_tailor/raw/main/resources/after.png
[img_after_tailor_mixin]: https://github.com/Iteo/theme_tailor/blob/develop/resources/after_tailor_mixin.png
[img_after_tailor_mixin]: https://github.com/Iteo/theme_tailor/raw/main/resources/after_tailor_mixin.png

<!--
This README describes the package. If you publish this package to pub.dev,
Expand Down Expand Up @@ -60,7 +60,7 @@ Flutter 3.0 introduces a new way of theming applications using theme extensions

All of that involves extra coding work that is time-consuming and error-prone, which is why it is advisable to use a generator.

| No code generation | @TailorMixin | @Tailor |
| No code generation | @TailorMixin (Recommended) | @Tailor |
| ----------------------- | -------------------------------- | ------------------- |
| ![before][img_before] | ![after][img_after_tailor_mixin] | ![after][img_after] |

Expand Down
3 changes: 0 additions & 3 deletions packages/theme_tailor/example/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ linter:
- file_names
- hash_and_equals
- implementation_imports
- iterable_contains_unrelated_type
- library_names
- library_prefixes
- list_remove_unrelated_type
- no_adjacent_strings_in_list
- no_duplicate_case_values
- non_constant_identifier_names
Expand All @@ -51,7 +49,6 @@ linter:
- prefer_conditional_assignment
- prefer_const_constructors
- prefer_contains
- prefer_equal_for_default_values
- prefer_final_fields
- prefer_initializing_formals
- prefer_interpolation_to_compose_strings
Expand Down
Loading

0 comments on commit 7e21ae0

Please sign in to comment.