diff --git a/example/pubspec.yaml b/example/pubspec.yaml index cb53d3782..6c89da335 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -5,8 +5,8 @@ environment: sdk: ">=2.0.0-dev.32.0 <2.0.0" dependencies: - angular: ^5.0.0-alpha+10 + angular: ^5.0.0-alpha+11 dev_dependencies: build_runner: ^0.8.5 - build_web_compilers: ^0.3.6 + build_web_compilers: ^0.4.0 diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 46c68d2cc..c0819b9b6 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -1,7 +1,7 @@ -- Always pass the argument `--fail-on-severe` to the `build` command. - ## 0.2.1 +- Support `package:build_web_compilers` `v0.4.0`. +- Always pass the argument `--fail-on-severe` to the `build` command. - Exit with an error if unsupported arguments are passed to `build` command. ## 0.2.0 diff --git a/webdev/lib/src/pubspec.dart b/webdev/lib/src/pubspec.dart index 03bedbb41..b966eb6a7 100644 --- a/webdev/lib/src/pubspec.dart +++ b/webdev/lib/src/pubspec.dart @@ -104,7 +104,8 @@ Future checkPubspecLock({@required bool requireBuildWebCompilers}) async { checkPackage('build_runner', new VersionConstraint.parse('^0.8.2')); if (requireBuildWebCompilers) { - checkPackage('build_web_compilers', new VersionConstraint.parse('^0.3.6')); + checkPackage( + 'build_web_compilers', new VersionConstraint.parse('>=0.3.6 <0.5.0')); } if (issues.isNotEmpty) { diff --git a/webdev/pubspec.yaml b/webdev/pubspec.yaml index 526c09bf2..b68a613ad 100644 --- a/webdev/pubspec.yaml +++ b/webdev/pubspec.yaml @@ -1,5 +1,5 @@ name: webdev -version: 0.2.1-dev +version: 0.2.1 author: Dart Team homepage: https://github.com/dart-lang/webdev description: >- diff --git a/webdev/test/integration_test.dart b/webdev/test/integration_test.dart index 70f195671..728f779ef 100644 --- a/webdev/test/integration_test.dart +++ b/webdev/test/integration_test.dart @@ -30,7 +30,7 @@ void main() { var invalidRanges = >{ 'build_runner': ['0.7.13+1', '0.9.0'], - 'build_web_compilers': ['0.3.5', '0.4.0'] + 'build_web_compilers': ['0.3.5', '0.5.0'] }; for (var command in ['build', 'serve']) { @@ -119,7 +119,7 @@ name: sample } else { assert(entry.key == 'build_web_compilers'); webCompilersVersion = version; - supportedRange = '^0.3.6'; + supportedRange = '>=0.3.6 <0.5.0'; } await d.file('pubspec.yaml', ''' @@ -242,7 +242,7 @@ dependencies: } const _supportedBuildRunnerVersion = '0.8.2'; -const _supportedWebCompilersVersion = '0.3.6'; +const _supportedWebCompilersVersion = '0.4.0'; String _pubspecLock( {String runnerVersion: _supportedBuildRunnerVersion,