v0.11.1
Pre-release
Pre-release
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "d75eb0a86e36b49f95d20cd9dea9b533fbb8f8054b7d8522ea2d65d3d9d0c403",
strip_prefix = "rules_js-0.11.1",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.11.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,
)
load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock")
npm_translate_lock(
name = "npm",
pnpm_lock = "//:pnpm-lock.yaml",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- fix: bazel-lib version in MODULE.bazel by @kormide in #163
- Add example for bazel integration to update lockfile by @alex-torok in #157
- chore: clean up two more examples folders by @alexeagle in #165
- fix: support github.com style npm dependency versions in pnpm lock files by @gregmagolan in #169
Full Changelog: v0.11.0...v0.11.1