Skip to content

v0.9.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jun 16:21
· 1247 commits to main since this release
8fab38a

WORKSPACE snippet:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_rules_js",
    sha256 = "f01010e1f6bd49a8da6f7350c60992b7eb2eb62058cfe7aa6abd9e416bc2158b",
    strip_prefix = "rules_js-0.9.1",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.9.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//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

  • feat: promote subset of pnpm_utils to public API as constants and utils in defs.bzl by @alexeagle in #142
  • refactor: split npm_import data logic from starlark code generation by @alexeagle in #143

Full Changelog: v0.9.0...v0.9.1