pubspec_manager library
Pubspec Manager
Handles reading and writing pubspec.yaml files while preserving comments, formatting, and structure. Only modifies dependency sections when needed.
Classes
- DependencyChange
- Represents a change to be made to dependencies
- PubspecData
- Data structure for pubspec content
- PubspecManager
- Manager for pubspec.yaml file operations
- SectionInfo
- Information about a section in pubspec.yaml
Enums
- ChangeAction
- Types of changes that can be made to dependencies