You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): update dependency aspect_rules_js to v1.41.0 (#1570)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [aspect_rules_js](https://togithub.com/aspect-build/rules_js) | http_archive | minor | `v1.40.1` -> `v1.41.0` |
---
### Release Notes
<details>
<summary>aspect-build/rules_js (aspect_rules_js)</summary>
### [`v1.41.0`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.41.0)
[Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.40.1...v1.41.0)
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](https://togithub.com/aspect-build/rules_js/discussions/1000).
#### Using Bzlmod with Bazel 6:
Add to your `MODULE.bazel` file:
```starlark
bazel_dep(name = "aspect_rules_js", version = "1.41.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 = "5.8.2")
node = use_extension("@​rules_nodejs//nodejs:extensions.bzl", "node")
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")
```
#### Using WORKSPACE
Paste this snippet into your `WORKSPACE` file:
```starlark
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "d6dddd224b27d456820d19b9c23a7bcbe75660a6c040d83e31ba3da4fb1f6888",
strip_prefix = "rules_js-1.41.0",
url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.41.0/rules_js-v1.41.0.tar.gz",
)
load("@​aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")
rules_js_dependencies()
load("@​rules_nodejs//nodejs:repositories.bzl", "DEFAULT_NODE_VERSION", "nodejs_register_toolchains")
nodejs_register_toolchains(
name = "nodejs",
node_version = DEFAULT_NODE_VERSION,
)
### For convenience, npm_translate_lock does this call automatically.
### Uncomment if you don't call npm_translate_lock at all.
#load("@​bazel_features//:deps.bzl", "bazel_features_deps")
#bazel_features_deps()
load("@​aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
pnpm_lock = "//:pnpm-lock.yaml",
verify_node_modules_ignored = "//:.bazelignore",
)
load("@​npm//:repositories.bzl", "npm_repositories")
npm_repositories()
```
To use rules_js with bazel-lib 2.x, you must additionally register the coreutils toolchain.
```starlark
load("@​aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains")
register_coreutils_toolchains()
```
#### What's Changed
- chore: restore test that was commented out unintentionally by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1595](https://togithub.com/aspect-build/rules_js/pull/1595)
- chore: bump to Bazel 7.1.1 and Aspect CLI 5.9.24 by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1600](https://togithub.com/aspect-build/rules_js/pull/1600)
- chore: test against latest rules_nodejs release 6.1.0 to ensure backward compat that release with rules_js 1.x by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1602](https://togithub.com/aspect-build/rules_js/pull/1602)
- feat: support rules_nodejs improved toolchain attributes in rules_nodejs 6.1.0 with backward compat for older versions by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1604](https://togithub.com/aspect-build/rules_js/pull/1604)
**Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.40.1...v1.41.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), 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.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/gapic-generator-typescript).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
0 commit comments