0.37.0
Upgrade:
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "0d9660cf0894f1fe1e9840818553e0080fbce0851169812d77a70bdb9981c946",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.37.0/rules_nodejs-0.37.0.tar.gz"],
)
Bug Fixes
- builtin: --nolegacy_external_runfiles on build (38814aa)
- builtin: fix localWorkspacePath logic (0a7fb01), closes #1087
- npm_install: dynamic_deps attribute not working for scoped packages (bf68577)
- node executables not running on windows if bash toolchain path (#1104) (c82b43d)
- node_loader windows fix for RUNFILES_MANIFEST_FILE slashes (d3886ce)
chore
Features
- add default DEBUG and VERBOSE_LOGS configuration_env_vars to nodejs_binary (#1080) (df37fca)
- builtin: add Kotlin example (0912014)
- builtin: introduce a linker (62037c9)
BREAKING CHANGES
- A year-old compatibility layer for TypeScript was removed. See discussion in #1086
nodejs_binary
andnodejs_test
are no longer macros.
Targets like my_binary.bin
are now gone.
If you are using the common pattern
const isProdserver = config.server.endsWith('prodserver');
in your protractor on_prepare .js code you will need to change that pattern to
const isProdserver = path.basename(config.server, path.extname(config.server)) === 'prodserver';
as config.server
may now end in .sh
or .bat