Repository navigation
chore(deps): support build 5 in the CLI - #438
Merged
Merged
Conversation
Bumps [build](https://github.com/dart-lang/build) from 4.0.11 to 5.0.0. - [Release notes](https://github.com/dart-lang/build/releases) - [Commits](dart-lang/build@build-v4.0.11...build-v5.0.0) --- updated-dependencies: - dependency-name: build dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow the CLI Mason builder to use build 5 while retaining build 4 support by broadening the constraint from ^4.0.3 to >=4.0.3 <6.0.0. The CLI minimum remains Dart 3.12.
Build 5 adds BuildStep.librarySourceSink, which breaks older BuildStep implementers, including build_runner 2.16.2 and earlier. This CLI builder implements Builder and consumes BuildStep. Fresh resolution selects build 5.0.0, build_runner 2.17.1, and build_config 1.4.0 without dependency overrides or added package names; older compatible build_runner resolutions can retain build 4.
Validation: the real Mason bundle generator succeeds with build 5, the generated code analyzes cleanly, and all 139 CLI tests pass with the current merged TypeScript and Python fixtures and CI mode enabled. The existing exact-head hosted Dart 3.12 lane also resolves build 5.0.0/build_runner 2.17.1 and passes.