-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish bazelbuild/[email protected] (#976)
Co-authored-by: Alex Eagle <[email protected]>
- Loading branch information
1 parent
508b72e
commit cea9064
Showing
5 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
14 changes: 14 additions & 0 deletions
14
modules/rules_nodejs/6.0.2/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": {} | ||
} |