BrunoToolingOptions
Defined in: capabilities/tooling.ts:40
Options for the Bruno tooling provider: the same two file lists the other tooling providers take.
Properties
Section titled “Properties”
optionalapp?: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.
collectionFiles?
Section titled “collectionFiles?”
optionalcollectionFiles?:string[]
Defined in: capabilities/tooling.ts:42
Collection JSON files (v2.1), relative to repoRoot.
envFiles?
Section titled “envFiles?”
optionalenvFiles?: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).
environmentLayers?
Section titled “environmentLayers?”
optionalenvironmentLayers?: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.
repoRoot?
Section titled “repoRoot?”
optionalrepoRoot?:string
Defined in: capabilities/tooling.ts:65
Working repo root. Defaults to process.cwd().
secretRefs?
Section titled “secretRefs?”
optionalsecretRefs?: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.
version?
Section titled “version?”
optionalversion?:string
Defined in: capabilities/tooling.ts:48
The info.version of each collection workspace() writes. Defaults to the version of the root package.json.
workspaceName?
Section titled “workspaceName?”
optionalworkspaceName?:string
Defined in: capabilities/tooling.ts:46
The name Bruno shows for the .bruno/ workspace that workspace() keeps (default Workspace).