Skip to content

Commit 4b52636

Browse files
authored
chore(deps): update dependency aspect_rules_js to v1.42.3 (#1593)
[![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 | patch | `v1.42.1` -> `v1.42.3` | --- ### Release Notes <details> <summary>aspect-build/rules_js (aspect_rules_js)</summary> ### [`v1.42.3`](https://togithub.com/aspect-build/rules_js/releases/tag/v1.42.3) [Compare Source](https://togithub.com/aspect-build/rules_js/compare/v1.42.1...v1.42.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.42.3") ####### Node.js version ######### ### By default you get the node version from DEFAULT_NODE_VERSION in @&#8203;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("@&#8203;rules_nodejs//nodejs:extensions.bzl", "node") node.toolchain(node_version = "16.14.2") ################################# npm = use_extension("@&#8203;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("@&#8203;aspect_rules_js//npm:extensions.bzl", "pnpm") ### Allows developers to use the matching pnpm version, for example: ### bazel run -- @&#8203;pnpm --dir /home/runner/work/rules_js/rules_js install use_repo(pnpm, "pnpm") ``` #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_js", sha256 = "2cfb3875e1231cefd3fada6774f2c0c5a99db0070e0e48ea398acbff7c6c765b", strip_prefix = "rules_js-1.42.3", url = "https://togithub.com/aspect-build/rules_js/releases/download/v1.42.3/rules_js-v1.42.3.tar.gz", ) load("@&#8203;aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") rules_js_dependencies() load("@&#8203;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("@&#8203;bazel_features//:deps.bzl", "bazel_features_deps") #bazel_features_deps() load("@&#8203;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("@&#8203;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("@&#8203;aspect_bazel_lib//lib:repositories.bzl", "register_coreutils_toolchains") register_coreutils_toolchains() ``` #### What's Changed - refactor: align pnpm lock v6+ with v5 target names by [@&#8203;jbedard](https://togithub.com/jbedard) in [https://togithub.com/aspect-build/rules_js/pull/1733](https://togithub.com/aspect-build/rules_js/pull/1733) - fix: error message .format generated with missing argument by [@&#8203;jbedard](https://togithub.com/jbedard) in [https://togithub.com/aspect-build/rules_js/pull/1736](https://togithub.com/aspect-build/rules_js/pull/1736) - docs: include pnpm in bzlmod install snippet by [@&#8203;alexeagle](https://togithub.com/alexeagle) in [https://togithub.com/aspect-build/rules_js/pull/1740](https://togithub.com/aspect-build/rules_js/pull/1740) - fix: allow users to provide the version of [@&#8203;pnpm](https://togithub.com/pnpm) repo by [@&#8203;alexeagle](https://togithub.com/alexeagle) in [https://togithub.com/aspect-build/rules_js/pull/1741](https://togithub.com/aspect-build/rules_js/pull/1741) - chore: add missing package.json files to npm_translate_lock by [@&#8203;jbedard](https://togithub.com/jbedard) in [https://togithub.com/aspect-build/rules_js/pull/1746](https://togithub.com/aspect-build/rules_js/pull/1746) **Full Changelog**: https://togithub.com/aspect-build/rules_js/compare/v1.42.1...v1.42.3 </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
1 parent 6da653a commit 4b52636

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ def gapic_generator_typescript_repositories():
55
maybe(
66
http_archive,
77
name = "aspect_rules_js",
8-
sha256 = "6c8fc7bb6cf47a7c8e8bad391b21f7cd7f377342e3e3c9deef5733acef462b8f",
9-
strip_prefix = "rules_js-1.42.1",
10-
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.42.1.tar.gz",
8+
sha256 = "fc6887091ee3243661fb532fd3244230b6e193c22566a038c9fd748ca68fb880",
9+
strip_prefix = "rules_js-1.42.3",
10+
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.42.3.tar.gz",
1111
)
1212

1313
maybe(

0 commit comments

Comments
 (0)