mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-19 01:58:44 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user