Skip to content

Commit 0c1e9db

Browse files
kevmoosimolus3jakemac53
authored
Bump to latest analyzer (#3774)
* Bump to latest analyzer * fix analyzer * nit * fixes * review nit * Update build_runner/lib/src/build_script_generate/build_script_generate.dart Co-authored-by: Simon Binder <[email protected]> * better, I think * clean up strings * Bump mind SDK to 3.6.0 stable * update changelogs and pubspecs * update build_modules pubspec version --------- Co-authored-by: Simon Binder <[email protected]> Co-authored-by: Jake Macdonald <[email protected]>
1 parent c88abe1 commit 0c1e9db

File tree

22 files changed

+73
-45
lines changed

22 files changed

+73
-45
lines changed

.github/workflows/dart.yml

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_test/pkgs/provides_builder/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: provides_builder
22
resolution: workspace
33
environment:
4-
sdk: ^3.6.0-165.0.dev
4+
sdk: ^3.6.0
55
publish_to: none
66

77
dependencies:

_test/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish_to: none
66
#resolution: workspace
77

88
environment:
9-
sdk: ^3.6.0-228.0.dev
9+
sdk: ^3.6.0
1010

1111
dependencies:
1212
web: ^1.0.0

_test/test/goldens/generated_build_script.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @dart=3.6
12
// ignore_for_file: directives_ordering
23
// ignore_for_file: no_leading_underscores_for_library_prefixes
34
import 'package:build_runner_core/build_runner_core.dart' as _i1;

build/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- Bump the min sdk to 3.6.0-228.0.dev.
44
- Remove some unnecessary casts and non-null assertions now that we have private
55
field promotion.
6-
- Require analyzer ^6.9.0.
6+
- Require analyzer ^6.9.0, allow <8.0.0.
77
- Fix analyzer deprecations.
88

99
## 2.4.1

build/pubspec.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111
sdk: ^3.6.0-228.0.dev
1212

1313
dependencies:
14-
analyzer: ^6.9.0
14+
analyzer: '>=6.9.0 <8.0.0'
1515
async: ^2.5.0
1616
convert: ^3.0.0
1717
crypto: ^3.0.0
@@ -27,6 +27,10 @@ dev_dependencies:
2727
dart_flutter_team_lints: ^3.1.0
2828
test: ^1.16.0
2929

30+
dependency_overrides:
31+
build_resolvers:
32+
path: ../build_resolvers
33+
3034
topics:
3135
- build-runner
3236
- codegen

build_daemon/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
web_socket_channel: ">=2.0.0 <4.0.0"
2323

2424
dev_dependencies:
25-
analyzer: '>=3.4.0 <7.0.0'
25+
analyzer: '>=3.4.0 <8.0.0'
2626
build_runner: ^2.0.0
2727
# TODO: untangle analyzer dependency
2828
built_value_generator: ^8.1.0

build_modules/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 5.0.10-wip
2+
3+
- Support analyzer version 7.x.
4+
15
## 5.0.10-beta.0
26

37
- Bump the min sdk to 3.5.0.

build_modules/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: build_modules
2-
version: 5.0.10-beta.0
2+
version: 5.0.10-wip
33
description: >-
44
Builders to analyze and split Dart code into individually compilable modules
55
based on imports.
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=3.5.0 <3.7.0-z'
1111

1212
dependencies:
13-
analyzer: '>=5.1.0 <7.0.0'
13+
analyzer: '>=5.1.0 <8.0.0'
1414
async: ^2.5.0
1515
bazel_worker: ^1.0.0
1616
build: ^2.0.0

build_resolvers/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
- Require the latest analyzer, and stop passing the `withNullability`
44
parameter which was previously required and is now deprecated.
5-
- Bump the min sdk to 3.6.0-228.0.dev.
5+
- Bump the min sdk to 3.6.0.
66
- Fix SDK summary reads when multiple isolates are using build resolvers (not
77
recommended).
88
- Fix analyzer deprecations.
9+
- Support analyzer version 7.x.
910

1011
## 2.4.2
1112

0 commit comments

Comments
 (0)