Skip to content

Commit

Permalink
chore(platform): gencode should generate js and d.ts files (#292)
Browse files Browse the repository at this point in the history
* chore(platform): gencode should generate js and d.ts files

* update buf.gen.yaml and proto generation script to clean gencode on run

* dummy to fix hanging CI

* remove unneeded dep
  • Loading branch information
jakedoublev authored May 29, 2024
1 parent 30fb685 commit cc32059
Show file tree
Hide file tree
Showing 67 changed files with 7,570 additions and 15,135 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# collapses proto gencode in PR diffs by default
lib/src/platform/** linguist-generated=true
19 changes: 10 additions & 9 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Learn more: https://docs.buf.build/configuration/v1/buf-gen-yaml
version: v1
plugins:
- name: es
opt: target=ts
out: lib/src/platform
- name: connect-es
out: lib/src/platform
opt: target=ts
- plugin: buf.build/grpc/web
out: lib/src/platform
opt: import_style=typescript,mode=grpcwebtext
- plugin: es
out: lib/src/platform
opt:
- target=js+dts
- import_extension=none
- plugin: connect-es
out: lib/src/platform
opt:
- target=js+dts
- import_extension=none
140 changes: 0 additions & 140 deletions lib/src/platform/authorization/AuthorizationServiceClientPb.ts

This file was deleted.

44 changes: 44 additions & 0 deletions lib/src/platform/authorization/authorization_connect.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cc32059

Please sign in to comment.