From cea90647b07652242cd1ce9a4c0a2d3bad94c01f Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:42:20 +0200 Subject: [PATCH] Publish bazelbuild/rules_nodejs@v6.0.2 (#976) Co-authored-by: Alex Eagle --- modules/rules_nodejs/6.0.2/MODULE.bazel | 19 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 ++++++++++++++ modules/rules_nodejs/6.0.2/presubmit.yml | 12 ++++++++++++ modules/rules_nodejs/6.0.2/source.json | 9 +++++++++ modules/rules_nodejs/metadata.json | 3 ++- 5 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 modules/rules_nodejs/6.0.2/MODULE.bazel create mode 100644 modules/rules_nodejs/6.0.2/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_nodejs/6.0.2/presubmit.yml create mode 100644 modules/rules_nodejs/6.0.2/source.json diff --git a/modules/rules_nodejs/6.0.2/MODULE.bazel b/modules/rules_nodejs/6.0.2/MODULE.bazel new file mode 100644 index 00000000000..f41c1fb32d4 --- /dev/null +++ b/modules/rules_nodejs/6.0.2/MODULE.bazel @@ -0,0 +1,19 @@ +"bzlmod declaration for bazelbuild/rules_nodejs" + +module( + name = "rules_nodejs", + version = "6.0.2", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.4.1") +bazel_dep(name = "platforms", version = "0.0.5") + +node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node") + +# Note, this gets the default version of Node.js from +# https://github.com/bazelbuild/rules_nodejs/blob/main/nodejs/repositories.bzl#L11 +node.toolchain(name = "nodejs") +use_repo(node, "nodejs_toolchains") + +register_toolchains("@nodejs_toolchains//:all") diff --git a/modules/rules_nodejs/6.0.2/patches/module_dot_bazel_version.patch b/modules/rules_nodejs/6.0.2/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..1f9d3398392 --- /dev/null +++ b/modules/rules_nodejs/6.0.2/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,9 +1,9 @@ + "bzlmod declaration for bazelbuild/rules_nodejs" + + module( + name = "rules_nodejs", +- version = "0.0.0", ++ version = "6.0.2", + compatibility_level = 1, + ) + + bazel_dep(name = "bazel_skylib", version = "1.4.1") diff --git a/modules/rules_nodejs/6.0.2/presubmit.yml b/modules/rules_nodejs/6.0.2/presubmit.yml new file mode 100644 index 00000000000..e62b3f1357c --- /dev/null +++ b/modules/rules_nodejs/6.0.2/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: 'e2e/smoke' + matrix: + platform: ['debian10', 'macos', 'ubuntu2004', 'windows'] + tasks: + run_tests: + name: 'Run test module' + platform: ${{ platform }} + test_targets: + - '//...' + test_flags: + - '--test_tag_filters=-no-bazelci-windows' diff --git a/modules/rules_nodejs/6.0.2/source.json b/modules/rules_nodejs/6.0.2/source.json new file mode 100644 index 00000000000..d4194fb8ccf --- /dev/null +++ b/modules/rules_nodejs/6.0.2/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-Fi9K39cZukK4pvFgMKIPQ03BEMZdxghmDvezQRyYc/k=", + "strip_prefix": "rules_nodejs-6.0.2", + "url": "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.2/rules_nodejs-v6.0.2.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-QobmmqSIreVRaTiiz+CpPVSWK9qzzGy6NTfdF7h2BYY=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_nodejs/metadata.json b/modules/rules_nodejs/metadata.json index 5084ba4147f..6194f393e34 100644 --- a/modules/rules_nodejs/metadata.json +++ b/modules/rules_nodejs/metadata.json @@ -21,7 +21,8 @@ "6.0.0-beta1", "6.0.0-rc0", "6.0.0", - "6.0.1" + "6.0.1", + "6.0.2" ], "yanked_versions": {} }