Skip to main content

Interface: GetProjectContext

Defined in: packages/core/src/application/use-cases/get-project-context.ts:66

Compiles the project-level context block without a specific change or lifecycle step.

Performs steps 1–4 of the context compilation pipeline (project context: entries, project-level include/exclude patterns, workspace-level include/exclude patterns) with ALL configured workspaces treated as active. Step 5 (dependsOn traversal from a change's specIds dependsOn metadata) is not performed — that requires a specific change.

Methods

execute()

execute(input): Promise<GetProjectContextResult>

Defined in: packages/core/src/application/use-cases/get-project-context.ts:107

Compiles the project-level context for all configured workspaces.

Parameters

input

GetProjectContextInput

Context compilation parameters (no change required)

Returns

Promise<GetProjectContextResult>

Assembled context entries, matched specs, and warnings

Throws

If the schema reference cannot be resolved