Skip to content

v1.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jul 18:25
· 1129 commits to main since this release
a58c838

WORKSPACE snippet:

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

http_archive(
    name = "aspect_rules_js",
    sha256 = "a6d31c98f30eb503e836201d723b3164c5e07ba34553d260f71720a819d8ba4c",
    strip_prefix = "rules_js-1.0.0-rc.2",
    url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.0.0-rc.2.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

  • bug: js_library with 'deps' no longer pulls deps into sandbox output tree by @alex-torok in #265
  • docs: remove stale reference to non-linked 3p targets by @alexeagle in #275
  • feat: add patch_node_fs attribute to js_binary and js_run_binary for easy opt-out by @gregmagolan in #281
  • feat: parse literal mulitline yaml strings by @kormide in #284
  • fix: determine the RUNFILES directory when running a js_binary in an sh_binary by @gregmagolan in #286
  • feat: add stamp attribute and docstring to js_run_binary by @gregmagolan in #290
  • chore: rename pnpm_workspace_dot_dot => pnpm_workspace_rerooted by @gregmagolan in #291
  • chore: refactor duplicate code info helper function in npm_translate_lock by @gregmagolan in #293
  • fix: small typo in e2e code by @gregmagolan in #294
  • fix: fix relative symlinks handing in node fs patches by @gregmagolan in #292
  • chore: cleanup bzlmod e2e loose inconsistencies by @gregmagolan in #295
  • fix: handle transitive file: dependencies by @gregmagolan in #288
  • feat: allow lifecycle hooks environment variables for the npm_import rule by @JiaLiPassion in #280

New Contributors

Full Changelog: v1.0.0-rc.1...v1.0.0-rc.2