-
Notifications
You must be signed in to change notification settings - Fork 522
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
closure_js_proto_library
targets as dep "is neither a TypeScript nor a JS producing rule."
#974
Comments
Alternatively, is there a different build rule people should use to consume protobuf codegen from TypeScript? |
This may be an issue with the implementation of It's checking for a 'js' attribute on the |
Will do bazelbuild/rules_typescript#61 first, I hope to not support closure library stuff as it's not widely adopted. |
Update: with @oferb we tried again to do this in the context of grpc. Then we ran into the next issue which is that jspb codegen only contains commonjs module syntax, and this needs to be adapted to named AMD or UMD to work with Another step would be to get it working with I'm not currently working on this but it could use some community contribution. |
In fixing this we should also test that it works with https://github.com/stackb/rules_proto to generate protobuf clients. When we use commonjs_grpc_compile to generate our gRPC code |
This issue has been automatically marked as stale because it has not had any activity for 90 days. It will be closed if no further activity occurs in two weeks. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs! |
This issue was automatically closed because it went two weeks without a reply since it was labeled "Can Close?" |
This is a tracking issue to get
ts_library
to work withclosure_js_proto_library
deps.Currently, when a closure_js_proto_library rule is provided as a dep to a
ts_library
rule, thets_library
fails to build with the error that the dep is "neither a TypeScript nor a JS producing rule." However,closure_js_proto_library
does generate a JS output atbazel-genfiles/path/to/<target_name>.js
.The text was updated successfully, but these errors were encountered: