Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency aspect_rules_js to v1.34.1 (#1506)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.33.0` -> `v1.34.1` | --- ### Release Notes <details> <summary>aspect-build/rules_js (aspect_rules_js)</summary> ### [`v1.34.1`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.34.1) [Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.34.0...v1.34.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](https://togithub.com/aspect-build/rules_js/discussions/1000). :warning: This release has a minimum version constraint on [[email protected]](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.39.0). #### Using Bzlmod with Bazel 6: Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_rules_js", version = "1.34.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 = "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 = "76a04ef2120ee00231d85d1ff012ede23963733339ad8db81f590791a031f643", strip_prefix = "rules_js-1.34.1", url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.34.1/rules_js-v1.34.1.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: clarify bazel-lib 2.x compatibility by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1364](https://togithub.com/aspect-build/rules_js/pull/1364) - Bump rules_nodejs back to 5.8.4 by [@​raopg](https://togithub.com/raopg) in [https://togithub.com/aspect-build/rules_js/pull/1357](https://togithub.com/aspect-build/rules_js/pull/1357) - chore: test some e2es against bazel-lib 2.x by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1369](https://togithub.com/aspect-build/rules_js/pull/1369) - chore: enable dynamic port allocation on workflows NAT by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1372](https://togithub.com/aspect-build/rules_js/pull/1372) - fix: support stamped_package_json stamping with bazel-lib 2.x by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1376](https://togithub.com/aspect-build/rules_js/pull/1376) #### New Contributors - [@​raopg](https://togithub.com/raopg) made their first contribution in [https://togithub.com/aspect-build/rules_js/pull/1357](https://togithub.com/aspect-build/rules_js/pull/1357) **Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.34.0...v1.34.1 ### [`v1.34.0`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.34.0) [Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.33.3...v1.34.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.34.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 = "d9ceb89e97bb5ad53b278148e01a77a3e9100db272ce4ebdcd59889d26b9076e", strip_prefix = "rules_js-1.34.0", url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.34.0/rules_js-v1.34.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: upgrade to Aspect Workflows 5.8.7 by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1352](https://togithub.com/aspect-build/rules_js/pull/1352) - fix: run e2es under bzlmod by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1361](https://togithub.com/aspect-build/rules_js/pull/1361) - feat: import toolchains to use for copy actions by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1355](https://togithub.com/aspect-build/rules_js/pull/1355) **Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.33.3...v1.34.0 ### [`v1.33.3`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.33.3) [Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.33.2...v1.33.3) 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.33.3") ####### 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 = "295a73d963bad4b04a3c488d60dc8a76a659ee64708be3a66be75726e6277c7e", strip_prefix = "rules_js-1.33.3", url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.33.3/rules_js-v1.33.3.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() ``` #### What's Changed - chore: update bcr maintainer list by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1345](https://togithub.com/aspect-build/rules_js/pull/1345) - refactor: provide specific names for rule implementations by [@​jbedard](https://togithub.com/jbedard) in [https://togithub.com/aspect-build/rules_js/pull/1347](https://togithub.com/aspect-build/rules_js/pull/1347) - chore: upgrade to Aspect Workflows 5.8.6 by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1348](https://togithub.com/aspect-build/rules_js/pull/1348) - chore: add latest pnpm versions by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1349](https://togithub.com/aspect-build/rules_js/pull/1349) - fix: Use js_binary in macro in external repository by [@​mvgijssel](https://togithub.com/mvgijssel) in [https://togithub.com/aspect-build/rules_js/pull/1342](https://togithub.com/aspect-build/rules_js/pull/1342) - fix: handle git+ssh deps past pnpm 8.6.10 by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1350](https://togithub.com/aspect-build/rules_js/pull/1350) #### New Contributors - [@​mvgijssel](https://togithub.com/mvgijssel) made their first contribution in [https://togithub.com/aspect-build/rules_js/pull/1342](https://togithub.com/aspect-build/rules_js/pull/1342) **Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.33.2...v1.33.3 ### [`v1.33.2`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.33.2) [Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.33.1...v1.33.2) 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.33.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 = "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 = "5af82fe13fecb467e9c2c19765a593de2e1976afd0a1e18a80d930a2465508fc", strip_prefix = "rules_js-1.33.2", url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.33.2/rules_js-v1.33.2.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() ``` #### What's Changed - Allow passing `--libc` setting to NPM lifecycle hooks to enable cross-compilation for glibc/musl. by [@​sfc-gh-ptabor](https://togithub.com/sfc-gh-ptabor) in [https://togithub.com/aspect-build/rules_js/pull/1319](https://togithub.com/aspect-build/rules_js/pull/1319) - chore: upgrade to Aspect Workflows 5.8.3 by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1330](https://togithub.com/aspect-build/rules_js/pull/1330) - Update gather_transitive_declarations docstring by [@​vfomin-sc](https://togithub.com/vfomin-sc) in [https://togithub.com/aspect-build/rules_js/pull/1337](https://togithub.com/aspect-build/rules_js/pull/1337) - chore: improve docstrings of stderr, stdout and exit_code_out attributes of js_run_binary by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1344](https://togithub.com/aspect-build/rules_js/pull/1344) - fix: support use_home_npmrc with bzlmod by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1346](https://togithub.com/aspect-build/rules_js/pull/1346) #### New Contributors - [@​vfomin-sc](https://togithub.com/vfomin-sc) made their first contribution in [https://togithub.com/aspect-build/rules_js/pull/1337](https://togithub.com/aspect-build/rules_js/pull/1337) **Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.33.1...v1.33.2 ### [`v1.33.1`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.33.1) [Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.33.0...v1.33.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](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.33.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 = "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 = "a949d56fed8fa0a8dd82a0a660acc949253a05b2b0c52a07e4034e27f11218f6", strip_prefix = "rules_js-1.33.1", url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.33.1/rules_js-v1.33.1.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() ``` #### What's Changed - docs: document bins attr for bzlmod by [@​kormide](https://togithub.com/kormide) in [https://togithub.com/aspect-build/rules_js/pull/1321](https://togithub.com/aspect-build/rules_js/pull/1321) - chore: bump bazel-lib to 2.0 by [@​alexeagle](https://togithub.com/alexeagle) in [https://togithub.com/aspect-build/rules_js/pull/1311](https://togithub.com/aspect-build/rules_js/pull/1311) - chore: upgrade to Aspect Workflows 5.8.2 by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1322](https://togithub.com/aspect-build/rules_js/pull/1322) - Let's pass target_arch and target_cpu env variables for e.g. node-pre-gyp by [@​sfc-gh-ptabor](https://togithub.com/sfc-gh-ptabor) in [https://togithub.com/aspect-build/rules_js/pull/1318](https://togithub.com/aspect-build/rules_js/pull/1318) - chore(ci): exclude Bazel 5 on root wksp by [@​alexeagle](https://togithub.com/alexeagle) in [https://togithub.com/aspect-build/rules_js/pull/1323](https://togithub.com/aspect-build/rules_js/pull/1323) - chore: update buildifier targets used by Aspect Workflows by [@​gregmagolan](https://togithub.com/gregmagolan) in [https://togithub.com/aspect-build/rules_js/pull/1324](https://togithub.com/aspect-build/rules_js/pull/1324) - Shebang bug fix in launcher script by [@​jgao54](https://togithub.com/jgao54) in [https://togithub.com/aspect-build/rules_js/pull/1295](https://togithub.com/aspect-build/rules_js/pull/1295) #### New Contributors - [@​jgao54](https://togithub.com/jgao54) made their first contribution in [https://togithub.com/aspect-build/rules_js/pull/1295](https://togithub.com/aspect-build/rules_js/pull/1295) **Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.33.0...v1.33.1 </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:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
- Loading branch information