chore(console): buf stub build (#5215)

* buf gen yaml

* dep, buildcmd

* deps

* buf yml

* buf work

* gen yml

* buf

* buf mod update

* path

* chore: fix buf

* npm package

* build as prodbuild

* trigger

* temp rm basepath

* base href

* generate as prelint

* proto proto

* rm unused gitignore

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Max Peintner
2023-02-17 15:09:11 +01:00
committed by GitHub
parent 0ca5760557
commit 40ad36f5fd
10 changed files with 212 additions and 76 deletions

14
console/buf.gen.yaml Normal file
View File

@@ -0,0 +1,14 @@
# buf.gen.yaml
version: v1
managed:
enabled: true
plugins:
- plugin: buf.build/protocolbuffers/js
out: src/app/proto/generated
opt: import_style=commonjs,binary
- plugin: buf.build/grpc/web
out: src/app/proto/generated
opt: import_style=typescript,mode=grpcweb
- plugin: buf.build/grpc-ecosystem/openapiv2
out: src/app/proto/generated
opt: allow_delete_body