Skip to content

Commit

Permalink
update analyzer deps, prepare to publish packages with public deps (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 authored Apr 14, 2022
1 parent d927428 commit 092d1b6
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 21 deletions.
2 changes: 1 addition & 1 deletion _test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dev_dependencies:
analyzer: ">=1.0.0 <4.0.0"
analyzer: ">=1.0.0 <5.0.0"
build: any
build_config: any
build_modules: any
Expand Down
2 changes: 1 addition & 1 deletion _test/test/common/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Future<TestProcess> _runTests(String executable, List<String> scriptArgs,
List<String>? testArgs}) async {
usePrecompiled ??= true;
testArgs ??= [];
testArgs.addAll(['-p', 'chrome']);
testArgs.addAll(['-p', 'chrome', '-r', 'expanded']);
if (usePrecompiled) {
var args = scriptArgs.toList()
..add('test')
Expand Down
4 changes: 4 additions & 0 deletions build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.2.2

- Allow analyzer version 4.x.

## 2.2.1

- Fix a bug where builders were allowed to write to the same asset multiple
Expand Down
4 changes: 2 additions & 2 deletions build/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build
version: 2.2.1
version: 2.2.2
description: A package for authoring build_runner compatible code generators.
repository: https://github.com/dart-lang/build/tree/master/build

environment:
sdk: ">=2.14.0 <3.0.0"

dependencies:
analyzer: ">=1.5.0 <4.0.0"
analyzer: ">=1.5.0 <5.0.0"
async: ^2.5.0
convert: ^3.0.0
crypto: ^3.0.0
Expand Down
2 changes: 1 addition & 1 deletion build_daemon/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:

dev_dependencies:
build_runner: ^2.0.0
analyzer: '<3.4.0'
analyzer: '>=3.4.0 <5.0.0'
# TODO: untangle analyzer dependency
built_value_generator: ^8.1.0
lints: '>=1.0.0 <3.0.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 @@
## 4.0.5-dev
## 4.0.5

* Allow analyzer verion 4.x.

## 4.0.4

Expand Down
4 changes: 2 additions & 2 deletions build_modules/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build_modules
version: 4.0.5-dev
version: 4.0.5
description: Builders for Dart modules
repository: https://github.com/dart-lang/build/tree/master/build_modules

environment:
sdk: ">=2.14.0 <3.0.0"

dependencies:
analyzer: ">=3.4.1 <4.0.0"
analyzer: ">=3.4.1 <5.0.0"
async: ^2.5.0
bazel_worker: ^1.0.0
build: ^2.0.0
Expand Down
4 changes: 4 additions & 0 deletions build_resolvers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.8

- Allow analyzer version 4.x.

## 2.0.7

- Updated error messages to use `dart pub` instead of `pub`.
Expand Down
4 changes: 2 additions & 2 deletions build_resolvers/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build_resolvers
version: 2.0.7
version: 2.0.8
description: Resolve Dart code in a Builder
repository: https://github.com/dart-lang/build/tree/master/build_resolvers

environment:
sdk: ">=2.14.0 <3.0.0"

dependencies:
analyzer: ">=3.4.1 <4.0.0"
analyzer: ">=3.4.1 <5.0.0"
async: ^2.5.0
build: ^2.0.0
crypto: ^3.0.0
Expand Down
3 changes: 2 additions & 1 deletion build_runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
## 2.1.9-dev
## 2.1.9

- Fix up the formatting a bit for the error message that is logged when we get
errors from the directory watcher.
- Ignore the no_leading_underscores_for_library_prefixes lint in the generated
build script.
- Report changed assets when running as a deamon.
- Allow analyzer version 4.x.

## 2.1.8

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.1.9-dev
version: 2.1.9
description: A build system for Dart code generation and modular compilation.
repository: https://github.com/dart-lang/build/tree/master/build_runner

Expand All @@ -9,7 +9,7 @@ environment:
dependencies:
args: ^2.0.0
async: ^2.5.0
analyzer: ">=1.4.0 <4.0.0"
analyzer: ">=1.4.0 <5.0.0"
build: ">=2.1.0 <2.3.0"
build_config: ">=1.0.0 <1.1.0"
build_daemon: ^3.1.0
Expand Down
2 changes: 1 addition & 1 deletion build_runner_core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
yaml: ^3.0.0

dev_dependencies:
analyzer: ">=2.0.0 <4.0.0"
analyzer: ">=2.0.0 <5.0.0"
build_runner: ^2.0.0
build_test: ^2.0.0
lints: '>=1.0.0 <3.0.0'
Expand Down
2 changes: 1 addition & 1 deletion build_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ dependencies:
watcher: ^1.0.0

dev_dependencies:
analyzer: ">=2.1.0 <4.0.0"
analyzer: ">=2.1.0 <5.0.0"
collection: ^1.15.0
lints: '>=1.0.0 <3.0.0'
4 changes: 4 additions & 0 deletions build_vm_compilers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.11

- Allow the latest analyzer

## 1.0.10

- Update `pub run` references to `dart run`.
Expand Down
4 changes: 2 additions & 2 deletions build_vm_compilers/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build_vm_compilers
version: 1.0.10
version: 1.0.11
description: Builder implementations wrapping Dart VM compilers.
repository: https://github.com/dart-lang/build/tree/master/build_vm_compilers

environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
analyzer: ">=1.0.0 <4.0.0"
analyzer: ">=1.0.0 <5.0.0"
build: ^2.0.0
build_config: ^1.0.0
build_modules: ^4.0.0
Expand Down
4 changes: 3 additions & 1 deletion build_web_compilers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 3.2.3-dev
## 3.2.3

- Allow analyzer 4.x.

## 3.2.2

Expand Down
4 changes: 2 additions & 2 deletions build_web_compilers/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: build_web_compilers
version: 3.2.3-dev
version: 3.2.3
description: Builder implementations wrapping Dart compilers.
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers

environment:
sdk: ">=2.14.0-216.0.dev <3.0.0"

dependencies:
analyzer: ">=1.0.0 <4.0.0"
analyzer: ">=1.0.0 <5.0.0"
archive: ^3.0.0
bazel_worker: ^1.0.0
build: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
analyzer: ">=2.0.0 <4.0.0"
analyzer: ">=2.0.0 <5.0.0"
build: ^2.0.0
# Not imported in code, but used to constrain `build.yaml` requirements
build_config: ^1.0.0
Expand Down

0 comments on commit 092d1b6

Please sign in to comment.