pub struct WorkspaceConfig {
pub patterns: Vec<String>,
pub changed_since: BTreeMap<String, String>,
}Expand description
Workspace configuration for monorepo support.
Fields§
§patterns: Vec<String>Additional workspace patterns (beyond what’s in root package.json).
packages is accepted as a back-compat alias: an older fallow init --toml
wrote [workspaces] with a packages key, and reading it as patterns
keeps those existing configs scoping correctly. schemars omits serde
aliases, so schema.json documents only patterns.
changed_since: BTreeMap<String, String>Git baseline refs keyed by workspace roots, written relative to the project root as fallow list --workspaces prints them. Scopes check, dead-code, dupes and editor diagnostics; health, security and audit ignore it. A global changed-since request takes precedence. Unlisted workspaces and root files remain in full scope. A key that names no workspace, or a ref that Git cannot resolve, leaves every package in full scope with a warning.
Trait Implementations§
Source§impl Clone for WorkspaceConfig
impl Clone for WorkspaceConfig
Source§impl Debug for WorkspaceConfig
impl Debug for WorkspaceConfig
Source§impl<'de> Deserialize<'de> for WorkspaceConfig
impl<'de> Deserialize<'de> for WorkspaceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for WorkspaceConfig
impl JsonSchema for WorkspaceConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more