Enhance pm workflows for asdf, pub get, and recursive tighten behavior#1
Merged
Conversation
Add pubspec mod CLI (pm)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ions/actions/checkout-6 Bump actions/checkout from 4 to 6
Add Tighten command
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…ions/actions/checkout-6 Bump actions/checkout from 5 to 6
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
## Summary - add `pm set-asdf-dart` to select and set Dart via `asdf` from `environment.sdk` - add `--dart-3-version` override (default `3.11.6`) for Dart 3 selection - add global `--pub-get`/`--pubget` to run `dart --version` then `dart pub get` for modified pubspec directories - include modified `pubspec.yaml` path in update output messages - make `set-asdf-dart` honor `-r` and `--fail-on-parse-error` - make `tighten -r` use each package directory's `pubspec.lock` by default - update docs/changelog and bump version metadata to `1.2.3` ## Testing - `test/pm_test.dart` (full suite)
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.
Summary
pm set-asdf-dartto select and set Dart viaasdffromenvironment.sdk--dart-3-versionoverride (default3.11.6) for Dart 3 selection--pub-get/--pubgetto rundart --versionthendart pub getfor modified pubspec directoriespubspec.yamlpath in update output messagesset-asdf-darthonor-rand--fail-on-parse-errortighten -ruse each package directory'spubspec.lockby default1.2.3Testing
test/pm_test.dart(full suite)