Expand description
§changepacks-core
Core traits, types, and interfaces for the changepacks version management system.
This crate defines the fundamental abstractions used across all language-specific
implementations. The main traits are Package for single projects, Workspace for
monorepo roots, and ProjectFinder for discovering projects in a git tree.
Modules§
Structs§
- Change
Pack Log - On-disk changepack log entry with changes map, note, and timestamp.
- Change
Pack Result - Aggregated version update results for JSON output format.
- Change
Pack Result Log - Single changepack log entry for aggregated results.
- Config
- Loaded from
.changepacks/config.json, controls ignore patterns, base branch, publish commands, and update-on rules. - Publish
Result - Result of a publish attempt with success flag and optional error message.
Enums§
- Language
- Supported programming languages and their corresponding package manager ecosystems.
- Project
- Discriminated union of Package (single project) or Workspace (monorepo root).
- Update
Type - Semantic versioning bump types following semver conventions.
Traits§
- Package
- Interface for single versioned packages.
- Project
Finder - Visitor pattern for discovering projects by walking the git tree.
- Workspace
- Interface for monorepo workspace roots.