-
Notifications
You must be signed in to change notification settings - Fork 16
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
Starting with timostamm-protobuf-ts@v2.9.4 the "output_javascript" option no longer emits .d.ts files #1162
Comments
I was not able to reproduce the same behavior with the buf.build/connectrpc/eliza module - it generates .d.ts files for each input file properly: buf.gen.yaml: version: v1
managed:
enabled: true
plugins:
- plugin: buf.build/community/timostamm-protobuf-ts
out: gen/timo-ts
- plugin: buf.build/community/timostamm-protobuf-ts
out: gen/timo-js
opt: output_javascript Output:
I'm interested to know if you can reproduce this behavior with a public module on the BSR. In the meantime I've opened #1163 to revert a recent change we made to the plugin to reduce its size. |
@pkwarren yes, the public BSR would be https://buf.build/stateful/runme/activity/ Namely: I can't seem to reopen this issue. |
@sourishkrout - This should be resolved with version v2.9.4, revision 3 of the plugin. I've verified with code generation locally that these previously missing files are now found:
|
Thank you! Much appreciated. |
Superseding timostamm/protobuf-ts#643 (comment) since the issue does not occur in the upstream project.
Starting with https://github.com/bufbuild/plugins/tree/main/plugins/community/timostamm-protobuf-ts/v2.9.4 when I generate code for the protos here: https://github.com/stateful/runme/tree/main/internal/api important
*.d.ts
files are being omitted. A downgrade tov2.9.3
solves the issue. Please note, if I use the upstream project directly (outside of Buf), I can not reproduce the issue.Happy to refactor my proto files if that will fix the issue but I don't have an inclination how to do that. Please advise! Thank you.
Here's one of the key differences,
v2.9.4
; please note how theparser_pb.d.ts
is absent:And here's
v2.9.3
:The text was updated successfully, but these errors were encountered: