Skip to main content

PartialProjectConfig

Configures information and tasks for a project. Docs: https://moonrepo.dev/docs/config/project

Index

Properties

optional$schema

$schema?: null | string = null | string

optionaldependsOn

dependsOn?: null | PartialProjectDependsOn[]

Other projects that this project depends on.

optionalenv

env?: null | Record<string, string>

A mapping of environment variables that will be set for all tasks within the project.

optionalfileGroups

fileGroups?: null | Record<string, string[]>

A mapping of group IDs to a list of file paths, globs, and environment variables, that can be referenced from tasks.

optionalid

id?: null | string

Overrides the ID within the project graph, as defined in the workspace projects setting.

optionallanguage

language?: null | string = null | string

The primary programming language of the project.

optionalowners

owners?: null | PartialOwnersConfig

Defines ownership of source code within the current project, by mapping file paths and globs to owners. An owner is either a user, team, or group.

optionalplatform

platform?: null | PlatformType = null | PlatformType

The default platform for all tasks within the project, if their platform is unknown.

optionalproject

Expanded information about the project.

optionalstack

stack?: null | StackType = null | StackType

The technology stack of the project, for categorizing.

optionaltags

tags?: null | string[]

A list of tags that this project blongs to, for categorizing, boundary enforcement, and task inheritance.

optionaltasks

tasks?: null | Record<string, PartialTaskConfig>

A mapping of tasks by ID to parameters required for running the task.

optionaltoolchain

Overrides top-level toolchain settings, scoped to this project.

optionaltype

type?: null | ProjectType = null | ProjectType

The type of project.

optionalworkspace

Overrides top-level workspace settings, scoped to this project.