pulumi/bazel/nodejs/BUILD.bazel

26 lines
721 B
Python

load("@npm//:grpc-tools/package_json.bzl", grpc_tools = "bin")
load("@npm//:grpc_tools_node_protoc_ts/package_json.bzl", grpc_tools_node_protoc_ts = "bin")
load("@npm//:protoc-gen-js/package_json.bzl", protoc_gen_js = "bin")
load("@rules_python//python:defs.bzl", "py_binary")
py_binary(
name = "protoc_wrapper",
srcs = ["protoc_wrapper.py"],
visibility = ["__pkg__"],
)
grpc_tools.grpc_tools_node_protoc_plugin_binary(
name = "grpc_tools_node_protoc",
visibility = ["__pkg__"],
)
grpc_tools_node_protoc_ts.protoc_gen_ts_binary(
name = "grpc_tools_node_protoc_ts",
visibility = ["__pkg__"],
)
protoc_gen_js.protoc_gen_js_binary(
name = "protoc_gen_js",
visibility = ["__pkg__"],
)