use regex::Regex;
use std::path::PathBuf;
use crate::{
analyzer::config::AnalyzerConfig,
config::{prerelease::PrereleaseConfig, release_type::ReleaseType},
};
#[derive(Debug, Clone)]
pub struct CompiledAdditionalManifest {
pub path: PathBuf,
pub version_regex: Regex,
}
#[derive(Debug, Clone)]
pub struct ResolvedPackage {
pub name: String,
pub normalized_workspace_root: PathBuf,
pub normalized_full_path: PathBuf,
pub release_type: ReleaseType,
pub tag_prefix: String,
pub sub_packages: Vec<ResolvedPackage>,
pub prerelease: Option<PrereleaseConfig>,
pub auto_start_next: bool,
pub normalized_additional_paths: Vec<PathBuf>,
pub compiled_additional_manifests: Vec<CompiledAdditionalManifest>,
pub analyzer_config: AnalyzerConfig,
}