Skip to content

build: update bazel dependencies #30848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented Aug 7, 2025

This PR contains the following updates:

Package Type Update Change
aspect_bazel_lib http_archive minor v2.20.0 -> v2.21.0
aspect_rules_ts http_archive minor v3.6.3 -> v3.7.0
rules_angular git_repository digest c8af5c0 -> a957283
rules_browsers git_repository digest c9a70ad -> 8ee9ae3

Release Notes

aspect-build/bazel-lib (aspect_bazel_lib)

v2.21.0

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.21.0")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "6d636cfdecc7f5c1a5d82b9790fb5d5d5e8aa6ea8b53a71a75f1ba53c8d29f61",
    strip_prefix = "bazel-lib-2.21.0",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.21.0/bazel-lib-v2.21.0.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Required rules_shell dependencies
load("@​rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")

rules_shell_dependencies()

rules_shell_toolchains()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

### Create the host platform repository transitively required by bazel-lib

load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@​platforms//host:extension.bzl", "host_platform_repo")

maybe(
    host_platform_repo,
    name = "host_platform",
)

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-lib@v2.20.0...v2.21.0

aspect-build/rules_ts (aspect_rules_ts)

v3.7.0

Compare Source

Using Bzlmod:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_ts", version = "3.7.0")

rules_ts_ext = use_extension("@​aspect_rules_ts//ts:extensions.bzl", "ext", dev_dependency = True)

rules_ts_ext.deps(
    ts_version_from = "//:package.json",
)

use_repo(rules_ts_ext, "npm_typescript")

Using legacy WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_ts",
    sha256 = "6fd16aa24c2e8547b72561ece1c7d307b77a5f98f0402934396f6eefbac59aa2",
    strip_prefix = "rules_ts-3.7.0",
    url = "https://github.com/aspect-build/rules_ts/releases/download/v3.7.0/rules_ts-v3.7.0.tar.gz",
)

##################

### rules_ts setup #
##################

### Fetches the rules_ts dependencies.
### If you want to have a different version of some dependency,

### you should fetch it *before* calling this.
### Alternatively, you can skip calling this function, so long as you've

### already fetched all the dependencies.
load("@​aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies")

rules_ts_dependencies(

### This keeps the TypeScript version in-sync with the editor, which is typically best.
    ts_version_from = "//:package.json",

### Alternatively, you could pick a specific version, or use
### load("@​aspect_rules_ts//ts:repositories.bzl", "LATEST_TYPESCRIPT_VERSION")

### ts_version = LATEST_TYPESCRIPT_VERSION
)

load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")

rules_js_dependencies()

load("@​aspect_rules_js//js:toolchains.bzl", "DEFAULT_NODE_VERSION", "rules_js_register_toolchains")

rules_js_register_toolchains(node_version = DEFAULT_NODE_VERSION)

load("@​aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")

npm_translate_lock(
    name = "npm",
    npmrc = "//:.npmrc",
    pnpm_lock = "//:pnpm-lock.yaml",
    verify_node_modules_ignored = "//:.bazelignore",
)

load("@​npm//:repositories.bzl", "npm_repositories")

npm_repositories()

### Register aspect_bazel_lib toolchains;
### If you use npm_translate_lock or npm_import from aspect_rules_js you can omit this block.
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

aspect_bazel_lib_dependencies()

To use rules_ts with bazel-lib 2.x, you must additionally register the coreutils toolchain.

load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")

register_coreutils_toolchains()

What's Changed

New Contributors

Full Changelog: https://github.com/aspect-build/rules\_ts/compare/v3.6.3...v3.7.0


Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 5:00am every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project labels Aug 7, 2025
@angular-robot angular-robot force-pushed the ng-renovate/bazel-dependencies branch from 912e153 to f3582f9 Compare August 11, 2025 17:50
@angular-robot angular-robot changed the title build: update rules_browsers digest to c3f7358 build: update bazel dependencies Aug 11, 2025
@alan-agius4 alan-agius4 added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Aug 12, 2025
@angular-robot angular-robot changed the title build: update bazel dependencies build: update rules_browsers digest to c3f7358 Aug 12, 2025
@angular-robot angular-robot force-pushed the ng-renovate/bazel-dependencies branch from f3582f9 to 9f13923 Compare August 12, 2025 08:41
@angular-robot angular-robot changed the title build: update rules_browsers digest to c3f7358 build: update rules_browsers digest to 9361513 Aug 13, 2025
@angular-robot angular-robot force-pushed the ng-renovate/bazel-dependencies branch from 9f13923 to 9c323ff Compare August 13, 2025 12:06
@angular-robot angular-robot changed the title build: update rules_browsers digest to 9361513 build: update rules_browsers digest to d2cd06d Aug 13, 2025
@angular-robot angular-robot force-pushed the ng-renovate/bazel-dependencies branch from 9c323ff to 2482cc9 Compare August 13, 2025 13:15
@angular-robot angular-robot changed the title build: update rules_browsers digest to d2cd06d build: update bazel dependencies Aug 13, 2025
@angular-robot angular-robot force-pushed the ng-renovate/bazel-dependencies branch 5 times, most recently from 03c2de5 to 596dd12 Compare August 15, 2025 22:37
See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/bazel-dependencies branch from 596dd12 to 5296c07 Compare August 17, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews area: build & ci Related the build and CI infrastructure of the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants