mirror of
https://github.com/aykhans/slash-e.git
synced 2025-12-13 20:29:21 +00:00
chore: update dependencies
This commit is contained in:
@@ -1,25 +1,27 @@
|
||||
version: v1
|
||||
version: v2
|
||||
managed:
|
||||
enabled: true
|
||||
go_package_prefix:
|
||||
default: github.com/yourselfhosted/slash/proto/gen
|
||||
except:
|
||||
- buf.build/googleapis/googleapis
|
||||
disable:
|
||||
- file_option: go_package
|
||||
module: buf.build/googleapis/googleapis
|
||||
override:
|
||||
- file_option: go_package_prefix
|
||||
value: github.com/yourselfhosted/slash/proto/gen
|
||||
plugins:
|
||||
- plugin: buf.build/protocolbuffers/go
|
||||
- remote: buf.build/protocolbuffers/go
|
||||
out: gen
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- plugin: buf.build/grpc/go
|
||||
- remote: buf.build/grpc/go
|
||||
out: gen
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- plugin: buf.build/grpc-ecosystem/gateway
|
||||
- remote: buf.build/grpc-ecosystem/gateway
|
||||
out: gen
|
||||
opt:
|
||||
- paths=source_relative
|
||||
# Generate types for the web client.
|
||||
- plugin: buf.build/community/stephenh-ts-proto
|
||||
- remote: buf.build/community/stephenh-ts-proto
|
||||
out: ../frontend/web/src/types/proto
|
||||
# reference: https://github.com/deeplay-io/nice-grpc/blob/master/packages/nice-grpc-web/README.md#using-ts-proto
|
||||
opt:
|
||||
@@ -30,10 +32,10 @@ plugins:
|
||||
- useExactTypes=false
|
||||
- esModuleInterop=true
|
||||
- stringEnums=true
|
||||
- plugin: buf.build/community/pseudomuto-doc
|
||||
- remote: buf.build/community/pseudomuto-doc
|
||||
out: gen
|
||||
opt:
|
||||
- markdown,README.md,source_relative
|
||||
- plugin: buf.build/grpc-ecosystem/openapiv2
|
||||
- remote: buf.build/grpc-ecosystem/openapiv2
|
||||
out: gen
|
||||
opt: output_format=yaml,allow_merge=true
|
||||
|
||||
Reference in New Issue
Block a user