Merge remote-tracking branch 'origin/fix-ts-grpc' into bazel-1.0-support
This commit is contained in:
commit
3ffbd993c3
|
@ -10,6 +10,11 @@
|
|||
</div>
|
||||
|
||||
|
||||
## Announcements
|
||||
|
||||
- **2019/10/10**: Bazel 1.0.0 has been released but is not yet supported fully by rules_proto_grpc. Please follow the [Bazel 1.0.0 Support issue](https://github.com/rules-proto-grpc/rules_proto_grpc/issues/22) if you are waiting for support, which will be released in version 1.0.0 of rules_proto_grpc. If you are seeing issues with Bazel 1.0.0 that are not mentioned or linked in that issue, please add a comment or open a new issue.
|
||||
|
||||
|
||||
## Contents:
|
||||
|
||||
- [Overview](#overview)
|
||||
|
@ -433,7 +438,7 @@ _rule = rule(
|
|||
deps = attr.label_list(
|
||||
mandatory = True,
|
||||
providers = [ProtoInfo, ProtoLibraryAspectNodeInfo],
|
||||
aspects = [example_compile],
|
||||
aspects = [example_aspect],
|
||||
),
|
||||
),
|
||||
)
|
||||
|
|
|
@ -32,10 +32,7 @@ proto_plugin(
|
|||
"import_style=commonjs+dts",
|
||||
"mode=grpcweb",
|
||||
],
|
||||
outputs = [
|
||||
"{protopath}_grpc_web_pb.js",
|
||||
"{protopath}_pb.d.ts",
|
||||
],
|
||||
output_directory = True, # Plugin outputs cannot be predicted as they depend on service/package name
|
||||
tool = "@com_github_grpc_grpc_web//javascript/net/grpc/web:protoc-gen-grpc-web",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -46,9 +43,7 @@ proto_plugin(
|
|||
"import_style=typescript",
|
||||
"mode=grpcweb",
|
||||
],
|
||||
outputs = [
|
||||
"{protopath}_pb.d.ts",
|
||||
],
|
||||
output_directory = True, # Plugin outputs cannot be predicted as they depend on service/package name
|
||||
tool = "@com_github_grpc_grpc_web//javascript/net/grpc/web:protoc-gen-grpc-web",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
|
|
@ -239,7 +239,7 @@ _rule = rule(
|
|||
deps = attr.label_list(
|
||||
mandatory = True,
|
||||
providers = [ProtoInfo, ProtoLibraryAspectNodeInfo],
|
||||
aspects = [example_compile],
|
||||
aspects = [example_aspect],
|
||||
),
|
||||
),
|
||||
)
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
</div>
|
||||
|
||||
|
||||
## Announcements
|
||||
|
||||
- **2019/10/10**: Bazel 1.0.0 has been released but is not yet supported fully by rules_proto_grpc. Please follow the [Bazel 1.0.0 Support issue](https://github.com/rules-proto-grpc/rules_proto_grpc/issues/22) if you are waiting for support, which will be released in version 1.0.0 of rules_proto_grpc. If you are seeing issues with Bazel 1.0.0 that are not mentioned or linked in that issue, please add a comment or open a new issue.
|
||||
|
||||
|
||||
## Contents:
|
||||
|
||||
- [Overview](#overview)
|
||||
|
|
Loading…
Reference in New Issue