v1.6.0
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 = "fbd602ec010f53881166b525a3dafc08fd1ca1d361ac61c5d4b8ded4c7341103",
strip_prefix = "rules_js-1.6.0",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.6.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,
)
load("@aspect_rules_js//npm:npm_import.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
- fix(deps): update all patch updates by @renovate in #524
- fix: make js_binary more portable by removing dependency on bazel_tools/tools/bash/runfiles/runfiles.bash by @gregmagolan in #538
- fix: remove duplicate dependency in MODULE.bazel by @gregmagolan in #541
- chore: update bzlmod e2e to expected working shape by @gregmagolan in #542
- chore: update to @aspect_bazel_lib v1.3.1 by @gregmagolan in #543
- feat: support bzlmod by @gregmagolan in #539
- chore: document bzlmod usage in release notes by @alexeagle in #545
- perf: prevent preparing stack traces in fs *Sync patches by @jbedard in #546
- fix: update
expand_template
to returnDefaultInfo
by @cgrindel in #551 - feat: add additional env vars to js_binary by @gregmagolan in #550
- feat: add js_run_devserver rule by @gregmagolan in #540
New Contributors
Full Changelog: v1.5.3...v1.6.0