NxOwnersConfiguration
Configuration for CODEOWNERS generation, provided by @nx/owners.
Table of contents
Section titled “Table of contents”Properties
Section titled “Properties”Properties
Section titled “Properties”format
Section titled “format”• Optional format: "github" | "gitlab" | "bitbucket"
Defaults to github.
outputPath
Section titled “outputPath”• Optional outputPath: string
Defaults to the format’s conventional location, e.g. .github/CODEOWNERS.
patterns
Section titled “patterns”• Optional patterns: NxOwnersPattern[]
prefix
Section titled “prefix”• Optional prefix: string
Prefix applied to owner strings, e.g. @org.
sections
Section titled “sections”• Optional sections: { defaultOwners?: string[] ; name: string ; numberOfRequiredApprovals?: number ; optional?: boolean ; patterns: NxOwnersSectionPattern[] }[]
GitLab only. Groups patterns with approval requirements.