WorkspaceInheritance
constWorkspaceInheritance:object
Defined in: policies/WorkspaceInheritance.ts:85
A policy that ensures Cargo workspace members inherit fields from the workspace config.
Type Declaration
Section titled “Type Declaration”description
Section titled “description”description:
string="Ensures Cargo workspace members inherit shared fields (version, authors, etc.) from workspace config."
handler
Section titled “handler”handler: (
__namedParameters) =>Promise<object[]>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PolicyArgs<WorkspaceInheritanceConfig>
Returns
Section titled “Returns”Promise<object[]>
match:
RegExp
name:
string="WorkspaceInheritance"