Skip to content

Commit

Permalink
Publish bazelbuild/rules_nodejs@v6.0.3 (#1271)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Eagle <alex@aspect.dev>
  • Loading branch information
publish-to-bcr-bot[bot] and alexeagle committed Jan 5, 2024
1 parent 918ea9f commit 5eec09d
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
19 changes: 19 additions & 0 deletions modules/rules_nodejs/6.0.3/MODULE.bazel
@@ -0,0 +1,19 @@
"bzlmod declaration for bazelbuild/rules_nodejs"

module(
name = "rules_nodejs",
version = "6.0.3",
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")
14 changes: 14 additions & 0 deletions modules/rules_nodejs/6.0.3/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.3",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
12 changes: 12 additions & 0 deletions modules/rules_nodejs/6.0.3/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'
9 changes: 9 additions & 0 deletions modules/rules_nodejs/6.0.3/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-825KR0chAzF2cDPcMHKK498IVuiOz9xIoAd7qHTbFsM=",
"strip_prefix": "rules_nodejs-6.0.3",
"url": "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.3/rules_nodejs-v6.0.3.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-/Qzzf6CPPzlexZh3ZFFqSthBDeYANhTOf7FB76Y3Aq4="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_nodejs/metadata.json
Expand Up @@ -22,7 +22,8 @@
"6.0.0-rc0",
"6.0.0",
"6.0.1",
"6.0.2"
"6.0.2",
"6.0.3"
],
"yanked_versions": {}
}

0 comments on commit 5eec09d

Please sign in to comment.