Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] and alexeagle authored Dec 18, 2024
1 parent 7a06a83 commit ea37da3
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 1 deletion.
27 changes: 27 additions & 0 deletions modules/aspect_rules_swc/2.2.0/MODULE.bazel
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")
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
12 changes: 12 additions & 0 deletions modules/aspect_rules_swc/2.2.0/presubmit.yml
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:
- "//..."
9 changes: 9 additions & 0 deletions modules/aspect_rules_swc/2.2.0/source.json
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
}
3 changes: 2 additions & 1 deletion modules/aspect_rules_swc/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}
}

0 comments on commit ea37da3

Please sign in to comment.