Skip to content

Commit

Permalink
Loosen analyzer version to support stable Flutter channel
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Aug 16, 2023
1 parent 92a863e commit c3b6670
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
strategy:
matrix:
channel:
# Disabled due to some outdated dependencies on Flutter stable
# - stable
- stable
- master
package_path:
- examples/counter
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.3.3
build_verify: ^3.0.0
custom_lint: ^0.5.1
custom_lint: ^0.5.2
flutter_test:
sdk: flutter
freezed: ^2.3.2
Expand Down
1 change: 0 additions & 1 deletion examples/todos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ dev_dependencies:
build_verify: ^3.0.0
flutter_test:
sdk: flutter
# mockito: ^5.0.5

dependency_overrides:
flutter_riverpod:
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
state_notifier: ">=0.7.2 <2.0.0"

dev_dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
expect_error: ^1.0.0
mockito: ^5.0.0
test: ^1.16.0
Expand Down
4 changes: 2 additions & 2 deletions packages/riverpod_analyzer_utils/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ environment:
sdk: ">=2.18.0 <3.0.0"

dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
collection: ^1.16.0
crypto: ^3.0.2
custom_lint_core: ^0.5.1
custom_lint_core: ^0.5.2
freezed_annotation: ^2.2.0
meta: ^1.7.0
path: ^1.8.0
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod_analyzer_utils_tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
sdk: ">=2.18.0 <3.0.0"

dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
collection: ^1.16.0
freezed_annotation: ^2.2.0
meta: ^1.7.0
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod_cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
args: ^2.0.0
codemod: ^1.0.1
collection: ^1.15.0
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
sdk: ">=2.17.0 <3.0.0"

dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
build: ^2.0.0
build_config: ^1.0.0
collection: ^1.15.0
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod_graph/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ environment:
sdk: ">=2.15.0 <3.0.0"

dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
args: ^2.4.0
collection: ^1.0.0
path: ^1.8.2
Expand Down
4 changes: 2 additions & 2 deletions packages/riverpod_lint/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ environment:
sdk: ">=2.17.0 <3.0.0"

dependencies:
analyzer: ^6.0.0
analyzer: ">=5.12.0 <7.0.0"
analyzer_plugin: ^0.11.2
collection: ^1.16.0
custom_lint_builder: ^0.5.1
custom_lint_builder: ^0.5.2
meta: ^1.7.0
path: ^1.8.1
riverpod: ^2.3.6
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod_lint_flutter_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.4.6
build_verify: ^3.0.0
custom_lint: ^0.5.1
custom_lint: ^0.5.2
flutter_test:
sdk: flutter
freezed: ^2.3.2
Expand Down

0 comments on commit c3b6670

Please sign in to comment.