-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/aspect-build/rules_swc/releases/tag/v2.2.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Alex Eagle <[email protected]>
- Loading branch information
1 parent
7a06a83
commit ea37da3
Showing
5 changed files
with
64 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,27 @@ | ||
"aspect-build/rules_swc" | ||
|
||
module( | ||
name = "aspect_rules_swc", | ||
version = "2.2.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
# Lower-bounds (minimum) versions for direct runtime dependencies | ||
bazel_dep(name = "aspect_bazel_lib", version = "2.7.7") | ||
bazel_dep(name = "aspect_rules_js", version = "2.0.0") # Note: only used for provider symbols, we don't spawn nodejs actions | ||
bazel_dep(name = "bazel_skylib", version = "1.5.0") | ||
bazel_dep(name = "platforms", version = "0.0.7") | ||
|
||
swc = use_extension("@aspect_rules_swc//swc:extensions.bzl", "swc") | ||
swc.toolchain( | ||
name = "swc", | ||
swc_version = "v1.7.40", | ||
) | ||
use_repo(swc, "swc_toolchains") | ||
|
||
register_toolchains("@swc_toolchains//:all") | ||
|
||
####### Dev dependencies ######## | ||
|
||
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True) | ||
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc") |
14 changes: 14 additions & 0 deletions
14
modules/aspect_rules_swc/2.2.0/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 @@ | ||
"aspect-build/rules_swc" | ||
|
||
module( | ||
name = "aspect_rules_swc", | ||
- version = "0.0.0", | ||
+ version = "2.2.0", | ||
compatibility_level = 1, | ||
) | ||
|
||
# Lower-bounds (minimum) versions for direct runtime dependencies |
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: | ||
bazel: ["7.x", "6.x"] | ||
platform: ["debian10", "macos", "ubuntu2004", "windows"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
bazel: ${{ bazel }} | ||
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,9 @@ | ||
{ | ||
"integrity": "sha256-bqp6MFHTuHfckbP1fhcj7t29HPFc3gsON8lAcboXcA8=", | ||
"strip_prefix": "rules_swc-2.2.0", | ||
"url": "https://github.com/aspect-build/rules_swc/releases/download/v2.2.0/rules_swc-v2.2.0.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-XAmCOb9XDAXAy8TORjMGs7bRNSo8qKHvq2Kd1IBvpJ8=" | ||
}, | ||
"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 |
---|---|---|
|
@@ -30,7 +30,8 @@ | |
"2.0.0-rc1", | ||
"2.0.0", | ||
"2.0.1", | ||
"2.1.0" | ||
"2.1.0", | ||
"2.2.0" | ||
], | ||
"yanked_versions": {} | ||
} |