Skip to content

Commit 3e50ea7

Browse files
authored
support 3.8 pre-release sdks (#3795)
* support 3.8 pre-release sdks * drop usage of dart:html from example, migrate to package:web
1 parent e896622 commit 3e50ea7

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

build_modules/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## 5.0.11-wip
1+
## 5.0.11
2+
3+
- Support 3.8.0 pre-release sdks.
24

35
## 5.0.10
46

build_modules/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: build_modules
2-
version: 5.0.11-wip
2+
version: 5.0.11
33
description: >-
44
Builders to analyze and split Dart code into individually compilable modules
55
based on imports.
66
repository: https://github.com/dart-lang/build/tree/master/build_modules
77
resolution: workspace
88

99
environment:
10-
sdk: '>=3.6.0 <3.7.0-z'
10+
sdk: '>=3.6.0 <3.8.0-z'
1111

1212
dependencies:
1313
analyzer: '>=5.1.0 <8.0.0'

build_web_compilers/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
## 4.1.1-wip
1+
## 4.1.1
2+
3+
- Support 3.8.0 pre-release sdks.
24

35
## 4.1.0
46

build_web_compilers/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: build_web_compilers
2-
version: 4.1.1-wip
2+
version: 4.1.1
33
description: Builder implementations wrapping the dart2js and DDC compilers.
44
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers
55
resolution: workspace
66

77
environment:
8-
sdk: '>=3.6.0 <3.7.0-z'
8+
sdk: '>=3.6.0 <3.8.0-z'
99

1010
dependencies:
1111
analyzer: '>=5.1.0 <8.0.0'

example/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies:
99
build: ^2.0.0
1010
# Not imported in code, but used to constrain `build.yaml` requirements
1111
build_config: ^1.0.0
12+
web: ^1.1.0
1213

1314
dev_dependencies:
1415
build_runner: ^2.0.0

example/web/index.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'dart:html';
6-
75
import 'package:example/generated/texts/web.dart';
6+
import 'package:web/web.dart';
87

98
void main() {
10-
querySelector('#content')!.appendText(running);
9+
(document.querySelector('#content') as HTMLElement).innerText += running;
1110
}

example/web/index.dart.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Input ID: example|web/index.dart
22
Member count: 1
3-
Visible libraries: 27
3+
Visible libraries: 216

0 commit comments

Comments
 (0)