2.2.0
Upgrade with
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "4952ef879704ab4ad6729a29007e7094aef213ea79e9f2e94cbe1c9a753e63ef",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.0/rules_nodejs-2.2.0.tar.gz"],
)
and remember to update your @bazel
-scoped npm dependencies.
Features
- new public API:
js_library
which finally fixes our story for local dependencies with package names - see the new documentation (1e357fd), closes #149 #1771 - thanks to @mistic for contributing the needed logic changes - To fix the hardest migration problem with the 2.0 release, we added back a way to link the workspace root into your node_modules, and added it to nodejs_binary, npm_package_bin, rollup_bundle, ts_project & ts_library (4dcb37f)