Skip to content

v1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Sep 19:13
· 936 commits to main since this release
d2e1b78

WORKSPACE snippet:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "bc9d48758458d72e743f6de4c485482e122b3b4472878cf6ff83bd0caa4ab855",
    strip_prefix = "rules_js-1.3.0",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.3.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

  • ci: prepare rules_js for publish-to-bcr app by @kormide in #451
  • fix: mark intermediary targets in package_json.bzl as manual by @alex-torok in #454
  • test: align commonjs + esm npm_link_package tests by @jbedard in #444
  • fix: bzlmod bazel-lib version not in sync with WORKSPACE by @kormide in #455
  • fix: add package.json to lifecycle hooks js_binary by @gregmagolan in #456
  • feat: supply a @pnpm//:pnpm binary by @alexeagle in #457

Full Changelog: v1.2.0...v1.3.0