Minimal example of using the stackb/rules_proto v2_prerelease with the stephenh/ts-proto plugin.
$ bazel build //proto:thing_ts_proto_compileTo regenerate or update the BUILD file:
$ rm proto/BUILD.bazel # not needed to update it, but to demonstrate that it can be created from scratch
$ bazel run //:gazelle