Skip to content

Commit

Permalink
support 3.8 pre-release sdks (#3795)
Browse files Browse the repository at this point in the history
* support 3.8 pre-release sdks

* drop usage of dart:html from example, migrate to package:web
  • Loading branch information
jakemac53 authored Jan 17, 2025
1 parent e896622 commit 3e50ea7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
4 changes: 3 additions & 1 deletion build_modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## 5.0.11-wip
## 5.0.11

- Support 3.8.0 pre-release sdks.

## 5.0.10

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: 5.0.11-wip
version: 5.0.11
description: >-
Builders to analyze and split Dart code into individually compilable modules
based on imports.
repository: https://github.com/dart-lang/build/tree/master/build_modules
resolution: workspace

environment:
sdk: '>=3.6.0 <3.7.0-z'
sdk: '>=3.6.0 <3.8.0-z'

dependencies:
analyzer: '>=5.1.0 <8.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 @@
## 4.1.1-wip
## 4.1.1

- Support 3.8.0 pre-release sdks.

## 4.1.0

Expand Down
4 changes: 2 additions & 2 deletions build_web_compilers/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: build_web_compilers
version: 4.1.1-wip
version: 4.1.1
description: Builder implementations wrapping the dart2js and DDC compilers.
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers
resolution: workspace

environment:
sdk: '>=3.6.0 <3.7.0-z'
sdk: '>=3.6.0 <3.8.0-z'

dependencies:
analyzer: '>=5.1.0 <8.0.0'
Expand Down
1 change: 1 addition & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
build: ^2.0.0
# Not imported in code, but used to constrain `build.yaml` requirements
build_config: ^1.0.0
web: ^1.1.0

dev_dependencies:
build_runner: ^2.0.0
Expand Down
5 changes: 2 additions & 3 deletions example/web/index.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:html';

import 'package:example/generated/texts/web.dart';
import 'package:web/web.dart';

void main() {
querySelector('#content')!.appendText(running);
(document.querySelector('#content') as HTMLElement).innerText += running;
}
2 changes: 1 addition & 1 deletion example/web/index.dart.info
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Input ID: example|web/index.dart
Member count: 1
Visible libraries: 27
Visible libraries: 216

0 comments on commit 3e50ea7

Please sign in to comment.