Skip to content

BrunoToolingOptions

Defined in: capabilities/tooling.ts:40

Options for the Bruno tooling provider: the same two file lists the other tooling providers take.

optional app?: string

Defined in: capabilities/tooling.ts:63

The program that starts Bruno for open(). Defaults to the macOS app’s; set it on any other platform.


optional collectionFiles?: string[]

Defined in: capabilities/tooling.ts:42

Collection JSON files (v2.1), relative to repoRoot.


optional envFiles?: string[]

Defined in: capabilities/tooling.ts:44

Environment JSON files, relative to repoRoot; each goes into every collection it is exported with (export requests hands a folder’s collections the files beside them).


optional environmentLayers?: Record<string, string>

Defined in: capabilities/tooling.ts:61

Bruno environment name to the vault layer (local, dev or prod) whose Environment holds its secrets, e.g. { "Sentinel (prod)": "prod" }. An environment with no layer keeps its secrets blank.


optional repoRoot?: string

Defined in: capabilities/tooling.ts:65

Working repo root. Defaults to process.cwd().


optional secretRefs?: Record<string, string>

Defined in: capabilities/tooling.ts:56

Secret variable name to the name of the entry that holds its value, e.g. { webhookSecret: "SENTINEL_WEBHOOK_SECRET" }. With environmentLayers, workspace() writes each such secret into the .bruno/ environments as a plain variable that refers to its own layer’s copy of the entry ({{process.env.DEV_SENTINEL_WEBHOOK_SECRET}} in a dev environment), which holocron open requests fills from that layer’s vault Environment. The request files keep the secret blank.


optional version?: string

Defined in: capabilities/tooling.ts:48

The info.version of each collection workspace() writes. Defaults to the version of the root package.json.


optional workspaceName?: string

Defined in: capabilities/tooling.ts:46

The name Bruno shows for the .bruno/ workspace that workspace() keeps (default Workspace).