mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-19 21:46:19 +00:00
31 lines
835 B
YAML
31 lines
835 B
YAML
version: v1
|
|
managed:
|
|
enabled: true
|
|
go_package_prefix:
|
|
default: github.com/boojack/slash/proto/gen
|
|
except:
|
|
- buf.build/googleapis/googleapis
|
|
plugins:
|
|
- plugin: buf.build/protocolbuffers/go:v1.31.0
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
- plugin: buf.build/grpc/go:v1.3.0
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
- plugin: buf.build/grpc-ecosystem/gateway:v2.16.1
|
|
out: gen
|
|
opt:
|
|
- paths=source_relative
|
|
# Generate types for the web client.
|
|
- plugin: buf.build/bufbuild/es:v1.3.0
|
|
out: ../frontend/web/src/types/proto
|
|
# Generate types for the extension client.
|
|
- plugin: buf.build/bufbuild/es:v1.3.0
|
|
out: ../frontend/extension/src/types/proto
|
|
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
|
|
out: gen
|
|
opt:
|
|
- markdown,README.md,source_relative
|