Ugrade generation steps to use bufv2, and Gitea Go package registry.
This commit is contained in:
12
buf.gen.yaml
12
buf.gen.yaml
@@ -1,10 +1,14 @@
|
||||
version: v1
|
||||
version: v2
|
||||
managed:
|
||||
enabled: true
|
||||
override:
|
||||
- file_option: go_package_prefix
|
||||
value: github.com/owlboard/backend-data-contracts
|
||||
plugins:
|
||||
- plugin: go
|
||||
- local: go
|
||||
out: gen/go
|
||||
opt: paths=source_relative
|
||||
- plugin: ts-proto
|
||||
path: ./node_modules/ts-proto/protoc-gen-ts_proto
|
||||
- local: ./node_modules/ts-proto/protoc-gen-ts_proto
|
||||
out: gen/ts
|
||||
opt:
|
||||
- esModuleInterop=true
|
||||
|
||||
Reference in New Issue
Block a user