Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(platform): gencode should generate js and d.ts files #292

Merged
merged 5 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading