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 gregmagolan authored Mar 29, 2024
1 parent c00c1cf commit 9738332
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 1 deletion.
49 changes: 49 additions & 0 deletions modules/aspect_rules_rollup/1.0.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
"aspect-build/rules_rollup"

module(
name = "aspect_rules_rollup",
version = "1.0.2",
compatibility_level = 1,
)

# Lower-bound (minimum) versions of direct dependencies
bazel_dep(name = "bazel_skylib", version = "1.3.0")

# Need feat: backport 2.x features for interoperability by @kormide in #657
bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")

# Need feat: import toolchains to use for copy actions by @kormide in #1355
bazel_dep(name = "aspect_rules_js", version = "1.34.0")
bazel_dep(name = "rules_nodejs", version = "5.5.3")
bazel_dep(name = "platforms", version = "0.0.5")

rollup = use_extension("@aspect_rules_rollup//rollup:extensions.bzl", "rollup")
rollup.toolchain(
name = "rollup",
rollup_version = "v2.70.2",
)
use_repo(rollup, "rollup")

bazel_dep(name = "buildifier_prebuilt", version = "6.1.2", dev_dependency = True)

npm = use_extension(
"@aspect_rules_js//npm:extensions.bzl",
"npm",
dev_dependency = True,
)
npm.npm_translate_lock(
name = "npm",
npmrc = "//:.npmrc",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
use_repo(npm, "npm")

# We want the stardoc handling from bazel-lib 2.x for dev use here,
# but not force users to upgrade yet.
archive_override(
module_name = "aspect_bazel_lib",
integrity = "sha256-9ep2aCsgnMC9kND1o7JtL3pqKIXwxfYV5ykT9IBduw0=",
strip_prefix = "bazel-lib-2.5.0",
urls = ["https://github.com/aspect-build/bazel-lib/releases/download/v2.5.0/bazel-lib-v2.5.0.tar.gz"],
)
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_rollup"

module(
name = "aspect_rules_rollup",
- version = "0.0.0",
+ version = "1.0.2",
compatibility_level = 1,
)

# Lower-bound (minimum) versions of direct dependencies
12 changes: 12 additions & 0 deletions modules/aspect_rules_rollup/1.0.2/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_rollup/1.0.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-ZpSkLJm4tGqHiFdVl0GdMc32wWP+dzVHMOsatAB/tqo=",
"strip_prefix": "rules_rollup-1.0.2",
"url": "https://github.com/aspect-build/rules_rollup/releases/download/v1.0.2/rules_rollup-v1.0.2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-n3ZMU8UfwRvc0PaXTC6kVji02etdiH+RL4JMI5dkEI4="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/aspect_rules_rollup/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"versions": [
"0.15.0",
"0.15.2",
"1.0.0"
"1.0.0",
"1.0.2"
],
"yanked_versions": {}
}

0 comments on commit 9738332

Please sign in to comment.