Skip to content

Conversation

angular-robot
Copy link
Collaborator

@angular-robot angular-robot commented Jul 9, 2025

This PR contains the following updates:

Package Type Update Change
aspect_rules_js http_archive minor v2.3.8 -> v2.4.2
aspect_rules_ts http_archive minor v3.6.3 -> v3.7.0
rules_angular git_repository digest a1b4985 -> 17eac47
rules_browsers git_repository digest 56ef800 -> 8ee9ae3
rules_sass git_repository digest cc1e845 -> 76078d5

Release Notes

aspect-build/rules_js (aspect_rules_js)

v2.4.2

Compare Source

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.4.2")

####### 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 = "16.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 = "b71565da7a811964e30cccb405544d551561e4b56c65f0c0aeabe85638920bd6",
    strip_prefix = "rules_js-2.4.2",
    url = "https://github.com/aspect-build/rules_js/releases/download/v2.4.2/rules_js-v2.4.2.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

Full Changelog: https://github.com/aspect-build/rules\_js/compare/v2.4.1...v2.4.2

v2.4.1

Compare Source

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.4.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 = "16.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 = "ca638e0aa33b087706bc7f5e887ce01cdf6ec82de00660f22409fa8be34a8ce2",
    strip_prefix = "rules_js-2.4.1",
    url = "https://github.com/aspect-build/rules_js/releases/download/v2.4.1/rules_js-v2.4.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: https://github.com/aspect-build/rules\_js/compare/v2.4.0...v2.4.1

v2.4.0

Compare Source

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.4.0")

####### 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 = "16.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 = "961393890a58de989ad7aa36ce147fc9b15a77c8144454889bf068bdd12c5165",
    strip_prefix = "rules_js-2.4.0",
    url = "https://github.com/aspect-build/rules_js/releases/download/v2.4.0/rules_js-v2.4.0.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: https://github.com/aspect-build/rules\_js/compare/v2.3.8...v2.4.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 target: minor This PR is targeted for the next minor release labels Jul 9, 2025
@angular-robot
Copy link
Collaborator Author

angular-robot commented Jul 9, 2025

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: pnpm bazel run //.github/actions/deploy-docs-site:main
2025/08/20 06:44:12 Downloading https://releases.bazel.build/7.6.1/release/bazel-7.6.1-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
ERROR: Error computing the main repository mapping: cannot load '@@rules_angular//setup:step_1.bzl': no such file

File name: undefined
Command failed: pnpm bazel run //packages/common:base_currencies_file
Computing main repo mapping: 
ERROR: Error computing the main repository mapping: cannot load '@@rules_angular//setup:step_1.bzl': no such file

File name: undefined
Command failed: pnpm bazel run //packages/common/locales:closure_locale_file
Computing main repo mapping: 
ERROR: Error computing the main repository mapping: cannot load '@@rules_angular//setup:step_1.bzl': no such file

File name: undefined
Command failed: pnpm bazel run //packages/core:base_locale_file
Computing main repo mapping: 
ERROR: Error computing the main repository mapping: cannot load '@@rules_angular//setup:step_1.bzl': no such file

@ngbot ngbot bot modified the milestone: Backlog Jul 9, 2025
@pullapprove pullapprove bot requested a review from alxhub July 9, 2025 10:08
@AndrewKushnir
Copy link
Contributor

@josephperrott it looks like CI is failing for this rules_angular update. Is this PR relevant or those updates will be happening as a part of other PRs?

@AndrewKushnir AndrewKushnir requested review from josephperrott and removed request for alxhub July 9, 2025 19:47
@pullapprove pullapprove bot requested a review from alxhub July 9, 2025 19:47
@AndrewKushnir AndrewKushnir added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Jul 9, 2025
@thePunderWoman thePunderWoman removed the action: merge The PR is ready for merge by the caretaker label Jul 11, 2025
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch from c9e3495 to b7ab8ac Compare July 11, 2025 18:09
@angular-robot angular-robot changed the title build: update rules_angular digest to 8bf9ae3 (main) build: update bazel dependencies (main) Jul 12, 2025
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch from b7ab8ac to 8de6165 Compare July 12, 2025 22:07
@josephperrott
Copy link
Member

This will become unblocked after #62541 lands

@angular-robot angular-robot changed the title build: update bazel dependencies (main) build: update rules_browsers digest to 56ef800 (main) Jul 14, 2025
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch from 8de6165 to 9e9fd40 Compare July 15, 2025 00:52
@angular-robot angular-robot changed the title build: update rules_browsers digest to 56ef800 (main) build: update bazel dependencies (main) Jul 15, 2025
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch 2 times, most recently from f342ae5 to fb5f23f Compare July 23, 2025 17:09
atscott added a commit to atscott/angular that referenced this pull request Jul 23, 2025
Updates only rules_browsers since
angular#62542 is having difficulty with
other deps updated at the same time
atscott added a commit to atscott/angular that referenced this pull request Jul 23, 2025
Updates only rules_browsers since
angular#62542 is having difficulty with
other deps updated at the same time
kirjs pushed a commit that referenced this pull request Jul 23, 2025
Updates only rules_browsers since
#62542 is having difficulty with
other deps updated at the same time

PR Close #62772
kirjs pushed a commit that referenced this pull request Jul 23, 2025
Updates only rules_browsers since
#62542 is having difficulty with
other deps updated at the same time

PR Close #62772
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch 3 times, most recently from 2d44c4a to 5559195 Compare July 29, 2025 19:38
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch 10 times, most recently from e18d0a1 to b5d6139 Compare August 6, 2025 13:19
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch 6 times, most recently from b2f23a8 to 6ef354e Compare August 13, 2025 19:05
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch 6 times, most recently from afa4296 to 3216b8f Compare August 19, 2025 17:05
See associated pull request for more information.
@angular-robot angular-robot force-pushed the ng-renovate/main-bazel-dependencies branch from 3216b8f to 906371d Compare August 20, 2025 06:44
@angular-robot angular-robot changed the title build: update bazel dependencies (main) build: update bazel dependencies (main) - autoclosed Aug 20, 2025
@angular-robot angular-robot deleted the ng-renovate/main-bazel-dependencies branch August 20, 2025 08:45
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 target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants