-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add latest rules_nodejs * Add latest aspect_rules_js
- Loading branch information
Showing
8 changed files
with
69 additions
and
2 deletions.
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,12 @@ | ||
"aspect-build/rules_js" | ||
|
||
module( | ||
name = "aspect_rules_js", | ||
version = "0.11.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "aspect_bazel_lib", version = "1.0.0") | ||
bazel_dep(name = "bazel_skylib", version = "1.1.1") | ||
bazel_dep(name = "rules_nodejs", version = "5.5.0") | ||
bazel_dep(name = "platforms", version = "0.0.4") |
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,11 @@ | ||
bcr_test_module: | ||
module_path: "e2e/bzlmod" | ||
matrix: | ||
# TODO(kormide): add "windows" when green | ||
platform: ["debian10", "macos", "ubuntu2004"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
test_targets: | ||
- "//..." |
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,5 @@ | ||
{ | ||
"integrity": "sha256-116wqG42tJ+V0gzZ3qm1M/u4+AVLfYUi6i1l09nQxAM=", | ||
"strip_prefix": "rules_js-0.11.1", | ||
"url": "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.11.1.tar.gz" | ||
} |
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 |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
} | ||
], | ||
"versions": [ | ||
"0.3.2" | ||
"0.3.2", | ||
"0.11.1" | ||
], | ||
"yanked_versions": {} | ||
} |
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 = "5.5.0", | ||
compatibility_level = 1, | ||
# If the user doesn't register any node toolchains, | ||
# they get this one by default. | ||
toolchains_to_register = ["@default_node_toolchains//:all"], | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.0.3") | ||
bazel_dep(name = "platforms", version = "0.0.4") | ||
|
||
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/5.5.0/nodejs/repositories.bzl#L11 | ||
node.toolchain(name = "default_node") | ||
use_repo(node, "default_node_toolchains") |
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 @@ | ||
build_targets: &build_targets | ||
- '@rules_nodejs//nodejs/...' | ||
|
||
platforms: | ||
centos7: | ||
build_targets: *build_targets | ||
debian10: | ||
build_targets: *build_targets | ||
macos: | ||
build_targets: *build_targets | ||
ubuntu2004: | ||
build_targets: *build_targets | ||
windows: | ||
build_targets: *build_targets |
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,4 @@ | ||
{ | ||
"integrity": "sha256-TUiZjj+h4DxoTmvfesmAUSMsdIa/pBLltUdbuux7slc=", | ||
"url": "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz" | ||
} |
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 |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
], | ||
"versions": [ | ||
"4.5.0", | ||
"4.5.1" | ||
"4.5.1", | ||
"5.5.0" | ||
], | ||
"yanked_versions": {} | ||
} |