Skip to content

build: update dependency aspect_rules_js to v3 (main)#32692

Open
angular-robot wants to merge 1 commit intoangular:mainfrom
angular-robot:ng-renovate/main-major-bazel-dependencies
Open

build: update dependency aspect_rules_js to v3 (main)#32692
angular-robot wants to merge 1 commit intoangular:mainfrom
angular-robot:ng-renovate/main-major-bazel-dependencies

Conversation

@angular-robot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
aspect_rules_js bazel_dep major 2.9.23.0.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 5, 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 PR updates aspect_rules_js to v3. This is a major version update which introduces breaking changes. The most significant one seems to be the handling of pnpm. The MODULE.bazel.lock file changes indicate that the pnpm module extension is no longer used in the same way, which will likely break the build given the current MODULE.bazel configuration. Please see my comment for details on how to address this.

bazel_dep(name = "yq.bzl", version = "0.3.5")
bazel_dep(name = "rules_nodejs", version = "6.7.3")
bazel_dep(name = "aspect_rules_js", version = "2.9.2")
bazel_dep(name = "aspect_rules_js", version = "3.0.1")

Choose a reason for hiding this comment

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

critical

Upgrading aspect_rules_js to v3 is a major change that seems to have breaking changes regarding pnpm setup. The MODULE.bazel.lock file changes show that the pnpm module extension is no longer generating a repository, which will likely cause a build failure because of the use_repo(pnpm, "pnpm") call on line 122.

Please check the aspect_rules_js v3 migration guide. The pnpm setup block on lines 116-122 might need to be removed or updated.

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