-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add TypeScript types output to nodejs_proto_* rules #103
Conversation
Makes the nodejs_proto_library rule provide DeclarationInfo so it can be a dependency of a ts_project or ts_library rule
Hi @aaliddell what's your process for accepting contributions here? |
Hi, sorry for the delay on this one and @ash2k’s, it has been a busy couple of weeks. These are on my todo list when I get a chance |
Just a FYI: CI fell over when Bazel 4 was released in Jan. I'm getting CI back to green, then hopefully these can be applied more cleanly. With regard to this particular PR, am I correct in saying this will just produce typescript files alongside the normal .js files? I assume this doesn't yet create the provider that you need in the top comment? I've been away from JS/TS for a couple of years, so perhaps I’m missing something 🤔 |
Very excited to see this update. :) Much appreciation to @aaliddell and @alexeagle. I just tried out using the |
Ah I see the issue, Could you test the http_archive(
name = "rules_proto_grpc",
urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/archive/31d5a99f3a31579e2fc9b92adab9d8d0f9f19830.tar.gz"],
sha256 = "444409acf527947c0b27dc62adba570303049884cfc9d924d40e31e78552f9e8",
strip_prefix = "rules_proto_grpc-31d5a99f3a31579e2fc9b92adab9d8d0f9f19830",
) If that works I'll merge it in. |
I updated my
Would you prefer that I log an issue to capture further discussion? I could also try to make a small example repo to reproduce the issue, if that would be helpful. |
You'd definitely need
Sure, that'd be useful |
Thanks for the clarification about |
Makes the nodejs_proto_library rule provide DeclarationInfo so it can be a dependency of a ts_project or ts_library rule