Generate TypeScript protobuf files (#37009)

* Specify the path for protoc-gen-ts so it doesn't use @protobuf-ts/plugin

* Add TypeScript protobuf generation

* Add the TypeScript generated protobufs to gitattributes

* Add the generated TypeScript protobuf files

* Add `gen/proto/ts` everywhere `gen/proto/js` is referenced

* Use npm exec to avoid a hard-coded path

* Add --yes flag to npm exec

* Also update JS generation to use npm exec

* Specify version number in buf config

* Re-run make grpc
This commit is contained in:
Ryan Clark
2024-01-26 07:50:29 +00:00
committed by GitHub
parent d3f6053e0f
commit 921900798e
57 changed files with 34143 additions and 0 deletions
+2
View File
@@ -6,3 +6,5 @@ docs/theme/js/theme.js linguist-vendored=false
# https://github.com/github/linguist/blob/v7.23.0/lib/linguist/generated.rb#L349-L358
*_pb.js linguist-generated
*_pb.d.ts linguist-generated
*_pb.ts linguist-generated
*_pb.grpc-*.ts linguist-generated