Skip to content

Commit 4539238

Browse files
committed
Support pkg:build_web_compilers 0.4.0
Prepare for release
1 parent 0927aa6 commit 4539238

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ environment:
55
sdk: ">=2.0.0-dev.32.0 <2.0.0"
66

77
dependencies:
8-
angular: ^5.0.0-alpha+10
8+
angular: ^5.0.0-alpha+11
99

1010
dev_dependencies:
1111
build_runner: ^0.8.5
12-
build_web_compilers: ^0.3.6
12+
build_web_compilers: ^0.4.0

webdev/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 0.2.1
22

3+
- Support `package:build_web_compilers` `v0.4.0`.
34
- Always pass the argument `--fail-on-severe` to the `build` command.
45
- Exit with an error if unsupported arguments are passed to `build` command.
56

webdev/lib/src/pubspec.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ Future checkPubspecLock({@required bool requireBuildWebCompilers}) async {
104104
checkPackage('build_runner', new VersionConstraint.parse('^0.8.2'));
105105

106106
if (requireBuildWebCompilers) {
107-
checkPackage('build_web_compilers', new VersionConstraint.parse('^0.3.6'));
107+
checkPackage(
108+
'build_web_compilers', new VersionConstraint.parse('>=0.3.6 <0.5.0'));
108109
}
109110

110111
if (issues.isNotEmpty) {

webdev/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: webdev
2-
version: 0.2.1-dev
2+
version: 0.2.1
33
author: Dart Team <[email protected]>
44
homepage: https://github.com/dart-lang/webdev
55
description: >-

webdev/test/integration_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void main() {
3030

3131
var invalidRanges = <String, List<String>>{
3232
'build_runner': ['0.7.13+1', '0.9.0'],
33-
'build_web_compilers': ['0.3.5', '0.4.0']
33+
'build_web_compilers': ['0.3.5', '0.5.0']
3434
};
3535

3636
for (var command in ['build', 'serve']) {
@@ -119,7 +119,7 @@ name: sample
119119
} else {
120120
assert(entry.key == 'build_web_compilers');
121121
webCompilersVersion = version;
122-
supportedRange = '^0.3.6';
122+
supportedRange = '>=0.3.6 <0.5.0';
123123
}
124124

125125
await d.file('pubspec.yaml', '''
@@ -242,7 +242,7 @@ dependencies:
242242
}
243243

244244
const _supportedBuildRunnerVersion = '0.8.2';
245-
const _supportedWebCompilersVersion = '0.3.6';
245+
const _supportedWebCompilersVersion = '0.4.0';
246246

247247
String _pubspecLock(
248248
{String runnerVersion: _supportedBuildRunnerVersion,

0 commit comments

Comments
 (0)