Skip to content

grekt workspace

Manage monorepo workspaces.

bash
grekt workspace <command>

Commands

CommandDescription
listList all artifacts in the workspace

grekt workspace list

List all artifacts discovered in the workspace.

bash
grekt workspace list

Output

bash
$ grekt workspace list

 Found 3 artifact(s) in workspace:

  @myorg/auth-rules v1.2.0
    backend/auth-rules

  @myorg/api-rules v2.0.0
    backend/api-rules

  @myorg/ui-rules v1.0.0
    frontend/ui-rules

Configuration

Create grekt-workspace.yaml at your repository root:

yaml
workspaces:
  - "backend/*"
  - "frontend/*"

Patterns use glob syntax:

PatternMatches
backend/*Direct children of backend/
backend/**All descendants of backend/
packages/*/artifactsSpecific path pattern

A directory is considered an artifact if it contains grekt.yaml.