version: v2
plugins:
  - remote: buf.build/protocolbuffers/go
    out: ../shared-go/gen/proto
  - remote: buf.build/protocolbuffers/js
    out: ../shared-ts/gen/proto
  - remote: buf.build/protocolbuffers/python
    out: ../shared-py/gen/proto
  # gRPC plugins (president-final-rulings §2.5 / batch 0.9)
  - remote: buf.build/grpc/go
    out: ../shared-go/gen/proto
    opt:
      - paths=source_relative
  - remote: buf.build/grpc/node
    out: ../shared-ts/gen/proto
    opt:
      - grpc_js
  - remote: buf.build/grpc/python
    out: ../shared-py/gen/proto
