Skip to content

Commit

Permalink
aspect_rules_swc@2.0.0-alpha.0 (bazelbuild#2001)
Browse files Browse the repository at this point in the history
Release:
https://github.com/aspect-build/rules_swc/releases/tag/v2.0.0-alpha.0

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

Co-authored-by: Alex Eagle <alex@aspect.dev>
  • Loading branch information
2 people authored and aiuto committed Jun 3, 2024
1 parent d03b2ad commit d92b323
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.0.0-alpha.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.0.0-alpha.0",
compatibility_level = 1,
)

# Lower-bounds (minimum) versions for direct runtime dependencies
bazel_dep(name = "aspect_bazel_lib", version = "2.7.3")
bazel_dep(name = "aspect_rules_js", version = "2.0.0-alpha.4") # 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.3.75",
)
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.0.0-alpha.0",
compatibility_level = 1,
)

# Lower-bounds (minimum) versions for direct runtime dependencies
12 changes: 12 additions & 0 deletions modules/aspect_rules_swc/2.0.0-alpha.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.0.0-alpha.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-Zdd556CVby73VOVnaXZs17WvKPSsP9FG1mc8B3miUO0=",
"strip_prefix": "rules_swc-2.0.0-alpha.0",
"url": "https://github.com/aspect-build/rules_swc/releases/download/v2.0.0-alpha.0/rules_swc-v2.0.0-alpha.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-AAlIJeIhqrw64JYIL1xKRM+SqtKlDhYsYpyKmfusgIE="
},
"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 @@ -23,7 +23,8 @@
"1.0.1",
"1.0.2",
"1.1.0",
"1.2.2"
"1.2.2",
"2.0.0-alpha.0"
],
"yanked_versions": {}
}

0 comments on commit d92b323

Please sign in to comment.