Skip to content

3.1.0

Compare
Choose a tag to compare
@alexeagle alexeagle released this 02 Feb 01:55
· 798 commits to stable since this release

Upgrade with

http_archive(
    name = "build_bazel_rules_nodejs",
    sha256 = "dd4dc46066e2ce034cba0c81aa3e862b27e8e8d95871f567359f7a534cccb666",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.1.0/rules_nodejs-3.1.0.tar.gz"],
)

and upgrade your @bazel-scoped npm packages.

Bug Fixes

  • forward srcs, deps and visibility of dummy_bzl_library to the filegroup when publishing (0466084)
  • linker fix for invalid symlink creation path in createSymlinkAndPreserveContents (14086a8)
  • relative data paths in yarn_install & npm_install when symlink_node_modules=False and package.json is not at root (3c12dfe)
  • builtin: only generate a .tar pkg_npm output when requested (#2428) (4d8f15c)
  • builtin: pass quiet attr though to build file generation on npm / yarn install (#2400) (ceb76d6)
  • builtin: when using chdir attribute, don't write to source dir (3eb4260)
  • typescript: capture js files in outputs of ts_project if allow_js (9d7827b)
  • remove mirror.bazel.build from list of node_urls used to fetch NodeJS by default (#2408) (67b494b)
  • skip update NodeJS versions action on forks (#2396) (4e40d25)
  • examples: angualr universal_server (d5e8413)
  • update-nodejs-versions: Fix NodeJS version for running GitHub Action (4ab8252)

Features

  • builtin: add a chdir attribute to nodejs_test and npm_package_bin (0fde42b), closes #2323
  • typescript: create a better ts_project worker (#2416) (99bfe5f)
  • add support for NodeJS 15.x (#2366) (924fa41)