forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.work.json
23 lines (23 loc) · 1.12 KB
/
buf.work.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"$comment": "https://buf.build/docs/configuration/v1/buf-work-yaml",
"$id": "https://json.schemastore.org/buf.work.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "buf.work.yaml",
"description": "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).",
"type": "object",
"properties": {
"version": {
"description": "Required. Defines the current configuration version. The only accepted value is v1.",
"type": "string",
"const": "v1"
},
"directories": {
"description": "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.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["version", "directories"]
}