Type object
File match buf.work.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/buf-work-yaml/latest.json
Source https://www.schemastore.org/buf.work.json

Validate with Lintel

npx @lintel/lintel check
Type: object

buf.work.yaml is used to define a workspace, which is an advanced local development feature. Workspaces make it possible to consolidate one or more modules into a single buildable unit. They also allow users to run buf operations across multiple modules with a single execution (such as buf lint).

Properties

version string required

Required. Defines the current configuration version. The only accepted value is v1.

Constant: "v1"
directories string[] required

Required. Lists the directories that define modules to be included in the workspace. The directory paths must be relative to the buf.work.yaml, and can't point to a location outside of the directory where your buf.work.yaml is.