mirror of
https://github.com/MizuchiLabs/mantrae.git
synced 2026-05-23 01:48:47 -05:00
39 lines
910 B
YAML
39 lines
910 B
YAML
version: v2
|
|
clean: true
|
|
managed:
|
|
enabled: true
|
|
override:
|
|
- file_option: go_package_prefix
|
|
value: github.com/mizuchilabs/mantrae/internal/gen
|
|
disable:
|
|
- file_option: go_package
|
|
module: buf.build/bufbuild/protovalidate
|
|
plugins:
|
|
- protoc_builtin: go
|
|
out: internal/gen
|
|
opt: paths=source_relative
|
|
- local: protoc-gen-connect-go
|
|
out: internal/gen
|
|
opt:
|
|
- paths=source_relative
|
|
- simple
|
|
- local: protoc-gen-es
|
|
out: web/ui/src/lib/gen
|
|
opt: target=ts
|
|
include_imports: true
|
|
- local: protoc-gen-connect-openapi
|
|
out: internal/api/server/openapi
|
|
strategy: all
|
|
opt:
|
|
- features=connectrpc;google.api.http;protovalidate
|
|
- allow-get
|
|
- with-streaming
|
|
- format=json
|
|
- path=openapi.json
|
|
- base=openapi.yaml
|
|
|
|
inputs:
|
|
- git_repo: https://github.com/mizuchilabs/protos.git
|
|
branch: main
|
|
subdir: mantrae
|