v0.9.3
Pre-release
Pre-release
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "7745b11c5d4018e1befa51ba7366149d739aa2521bc2675506b37e1f602204bc",
strip_prefix = "rules_js-0.9.3",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.9.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,
)
load("@aspect_rules_js//js:npm_import.bzl", "translate_pnpm_lock")
translate_pnpm_lock(
name = "npm",
pnpm_lock = "//:pnpm-lock.yaml",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- fix: apply npm_import patches before reading the package.json file incase package.json itself needs patching by @gregmagolan in #149
Full Changelog: v0.9.2...v0.9.3