Skip to content

Commit 998d544

Browse files
authored
Prep to release packages (#3784)
* prep packages for release, add back to workspace * update more sdk constraints to 3.6.0
1 parent 0c1e9db commit 998d544

File tree

35 files changed

+279
-421
lines changed

35 files changed

+279
-421
lines changed

.github/workflows/dart.yml

+215-291
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_test/pubspec.yaml

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: _test
22
publish_to: none
3-
# This package can't be part of the workspace because it needs to use the local
4-
# build_web_compilers, which also isn't part of the workspace. See the top-
5-
# level pubspec for details.
6-
#resolution: workspace
3+
resolution: workspace
74

85
environment:
96
sdk: ^3.6.0
@@ -29,21 +26,3 @@ dev_dependencies:
2926
test: ^1.16.0
3027
test_descriptor: ^2.0.1
3128
test_process: ^2.0.0
32-
33-
dependency_overrides:
34-
build:
35-
path: ../build
36-
build_config:
37-
path: ../build_config
38-
build_modules:
39-
path: ../build_modules
40-
build_resolvers:
41-
path: ../build_resolvers
42-
build_runner:
43-
path: ../build_runner
44-
build_runner_core:
45-
path: ../build_runner_core
46-
build_test:
47-
path: ../build_test
48-
build_web_compilers:
49-
path: ../build_web_compilers

_test_common/pubspec.yaml

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: _test_common
22
publish_to: none
33
description: Test infra for writing build tests. Is not published.
4-
#resolution: workspace
4+
resolution: workspace
55

66
environment:
7-
sdk: ^3.5.0
7+
sdk: ^3.6.0
88

99
dependencies:
1010
build: any
@@ -22,13 +22,3 @@ dependencies:
2222

2323
dev_dependencies:
2424
dart_flutter_team_lints: ^3.1.0
25-
26-
dependency_overrides:
27-
build:
28-
path: ../build
29-
build_config:
30-
path: ../build_config
31-
build_runner_core:
32-
path: ../build_runner_core
33-
build_test:
34-
path: ../build_test

build/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 2.4.2-wip
1+
## 2.4.2
22

3-
- Bump the min sdk to 3.6.0-228.0.dev.
3+
- Bump the min sdk to 3.6.0.
44
- Remove some unnecessary casts and non-null assertions now that we have private
55
field promotion.
66
- Require analyzer ^6.9.0, allow <8.0.0.

build/pubspec.yaml

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
name: build
2-
version: 2.4.2-wip
2+
version: 2.4.2
33
description: A package for authoring build_runner compatible code generators.
44
repository: https://github.com/dart-lang/build/tree/master/build
5-
6-
# This package can't be part of the workspace because it requires a very recent
7-
# Dart SDK - see the top-level pubspec for details.
8-
#resolution: workspace
5+
resolution: workspace
96

107
environment:
11-
sdk: ^3.6.0-228.0.dev
8+
sdk: ^3.6.0
129

1310
dependencies:
1411
analyzer: '>=6.9.0 <8.0.0'
@@ -27,10 +24,6 @@ dev_dependencies:
2724
dart_flutter_team_lints: ^3.1.0
2825
test: ^1.16.0
2926

30-
dependency_overrides:
31-
build_resolvers:
32-
path: ../build_resolvers
33-
3427
topics:
3528
- build-runner
3629
- codegen

build_config/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
## 1.1.2-wip
1+
## 1.1.2
22

33
- Stop using deprecated `JsonKey.ignore`.
4-
- Bump the min sdk to 3.5.0.
4+
- Bump the min sdk to 3.6.0.
55

66
## 1.1.1
77

build_config/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: build_config
2-
version: 1.1.2-wip
2+
version: 1.1.2
33
description: >-
44
Format definition and support for parsing `build.yaml` configuration.
55
repository: https://github.com/dart-lang/build/tree/master/build_config
66
resolution: workspace
77

88
environment:
9-
sdk: ^3.5.0
9+
sdk: ^3.6.0
1010

1111
dependencies:
1212
checked_yaml: ^2.0.0

build_daemon/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 4.0.3-wip
1+
## 4.0.3
22

3-
- Bump the min sdk to 3.5.0.
3+
- Bump the min sdk to 3.6.0.
44
- Update to be forward compatible with changes to `package:shelf_web_socket`.
55

66
## 4.0.2

build_daemon/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: build_daemon
2-
version: 4.0.3-wip
2+
version: 4.0.3
33
description: A daemon for running Dart builds.
44
repository: https://github.com/dart-lang/build/tree/master/build_daemon
55
resolution: workspace
66

77
environment:
8-
sdk: ^3.5.0
8+
sdk: ^3.6.0
99

1010
dependencies:
1111
built_collection: ^5.0.0

build_modules/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## 5.0.10-wip
1+
## 5.0.10
22

3+
- Bump the min sdk to 3.6.0.
34
- Support analyzer version 7.x.
45

56
## 5.0.10-beta.0

build_modules/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: build_modules
2-
version: 5.0.10-wip
2+
version: 5.0.10
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.5.0 <3.7.0-z'
10+
sdk: '>=3.6.0 <3.7.0-z'
1111

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

build_modules/test/fixtures/a/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: a
22
resolution: workspace
33
environment:
4-
sdk: ^3.5.0
4+
sdk: ^3.6.0
55

66
dependencies:
77
b:

build_modules/test/fixtures/b/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: b
22
resolution: workspace
33
environment:
4-
sdk: ^3.5.0
4+
sdk: ^3.6.0
55

66
dependencies:
77
a:

build_resolvers/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 2.4.3-wip
1+
## 2.4.3
22

33
- Require the latest analyzer, and stop passing the `withNullability`
44
parameter which was previously required and is now deprecated.

build_resolvers/pubspec.yaml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: build_resolvers
2-
version: 2.4.3-wip
2+
version: 2.4.3
33
description: Resolve Dart code in a Builder
44
repository: https://github.com/dart-lang/build/tree/master/build_resolvers
5-
6-
# This package can't be part of the workspace because it requires a very recent
7-
# Dart SDK - see the top-level pubspec for details.
8-
#resolution: workspace
5+
resolution: workspace
96

107
environment:
118
sdk: ^3.6.0

build_runner/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 2.4.14-wip
1+
## 2.4.14
22

33
- Write generated assets at the end of a build to avoid invalidating other
44
tools with a file watcher multiple times.

build_runner/pubspec.yaml

+3-15
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: build_runner
2-
version: 2.4.14-wip
2+
version: 2.4.14
33
description: A build system for Dart code generation and modular compilation.
44
repository: https://github.com/dart-lang/build/tree/master/build_runner
5-
#resolution: workspace
5+
resolution: workspace
66

77
environment:
88
sdk: ^3.6.0
@@ -20,7 +20,7 @@ dependencies:
2020
build_config: ">=1.1.0 <1.2.0"
2121
build_daemon: ^4.0.0
2222
build_resolvers: ^2.0.0
23-
build_runner_core: ^8.0.0-wip
23+
build_runner_core: ^8.0.0
2424
code_builder: ^4.2.0
2525
collection: ^1.15.0
2626
crypto: ^3.0.0
@@ -59,17 +59,5 @@ dev_dependencies:
5959
test_descriptor: ^2.0.0
6060
test_process: ^2.0.0
6161

62-
dependency_overrides:
63-
build:
64-
path: ../build
65-
build_modules:
66-
path: ../build_modules
67-
build_resolvers:
68-
path: ../build_resolvers
69-
build_runner_core:
70-
path: ../build_runner_core
71-
build_web_compilers:
72-
path: ../build_web_compilers
73-
7462
topics:
7563
- build-runner

build_runner/test/integration_tests/utils/build_descriptor.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ d.FileDescriptor _pubspec(String name,
235235
var buffer = StringBuffer()
236236
..writeln('name: $name')
237237
..writeln('environment:')
238-
..writeln(' sdk: ^3.5.0-259.0.dev');
238+
..writeln(' sdk: ^3.6.0');
239239

240240
void writeDeps(String group) {
241241
buffer.writeln(group);

build_runner_core/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## 8.0.0-wip
1+
## 8.0.0
22

33
- __Breaking__: Add `completeBuild` to `RunnerAssetWriter`, a method expected
44
to be called by the build system at the end of a completed build.
55
- Add `wrapInBatch` to obtain a reader/writer pair that will batch writes
66
before flushing them at the end of a build.
7-
- Bump the min sdk to 3.6.0-dev.228.
7+
- Bump the min sdk to 3.6.0.
88
- Require analyzer ^6.9.0, allow version 7.x.
99
- Fix analyzer deprecations.
1010

build_runner_core/pubspec.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: build_runner_core
2-
version: 8.0.0-wip
2+
version: 8.0.0
33
description: Core tools to organize the structure of a build and run Builders.
44
repository: https://github.com/dart-lang/build/tree/master/build_runner_core
55

66
# This package can't be part of the workspace because it requires a very recent
77
# Dart SDK - see the top-level pubspec for details.
8-
#resolution: workspace
8+
resolution: workspace
99

1010
environment:
1111
sdk: ^3.6.0
@@ -49,7 +49,3 @@ dev_dependencies:
4949

5050
topics:
5151
- build-runner
52-
53-
dependency_overrides:
54-
build_runner:
55-
path: ../build_runner

build_runner_core/test/asset/batch_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Future<PackageGraph> _createTestPackage() async {
7575
name: root
7676
7777
environment:
78-
sdk: ^3.5.0
78+
sdk: ^3.6.0
7979
'''),
8080
d.dir('lib', [
8181
d.file('source.dart'),

build_runner_core/test/fixtures/flutter_pkg/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Commit: 1bdf351.
33
name: flutter_gallery
44
environment:
5-
sdk: ^3.5.0
5+
sdk: ^3.6.0
66
dependencies:
77
collection: '>=1.9.1 <2.0.0'
88
flutter:
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: a
22
environment:
3-
sdk: ^3.5.0
3+
sdk: ^3.6.0
44
resolution: workspace
55
dependencies:
66
b:
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: b
22
environment:
3-
sdk: ^3.5.0
3+
sdk: ^3.6.0
44
resolution: workspace

build_runner_core/test/fixtures/workspace/pubspec.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages: {}
44
sdks:
5-
dart: ">=3.5.0-259.0.dev <4.0.0"
5+
dart: ">=3.6.0 <4.0.0"
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: workspace
22
environment:
3-
sdk: ^3.5.0
3+
sdk: ^3.6.0
44
workspace:
55
- pkgs/a
66
- pkgs/b

build_test/CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 2.2.3-wip
1+
## 2.2.3
22

3-
- Bump the min sdk to 3.5.0.
3+
- Bump the min sdk to 3.6.0.
44
- Allow analyzer version 7.x.
55

66
## 2.2.2

build_test/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: build_test
22
description: Utilities for writing unit tests of Builders.
3-
version: 2.2.3-wip
3+
version: 2.2.3
44
repository: https://github.com/dart-lang/build/tree/master/build_test
55
resolution: workspace
66

77
environment:
8-
sdk: ^3.5.0
8+
sdk: ^3.6.0
99

1010
dependencies:
1111
async: ^2.5.0

build_web_compilers/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
## 4.1.0-wip
1+
## 4.1.0
22

33
- Support package:archive version 4.x.
44
- Allow analyzer version 7.x.
5+
- Bump the min sdk to 3.6.0.
56

67
## 4.1.0-beta.3
78

build_web_compilers/pubspec.yaml

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: build_web_compilers
2-
version: 4.1.0-wip
2+
version: 4.1.0
33
description: Builder implementations wrapping the dart2js and DDC compilers.
44
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers
55
# This package can't be part of the workspace because it requires a very recent
66
# Dart SDK - see the top-level pubspec for details.
7-
#resolution: workspace
7+
resolution: workspace
88

99
environment:
1010
sdk: '>=3.6.0 <3.7.0-z'
@@ -42,10 +42,5 @@ dev_dependencies:
4242
test: ^1.16.0
4343
yaml: ^3.1.0
4444

45-
# TODO: remove once this package is back in the workspace
46-
dependency_overrides:
47-
build_modules:
48-
path: ../build_modules
49-
5045
topics:
5146
- build-runner

0 commit comments

Comments
 (0)