Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Design: - user expected to register a toolchain providing their protoc plugin for gen-es - Adapt ProtoInfo to JsInfo so a proto_library target can appear anywhere a js_library does Example of use currently in aspect-build/rules_ts#894
|
|
||
| catalog: | ||
| '@bufbuild/protobuf': '2.7.0' | ||
| '@types/node': '24' |
There was a problem hiding this comment.
newer bufbuild produces typings that don't work with older @node/types. Could downgrade protoc-gen-es instead though
There was a problem hiding this comment.
this is fine in the examples repo 🤷
Design: - user expected to register a toolchain providing their protoc plugin for gen-es - use an aspect to adapt `ProtoInfo` to `JsInfo`, so a proto_library target can appear anywhere a js_library does - no need for `js_proto_library` targets to pollute the package where the proto_library appears - similar to bazel-contrib/rules_ruby#292 Example of use currently in aspect-build/rules_ts#894 TODO: - for typescript, place .d.ts files in the source tree, with @kormide using diff.bzl as a validation action. Maybe this belongs in rules_ts - support connect_query - we didn't have any test/example usage of it
3ea16b0 to
e460c33
Compare
|
Alex Eagle seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |




If this works, we can delete ts_proto_library from this repo, is it's no longer used.
Note, it was marked EXPERIMENTAL so technically, we could remove it before 4.0