grekt workspace
Manage monorepo workspaces.
bash
grekt workspace <command>Commands
| Command | Description |
|---|---|
list | List all artifacts in the workspace |
grekt workspace list
List all artifacts discovered in the workspace.
bash
grekt workspace listOutput
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-rulesConfiguration
Create grekt-workspace.yaml at your repository root:
yaml
workspaces:
- "backend/*"
- "frontend/*"Patterns use glob syntax:
| Pattern | Matches |
|---|---|
backend/* | Direct children of backend/ |
backend/** | All descendants of backend/ |
packages/*/artifacts | Specific path pattern |
A directory is considered an artifact if it contains grekt.yaml.
Related commands
- grekt version --exec - Version with external tools
- grekt publish --changed - Publish changed artifacts
- Monorepo guide - Full workflow