Skip to main content

WorkspaceRootResolution

HardKAS SDK


HardKAS SDK / config/src / WorkspaceRootResolution

Interface: WorkspaceRootResolution

Defined in: packages/config/src/workspace-root.ts:34

Properties​

configPath?​

optional configPath?: string

Defined in: packages/config/src/workspace-root.ts:38

The hardkas.config.* that decided the root, when one did.


explicit?​

optional explicit?: string

Defined in: packages/config/src/workspace-root.ts:42

The --workspace value as given, when one was.


root​

root: string

Defined in: packages/config/src/workspace-root.ts:36

The workspace root: the config's directory, or the start directory when no config is up the tree.


startDir​

startDir: string

Defined in: packages/config/src/workspace-root.ts:40

Where the walk started: the explicit directory, or the current directory.