Skip to content

Conversation

@angular-robot
Copy link
Contributor

@angular-robot angular-robot commented Dec 25, 2025

This PR contains the following updates:

Package Type Update Change
aspect_bazel_lib bazel_dep patch 2.22.02.22.5
aspect_rules_js bazel_dep minor 2.8.32.9.1
rules_browsers git_override digest 8ef3e995f0e50d
rules_pkg (source) bazel_dep minor 1.1.01.2.0
yq.bzl bazel_dep patch 0.3.20.3.4

Release Notes

aspect-build/rules_js (aspect_rules_js)

v2.9.1

Many companies are successfully building with rules_js.
If you're getting value from the project, please let us know!
Just comment on our Adoption Discussion.

Using Bzlmod with Bazel 6:

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_js", version = "2.9.1")

####### Node.js version #########

# By default you get the node version from DEFAULT_NODE_VERSION in @​rules_nodejs//nodejs:repositories.bzl
# Optionally you can pin a different node version:
bazel_dep(name = "rules_nodejs", version = "6.3.0")
node = use_extension("@​rules_nodejs//nodejs:extensions.bzl", "node", dev_dependency = True)
node.toolchain(node_version = "18.14.2")

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

npm = use_extension("@​aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)

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

use_repo(npm, "npm")

pnpm = use_extension("@​aspect_rules_js//npm:extensions.bzl", "pnpm")

# Allows developers to use the matching pnpm version, for example:

# bazel run -- @​pnpm --dir /home/runner/work/rules_js/rules_js install
use_repo(pnpm, "pnpm")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "b87afa2205b6fa4540e01d2c47b02a92ed67e24e24f738d46c4c8099836a769a",
    strip_prefix = "rules_js-2.9.1",
    url = "https://github.com/aspect-build/rules_js/releases/download/v2.9.1/rules_js-v2.9.1.tar.gz",
)

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()

What's Changed

New Contributors

Full Changelog: aspect-build/rules_js@v2.9.0...v2.9.1

bazelbuild/rules_pkg (rules_pkg)

v1.2.0

Compare Source

New Features

  • pkg_deb: add support for md5sums control file
  • pkg_deb: Allow for variables in the package name
  • pkg_deb: Overridable debuginfo type
  • pkg_install: Add destdir_flag to pick up destdir from a bazel-skylib.string_flag().
  • pkg_install: support for symlinks
  • pkg_mklink: support raw symlinks from declare_symlink() (Bazel 8+ only)
  • pkg_rpm: "data" attribute to provide files for rpmbuild b
  • pkg_tar: Conditionally preserve file mtime
  • pkg_tar: Support compression_level when using xz
  • pkg_zip: support synlinks

Incompatible Changes

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.2.0")

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_pkg",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
    ],
    sha256 = "b5c9184a23bb0bcff241981fd9d9e2a97638a1374c9953bb1808836ce711f990",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules

See the source.

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_pkg@1.1.0...1.2.0

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

v0.3.4

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "yq.bzl", version = "0.3.4")

What's Changed

New Contributors

Full Changelog: bazel-contrib/yq.bzl@v0.3.3...v0.3.4


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

@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 Dec 25, 2025
@pullapprove pullapprove bot requested review from adolgachev and ok7sai December 25, 2025 06:06
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch 3 times, most recently from 70dc025 to a431d70 Compare January 12, 2026 21:37
See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch from a431d70 to bf3012a Compare January 13, 2026 02:40
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.

1 participant