v0.12.0
Pre-release
Pre-release
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_rules_js",
sha256 = "72426f2c2588aee5d050d6d5bc4e40223a5d09ba40b66c6a9e2948a43c68e697",
strip_prefix = "rules_js-0.12.0",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.12.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",
)
load("@npm//:repositories.bzl", "npm_repositories")
npm_repositories()
What's Changed
- feat: import single packages as bzlmod extension by @kormide in #172
- refactor: name launcher script like nodejs_binary does by @alexeagle in #173
- chore: update versions by @kormide in #176
- fix: string substitution error on windows by @kormide in #174
- fix: broken windows build caused by missing bash script in runfiles by @kormide in #175
- Configure Renovate by @renovate in #168
- feat: support 'npm:' style package.json aliased npm deps by @gregmagolan in #171
New Contributors
Full Changelog: v0.11.1...v0.12.0