#[derive(Debug, Clone)]
pub struct MonorepoDetectionConfig {
pub max_depth: usize,
pub min_project_confidence: f32,
pub deep_scan: bool,
pub exclude_patterns: Vec<String>,
}
impl Default for MonorepoDetectionConfig {
fn default() -> Self {
Self {
max_depth: 5,
min_project_confidence: 0.6,
deep_scan: true,
exclude_patterns: vec![
"node_modules".to_string(),
".git".to_string(),
"target".to_string(),
"build".to_string(),
"dist".to_string(),
".next".to_string(),
"__pycache__".to_string(),
"vendor".to_string(),
".venv".to_string(),
"venv".to_string(),
".env".to_string(),
"coverage".to_string(),
"docs".to_string(),
"tmp".to_string(),
"temp".to_string(),
],
}
}
}