Skip to content

Commit

Permalink
update analyzer across all packages, release packages with changes (#…
Browse files Browse the repository at this point in the history
…3537)

update analyzer across all packages, release packages with changes
  • Loading branch information
jakemac53 authored Jun 29, 2023
1 parent 316ae9b commit 39c2725
Show file tree
Hide file tree
Showing 26 changed files with 50 additions and 37 deletions.
2 changes: 1 addition & 1 deletion _test/pkgs/provides_builder/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: provides_builder

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.12.0 <4.0.0"

dependencies:
build:
Expand Down
4 changes: 2 additions & 2 deletions _test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: _test
publish_to: none

environment:
sdk: ">=2.15.0 <3.0.0"
sdk: ">=2.15.0 <4.0.0"

dev_dependencies:
analyzer: ">=1.0.0 <6.0.0"
analyzer: any
build: any
build_config: any
build_modules: any
Expand Down
2 changes: 1 addition & 1 deletion _test_common/lib/descriptors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Future<d.FileDescriptor> pubspec(
Iterable<String> currentIsolateDependencies = const [],
Map<String, String> pathDependencies = const {},
Map<String, String> versionDependencies = const {},
String sdkEnvironment = '>=2.12.0 <3.0.0',
String sdkEnvironment = '>=2.12.0 <4.0.0',
}) async {
var buffer = StringBuffer()
..writeln('name: $name')
Expand Down
2 changes: 1 addition & 1 deletion _test_common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ publish_to: none
description: Test infra for writing build tests. Is not published.

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.12.0 <4.0.0"

dependencies:
build: any
Expand Down
4 changes: 3 additions & 1 deletion build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 2.4.1-wip
## 2.4.1

- Allow the latest analyzer (6.x.x).

## 2.4.0

Expand Down
6 changes: 3 additions & 3 deletions build/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build
version: 2.4.1-wip
version: 2.4.1
description: A package for authoring build_runner compatible code generators.
repository: https://github.com/dart-lang/build/tree/master/build

environment:
sdk: ">=2.19.0 <3.0.0"
sdk: ">=2.19.0 <4.0.0"

dependencies:
analyzer: ">=1.5.0 <6.0.0"
analyzer: ">=1.5.0 <7.0.0"
async: ^2.5.0
convert: ^3.0.0
crypto: ^3.0.0
Expand Down
2 changes: 1 addition & 1 deletion build_config/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
repository: https://github.com/dart-lang/build/tree/master/build_config

environment:
sdk: '>=2.14.0 <3.0.0'
sdk: '>=2.14.0 <4.0.0'

dependencies:
checked_yaml: ^2.0.0
Expand Down
4 changes: 2 additions & 2 deletions build_daemon/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A daemon for running Dart builds.
repository: https://github.com/dart-lang/build/tree/master/build_daemon

environment:
sdk: ">=2.19.0 <3.0.0"
sdk: ">=2.19.0 <4.0.0"

dependencies:
built_collection: ^5.0.0
Expand All @@ -20,7 +20,7 @@ dependencies:
web_socket_channel: ^2.0.0

dev_dependencies:
analyzer: '>=3.4.0 <6.0.0'
analyzer: '>=3.4.0 <7.0.0'
build_runner: ^2.0.0
# TODO: untangle analyzer dependency
built_value_generator: ^8.1.0
Expand Down
4 changes: 3 additions & 1 deletion build_modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 5.0.3-wip
## 5.0.3

- Allow the latest analyzer (6.x.x).

## 5.0.2

Expand Down
6 changes: 3 additions & 3 deletions build_modules/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: build_modules
version: 5.0.3-wip
version: 5.0.3
description: >-
Builders to analyze and split Dart code into individually compilable modules
based on imports.
repository: https://github.com/dart-lang/build/tree/master/build_modules

environment:
sdk: '>=3.0.0-134.0.dev <3.2.0'
sdk: '>=3.0.0 <3.2.0'

dependencies:
analyzer: '>=5.1.0 <6.0.0'
analyzer: '>=5.1.0 <7.0.0'
async: ^2.5.0
bazel_worker: ^1.0.0
build: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion build_modules/test/fixtures/a/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: a

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.12.0 <4.0.0"

dependencies:
b:
Expand Down
2 changes: 1 addition & 1 deletion build_modules/test/fixtures/b/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: b

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.12.0 <4.0.0"

dependencies:
a:
Expand Down
4 changes: 3 additions & 1 deletion build_resolvers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 2.2.1-wip
## 2.2.1

- Allow the latest analyzer (6.x.x).

## 2.2.0

Expand Down
6 changes: 3 additions & 3 deletions build_resolvers/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build_resolvers
version: 2.2.1-wip
version: 2.2.1
description: Resolve Dart code in a Builder
repository: https://github.com/dart-lang/build/tree/master/build_resolvers

environment:
sdk: '>=2.19.0 <3.0.0'
sdk: '>=2.19.0 <4.0.0'

dependencies:
analyzer: ^5.12.0
analyzer: '>=5.12.0 <7.0.0'
async: ^2.5.0
build: ^2.0.0
collection: ^1.17.0
Expand Down
4 changes: 4 additions & 0 deletions build_runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.4.6

- Allow the latest analyzer (6.x.x).

## 2.4.5

- Fix a bug handling a builder which has a `required_input` that matches it's
Expand Down
4 changes: 2 additions & 2 deletions build_runner/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build_runner
version: 2.4.5
version: 2.4.6
description: A build system for Dart code generation and modular compilation.
repository: https://github.com/dart-lang/build/tree/master/build_runner

Expand All @@ -12,7 +12,7 @@ platforms:
macos:

dependencies:
analyzer: '>=4.4.0 <6.0.0'
analyzer: '>=4.4.0 <7.0.0'
args: ^2.0.0
async: ^2.5.0
build: ">=2.1.0 <2.5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ d.FileDescriptor _pubspec(String name,
var buffer = StringBuffer()
..writeln('name: $name')
..writeln('environment:')
..writeln(' sdk: ">=2.12.0 <3.0.0"');
..writeln(' sdk: ">=2.12.0 <4.0.0"');

void writeDeps(String group) {
buffer.writeln(group);
Expand Down
2 changes: 2 additions & 0 deletions build_runner_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 7.2.11-dev

## 7.2.10

- Fix build script invalidation check for custom build scripts from other
Expand Down
4 changes: 2 additions & 2 deletions build_runner_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build_runner_core
version: 7.2.10
version: 7.2.11-dev
description: Core tools to organize the structure of a build and run Builders.
repository: https://github.com/dart-lang/build/tree/master/build_runner_core

Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies:
dev_dependencies:
_test_common:
path: ../_test_common
analyzer: ^5.2.0
analyzer: '>=5.2.0 <7.0.0'
build_runner: ^2.0.0
build_test: ^2.0.0
dart_flutter_team_lints: ^1.0.0
Expand Down
2 changes: 1 addition & 1 deletion build_test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.2.0-wip
## 2.2.0

- Forward logs from `testBuilder` to `printOnFailure` by default.

Expand Down
6 changes: 3 additions & 3 deletions build_test/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: build_test
description: Utilities for writing unit tests of Builders.
version: 2.2.0-wip
version: 2.2.0
repository: https://github.com/dart-lang/build/tree/master/build_test

environment:
sdk: '>=2.19.0 <3.0.0'
sdk: '>=2.19.0 <4.0.0'

dependencies:
async: ^2.5.0
Expand All @@ -24,6 +24,6 @@ dependencies:
watcher: ^1.0.0

dev_dependencies:
analyzer: ^5.2.0
analyzer: '>=5.2.0 <7.0.0'
collection: ^1.15.0
dart_flutter_team_lints: ^1.0.0
1 change: 1 addition & 0 deletions build_web_compilers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 4.0.4

- Allow the latest analyzer (6.x.x).
- Add the `canary` option for `build_web_compilers:ddc` and
`build_web_compilers:sdk_js`builders to enable canary features
in DDC. This setting is disabled by default but can be enabled
Expand Down
4 changes: 2 additions & 2 deletions build_web_compilers/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: Builder implementations wrapping the dart2js and DDC compilers.
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers

environment:
sdk: '>=3.0.0-134.0.dev <3.2.0'
sdk: '>=3.0.0 <3.2.0'

dependencies:
analyzer: '>=5.1.0 <6.0.0'
analyzer: '>=5.1.0 <7.0.0'
archive: ^3.0.0
bazel_worker: ^1.0.0
build: ^2.0.0
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: example
publish_to: none
environment:
sdk: ">=2.19.0 <3.0.0"
sdk: ">=2.19.0 <4.0.0"

dependencies:
analyzer: ">=2.0.0 <6.0.0"
analyzer: ">=5.0.0 <7.0.0"
build: ^2.0.0
# Not imported in code, but used to constrain `build.yaml` requirements
build_config: ^1.0.0
Expand Down
2 changes: 1 addition & 1 deletion scratch_space/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ topics:
- codegen

environment:
sdk: ">=2.19.0 <3.0.0"
sdk: ">=2.19.0 <4.0.0"

dependencies:
build: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion tool/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build_development_tools
description: Collection of scripts used during development of build packages.

environment:
sdk: '>=2.15.0 <3.0.0'
sdk: '>=2.15.0 <4.0.0'

dependencies:
path: ^1.8.0
Expand Down

0 comments on commit 39c2725

Please sign in to comment.