From 0927aa630a9073a2fa6f24f964f61dbe71f02573 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 7 May 2018 15:23:17 -0700 Subject: [PATCH 1/2] fix chaneglog --- webdev/CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 46c68d2cc..ef594e241 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -1,7 +1,6 @@ -- Always pass the argument `--fail-on-severe` to the `build` command. - ## 0.2.1 +- 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 From 4539238d490b1d7ab20f9d5283d51e7319ec4805 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 7 May 2018 15:24:35 -0700 Subject: [PATCH 2/2] Support pkg:build_web_compilers 0.4.0 Prepare for release --- example/pubspec.yaml | 4 ++-- webdev/CHANGELOG.md | 1 + webdev/lib/src/pubspec.dart | 3 ++- webdev/pubspec.yaml | 2 +- webdev/test/integration_test.dart | 6 +++--- 5 files changed, 9 insertions(+), 7 deletions(-) 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 ef594e241..c0819b9b6 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -1,5 +1,6 @@ ## 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. 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,