Skip to content

Commit

Permalink
Support latest pkg:js in pkg:build_runner and pkg:build_web_compilers (
Browse files Browse the repository at this point in the history
…#3640)

Prepare both for publish

Co-authored-by: Jake Macdonald <jakemac@google.com>
  • Loading branch information
kevmoo and jakemac53 committed Jan 11, 2024
1 parent 0816f59 commit 8e1cbf8
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 7 deletions.
4 changes: 4 additions & 0 deletions build_modules/CHANGELOG.md
@@ -1,3 +1,7 @@
## 5.0.7

- Fixes to support package:js version 0.7.0.

## 5.0.6

- Allow version 3.4.x of the Dart SDK.
Expand Down
3 changes: 2 additions & 1 deletion build_modules/lib/src/module_library.dart
Expand Up @@ -155,7 +155,8 @@ class ModuleLibrary {
if (parsed.directives.any((d) =>
d is UriBasedDirective &&
d.uri.stringValue?.startsWith('dart:_') == true &&
id.package != 'dart_internal')) {
id.package != 'dart_internal' &&
id.package != 'js')) {
return ModuleLibrary._nonImportable(id);
}
if (_isPart(parsed)) {
Expand Down
2 changes: 1 addition & 1 deletion build_modules/pubspec.yaml
@@ -1,5 +1,5 @@
name: build_modules
version: 5.0.6
version: 5.0.7
description: >-
Builders to analyze and split Dart code into individually compilable modules
based on imports.
Expand Down
3 changes: 2 additions & 1 deletion build_runner/CHANGELOG.md
@@ -1,7 +1,8 @@
## 2.4.8-wip
## 2.4.8

- Update README.md to point to the FAQ and other docs.
- Print stack traces for `Error` subtype exceptions in non-verbose mode.
- Support latest version of `package:js`.

## 2.4.7

Expand Down
4 changes: 2 additions & 2 deletions build_runner/pubspec.yaml
@@ -1,5 +1,5 @@
name: build_runner
version: 2.4.8-wip
version: 2.4.8
description: A build system for Dart code generation and modular compilation.
repository: https://github.com/dart-lang/build/tree/master/build_runner

Expand Down Expand Up @@ -29,7 +29,7 @@ dependencies:
graphs: ^2.2.0
http_multi_server: ^3.0.0
io: ^1.0.0
js: ^0.6.3
js: '>=0.6.3 <0.8.0'
logging: ^1.0.0
meta: ^1.3.0
mime: ^1.0.0
Expand Down
5 changes: 5 additions & 0 deletions build_web_compilers/CHANGELOG.md
@@ -1,3 +1,8 @@
## 4.0.9

- Support latest version of `package:js`.
- Allow `dart:_js_annotations` on web platforms.

## 4.0.8

- Allow version 3.4.x of the Dart SDK.
Expand Down
1 change: 1 addition & 0 deletions build_web_compilers/lib/src/platforms.dart
Expand Up @@ -6,6 +6,7 @@ import 'package:build_modules/build_modules.dart';

const _libraries = [
'_internal',
'_js_annotations',
'async',
'collection',
'convert',
Expand Down
4 changes: 2 additions & 2 deletions build_web_compilers/pubspec.yaml
@@ -1,5 +1,5 @@
name: build_web_compilers
version: 4.0.8
version: 4.0.9
description: Builder implementations wrapping the dart2js and DDC compilers.
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers

Expand All @@ -15,7 +15,7 @@ dependencies:
build_modules: ^5.0.0
collection: ^1.15.0
glob: ^2.0.0
js: ^0.6.3
js: '>=0.6.3 <0.8.0'
logging: ^1.0.0
path: ^1.8.0
pool: ^1.5.0
Expand Down

0 comments on commit 8e1cbf8

Please sign in to comment.