Skip to content

Commit

Permalink
Publish bazelbuild/rules_nodejs@v6.0.0 (#782)
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 Jul 14, 2023
1 parent eeef1a8 commit 919524a
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 1 deletion.
19 changes: 19 additions & 0 deletions modules/rules_nodejs/6.0.0/MODULE.bazel
@@ -0,0 +1,19 @@
"bzlmod declaration for bazelbuild/rules_nodejs"

module(
name = "rules_nodejs",
version = "6.0.0",
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")
15 changes: 15 additions & 0 deletions modules/rules_nodejs/6.0.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,15 @@
Index: MODULE.bazel
===================================================================
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,9 +1,9 @@
"bzlmod declaration for bazelbuild/rules_nodejs"

module(
name = "rules_nodejs",
- version = "0.0.0",
+ version = "6.0.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.1")
12 changes: 12 additions & 0 deletions modules/rules_nodejs/6.0.0/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.0/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-qDOwj8hG4npzrCtwYuT0jKzg5yoHLGw/p1aEfcRCRt0=",
"strip_prefix": "rules_nodejs-6.0.0",
"url": "https://github.com/bazelbuild/rules_nodejs/releases/download/v6.0.0/rules_nodejs-v6.0.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-EVUNh2Eqt1OMSkmwk1Ep7HWqJtVSOvRR8pDvAQL0yV4="
},
"patch_strip": 0
}
3 changes: 2 additions & 1 deletion modules/rules_nodejs/metadata.json
Expand Up @@ -19,7 +19,8 @@
"5.8.2",
"5.8.3",
"6.0.0-beta1",
"6.0.0-rc0"
"6.0.0-rc0",
"6.0.0"
],
"yanked_versions": {}
}

0 comments on commit 919524a

Please sign in to comment.