Skip to content
Nx Cloud CI is in private beta 10.6× faster average CI time with 79% less compute. Join the beta

Configuration for CODEOWNERS generation, provided by @nx/owners.

• Optional format: "github" | "gitlab" | "bitbucket"

Defaults to github.


• Optional outputPath: string

Defaults to the format’s conventional location, e.g. .github/CODEOWNERS.


• Optional patterns: NxOwnersPattern[]


• Optional prefix: string

Prefix applied to owner strings, e.g. @org.


• Optional sections: { defaultOwners?: string[] ; name: string ; numberOfRequiredApprovals?: number ; optional?: boolean ; patterns: NxOwnersSectionPattern[] }[]

GitLab only. Groups patterns with approval requirements.