Skip to main content

Crate changepacks_core

Crate changepacks_core 

Source
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§

publish

Structs§

ChangePackLog
On-disk changepack log entry with changes map, note, and timestamp.
ChangePackResult
Aggregated version update results for JSON output format.
ChangePackResultLog
Single changepack log entry for aggregated results.
Config
Loaded from .changepacks/config.json, controls ignore patterns, base branch, publish commands, and update-on rules.
PublishResult
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).
UpdateType
Semantic versioning bump types following semver conventions.

Traits§

Package
Interface for single versioned packages.
ProjectFinder
Visitor pattern for discovering projects by walking the git tree.
Workspace
Interface for monorepo workspace roots.