Add pubspec mod CLI (pm)#1
Merged
Merged
Conversation
robrbecker
approved these changes
Mar 20, 2026
robrbecker
pushed a commit
that referenced
this pull request
May 26, 2026
Enhance pm workflows for asdf, pub get, and recursive tighten behavior
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.
This pull request introduces significant improvements to project automation, documentation, and dependency management. The main changes include adding CI/CD workflows, automating dependency updates, updating SDK constraints, and expanding documentation for both the
replaceand newpmcommand-line tools. Additionally, new test fixtures are added to support dependency constraint editing and recursive operations.Automation and CI/CD:
.github/workflows/ci.ymlto automate testing, formatting, and analysis for every push and pull request onmain..github/dependabot.ymlto automate dependency updates for Dart packages and GitHub Actions on a weekly schedule.Dependency management:
pubspec.yamlto>=3.0.0 <4.0.0, addedpubspec_manageras a dependency, and includedpathandtestas dev dependencies. Also, replaced thecidersection with the newpubmodexecutable.Documentation enhancements:
README.mdwith detailed installation instructions for bothreplaceand the newpmtool, including usage examples, command descriptions, and notes on constraint tightening. [1] [2]README.md, including glob syntax links and dotfile handling. [1] [2] [3]Test fixtures for dependency editing:
pubspec.yamlfiles undertest/fixtures/pubmod/to support testing of dependency constraint editing, recursive operations, and error handling for malformed files. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]Other improvements:
analysis_options.yamlto exclude test fixtures from static analysis.Makefilefor building and installing executables with helpful target descriptions.