Skip to main content

WorkspaceConfig

Configures all aspects of the moon workspace. Docs: https://moonrepo.dev/docs/config/workspace

Index

Properties

optional$schema

$schema?: string = ```ts 'https://moonrepo.dev/schemas/workspace.json' ```

codeowners

codeowners: CodeownersConfig

Configures code ownership rules for generating a CODEOWNERS file.

constraints

constraints: ConstraintsConfig

Configures boundaries and constraints between projects.

docker

docker: DockerConfig

Configures Docker integration for the workspace.

experiments

experiments: ExperimentsConfig

Configures experiments across the entire moon workspace.

extends

extends: null | string

Extends another workspace configuration file. Supports a relative file path or a secure URL.

extensions

extensions: Record<string, ExtensionConfig>

Configures extensions that can be executed with moon ext.

generator

generator: GeneratorConfig

Configures the generator for scaffolding from templates.

hasher

hasher: HasherConfig

Configures aspects of the content hashing engine.

notifier

notifier: NotifierConfig

Configures how and where notifications are sent.

projects

Configures all projects within the workspace to create a project graph. Accepts a list of globs, a mapping of projects to relative file paths, or both values.

runner

runner: RunnerConfig

Configures aspects of the task runner (also known as the action pipeline).

optionaltelemetry

telemetry?: boolean = ```ts true ```

Collects anonymous usage information, and checks for new moon versions.

vcs

Configures the version control system (VCS).

versionConstraint

versionConstraint: null | string

Requires a specific version of the moon binary.