Update rules_nodejs workspace rules

This commit is contained in:
Adam Liddell 2022-04-26 23:19:09 +01:00
parent 29dc1258ef
commit 870cbb4da4
10 changed files with 59 additions and 4 deletions

View File

@ -176,6 +176,10 @@ load("//js:repositories.bzl", "js_repos")
js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -13,10 +13,10 @@ Rules for generating JavaScript protobuf, gRPC-node and gRPC-Web ``.js`` and ``.
.. code-block:: json
"dependencies": {
"@grpc/grpc-js": "1.4.4",
"google-protobuf": "3.19.1",
"@grpc/grpc-js": "1.6.7",
"google-protobuf": "3.20.1",
"grpc-tools": "1.11.2",
"grpc-web": "1.3.0",
"grpc-web": "1.3.1",
"ts-protoc-gen": "0.15.0"
}
@ -61,6 +61,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(
@ -166,6 +170,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(
@ -268,6 +276,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(
@ -369,6 +381,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(
@ -490,6 +506,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(
@ -605,6 +625,10 @@ Full example project can be found `here <https://github.com/rules-proto-grpc/rul
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -19,6 +19,10 @@ load("@rules_proto_grpc//js:repositories.bzl", rules_proto_grpc_js_repos = "js_r
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -19,6 +19,10 @@ load("@rules_proto_grpc//js:repositories.bzl", rules_proto_grpc_js_repos = "js_r
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -19,6 +19,10 @@ load("@rules_proto_grpc//js:repositories.bzl", rules_proto_grpc_js_repos = "js_r
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -19,6 +19,10 @@ load("@rules_proto_grpc//js:repositories.bzl", rules_proto_grpc_js_repos = "js_r
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -19,6 +19,10 @@ load("@rules_proto_grpc//js:repositories.bzl", rules_proto_grpc_js_repos = "js_r
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -19,6 +19,10 @@ load("@rules_proto_grpc//js:repositories.bzl", rules_proto_grpc_js_repos = "js_r
rules_proto_grpc_js_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(

View File

@ -494,7 +494,6 @@ def bazel_skylib(**kwargs):
def rules_pkg(**kwargs):
_generic_dependency("rules_pkg", **kwargs)
#
# Android
#

View File

@ -4,6 +4,10 @@ var jsWorkspaceTemplate = mustTemplate(`load("@rules_proto_grpc//{{ .Lang.Dir }}
rules_proto_grpc_{{ .Lang.Name }}_repos()
load("@build_bazel_rules_nodejs//:repositories.bzl", "build_bazel_rules_nodejs_dependencies")
build_bazel_rules_nodejs_dependencies()
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(