Skip to content

build: update bazel dependencies (main)#32757

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
angular-robot:ng-renovate/main-bazel-dependencies
Mar 12, 2026
Merged

build: update bazel dependencies (main)#32757
alan-agius4 merged 1 commit intoangular:mainfrom
angular-robot:ng-renovate/main-bazel-dependencies

Conversation

@angular-robot
Copy link
Contributor

@angular-robot angular-robot commented Mar 12, 2026

This PR contains the following updates:

Package Type Update Change
aspect_rules_esbuild bazel_dep patch 0.25.00.25.1
aspect_rules_js bazel_dep patch 3.0.23.0.3
aspect_rules_ts bazel_dep patch 3.8.53.8.6
jq.bzl bazel_dep minor 0.4.00.6.1

Release Notes

aspect-build/rules_ts (aspect_rules_ts)

v3.8.6

Using Bzlmod:

Add to your MODULE.bazel file:

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

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 = "9a02f3a86f19d2550608a3d17bc9cc987d8da4b14083e98926cc2ab1b5c471b0",
    strip_prefix = "rules_ts-3.8.6",
    url = "https://github.com/aspect-build/rules_ts/releases/download/v3.8.6/rules_ts-v3.8.6.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: aspect-build/rules_ts@v3.8.5...v3.8.6

bazel-contrib/jq.bzl (jq.bzl)

v0.6.1

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "jq.bzl", version = "0.6.1")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "jq.bzl",
    sha256 = "e2eab5410b2eecc72f01d73590c58aefeddbb696ddf9d9c34dcee02dd79625ab",
    strip_prefix = "jq.bzl-0.6.1",
    url = "https://github.com/bazel-contrib/jq.bzl/releases/download/v0.6.1/jq.bzl-v0.6.1.tar.gz",
)

What's Changed

  • fix: Mark toolchain as reproducible by @​mortenmj in #​70
  • chore(deps): update bazel-contrib/.github action to v7.3.0 by @​renovate[bot] in #​66
  • chore(deps): update pre-commit hook crate-ci/typos to v1.43.5 by @​renovate[bot] in #​61
  • chore(deps): update bazel-contrib/setup-bazel action to v0.18.0 by @​renovate[bot] in #​64
  • chore(deps): update pre-commit hook google/yamlfmt to v0.21.0 by @​renovate[bot] in #​62
  • chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.13.8 by @​renovate[bot] in #​60

New Contributors

Full Changelog: bazel-contrib/jq.bzl@v0.6.0...v0.6.1

v0.6.0

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "jq.bzl", version = "0.6.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "jq.bzl",
    sha256 = "d12aafaf39224d9d0642d62add75ad65b98aa20de82bead2b4ae9498452d5020",
    strip_prefix = "jq.bzl-0.6.0",
    url = "https://github.com/bazel-contrib/jq.bzl/releases/download/v0.6.0/jq.bzl-v0.6.0.tar.gz",
)

What's Changed

Full Changelog: bazel-contrib/jq.bzl@v0.5.1...v0.6.0

v0.5.1

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "jq.bzl", version = "0.5.1")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "jq.bzl",
    sha256 = "ec80ea87132eada066fe6efe838b68feebc578626ba8fef7d620a8fc5a1279be",
    strip_prefix = "jq.bzl-0.5.1",
    url = "https://github.com/bazel-contrib/jq.bzl/releases/download/v0.5.1/jq.bzl-v0.5.1.tar.gz",
)

What's Changed

New Contributors

Full Changelog: bazel-contrib/jq.bzl@v0.5.0...v0.5.1


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

See associated pull request for more information.
@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 target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels Mar 12, 2026
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several Bazel dependencies. The changes are confined to MODULE.bazel and the corresponding lock file, which is appropriate for these kinds of updates. The updated packages are mostly patch releases, with one minor update for jq.bzl. Based on the provided release notes, these updates appear to be safe and contain bug fixes and minor improvements. I see no issues with merging this PR.

@alan-agius4 alan-agius4 merged commit 29df5ed into angular:main Mar 12, 2026
36 of 38 checks passed
@alan-agius4
Copy link
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the ng-renovate/main-bazel-dependencies branch March 12, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants