0.39.1 (2019-10-29)
- fix for bazel-contrib#1307 (7163571)
- karma: load scripts in strict mode (5498f93), closes #922
- examples: demonstrate using Webpack to build and serve a React app (c5d0909)
0.39.0 (2019-10-23)
- bundle names in angular examples (b4f01e2)
- builtin: allow more than 2 segments in linker module names (7e98089)
- webpack should be a peerDep of @bazel/labs (312aa4d)
- builtin: turn off a strict requirement for peer dependencies (#1163) (bd2f108)
- examples: add Jest example (#1274) (f864462), closes /github.com/ecosia/bazel_rules_nodejs_contrib/issues/4#issuecomment-475291612
- The dynamic_deps attribute of yarn_install and npm_install is removed, in favor of declaring needed packages in the deps/data of the rule that invokes the tool.
0.38.3 (2019-10-11)
- examples: angular view engine example (#1252) (c10272a)
- terser: support .map files in directory inputs (#1250) (dfefc11)
0.38.2 (2019-10-09)
- clean_nested_workspaces.sh (acaa5fb)
- rollup: handle transitive npm deps in rollup_bundle (77289e0)
- dont generate build files in symlinked node_modules (#1111) (2e7de34), closes #871
- linker can't assume that transitive module_mappings are in the sandbox (a67a844)
- examples: add closure compiler example (79b0927)
- document the escape hatch from ts_library (#1247) (baa9aa8)
- examples: illustrate how to run a mocha test (#1216) (5485a8a)
- examples: update examples/angular to new rollup_bundle (#1238) (54f5d8c)
- terser: add source map links (32eb7ca)
- typescript: add a transitive_js_ecma_script_module_info alias to js_ecma_script_module_info (#1243) (77e2d4a)
- typescript: add direct_sources field to JSEcmaScriptModuleInfo (1ee00e6)
- typescript: add JSNamedModuleInfo provider to ts_library outputs (#1215) (bb1f9b4)
0.38.1 (2019-10-03)
- builtin: bugs in 0.38 found while rolling out to angular repo (d2262c8)
- README: update "sections below" reference (#1210) (a59203c)
- invalidate installed npm repositories correctly (#1200) (#1205) (0312800)
- docs: fix typo in TypeScript.md (#1211) (893f61e)
- pin @bazel/karma karma dep to ~4.1.0 as 4.2.0 breaks stack traces in karma output (4e86283)
- examples: updated to angular 8.2.8 in examples/angular (#1226) (697bd22)
- examples: upgrade to v9 and enable ivy (#1227) (1c7426f)
0.38.0 (2019-09-26)
- builtin: linker test should run program as an action (#1113) (7f0102e)
- add golden file (9a02ee0)
- add missing async test fixes (12f711a)
- builtin: support for scoped modules in linker (#1199) (94abf68)
- protractor: update rules_webtesting patch to include additional windows fixes (#1140) (f76e97b)
- rollup: npm requires an index.js file (2ababdf)
- builtin: detect APF node module format if ANGULAR_PACKAGE file found (#1112) (162e436)
- builtin: expose the new linker to node programs (65d8a36)
- builtin: introduce npm_package_bin (#1139) (2fd80cf)
- builtin: linker should resolve workspace-absolute paths (307a796)
- builtin: npm_package_bin can produce directory output (#1164) (6d8c625)
- examples: demonstrate that a macro assembles a workflow (7231aaa)
- examples: replace examples/webapp with new rollup_bundle (c6cd91c)
- examples: the Angular example now lives in rules_nodejs (9072ddb)
- rollup: ensure that sourcemaps work end-to-end (f340589)
- rollup: new implementation of rollup_bundle in @bazel/rollup package (3873715), closes #532 #724
- rollup: support multiple entry points (f660d39)
- rollup: tests and docs for new rollup_bundle (cfef773)
- terser: support directory inputs (21b5142)
- add angular example (#1124) (c376355)
- terser: support source map files (#1195) (d5bac48)
- typescript: add JSEcmaScriptModuleInfo provider to ts_library outputs (1433eb9)
- @bazel/typescript and @bazel/karma no longer have a defs.bzl file. Use index.bzl instead.
The @yarn workspace is no longer created. Use @nodejs//:yarn instead.
- history_server and http_server rules are no longer built-in.
To use them, first install the http-server and/or history-server packages Then load("@npm//http-server:index.bzl", "http_server") (or replace with history-server, noting that the rule has underscore where the package has hyphen)
0.37.1 (2019-09-16)
- protractor: update rules_webtesting patch to include additional windows fixes (#1140) (f76e97b)
- rollup: npm requires an index.js file (2ababdf)
- add golden file (9a02ee0)
- add missing async test fixes (12f711a)
- builtin: linker test should run program as an action (#1113) (7f0102e)
- examples: the Angular example now lives in rules_nodejs (9072ddb)
- add angular example (#1124) (c376355)
- builtin: detect APF node module format if ANGULAR_PACKAGE file found (#1112) (162e436)
- builtin: expose the new linker to node programs (65d8a36)
- rollup: new implementation of rollup_bundle in @bazel/rollup package (3873715), closes #532 #724
- rollup: support multiple entry points (f660d39)
- rollup: tests and docs for new rollup_bundle (cfef773)
- terser: support directory inputs (21b5142)
0.37.0 (2019-09-06)
- 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)
- add default DEBUG and VERBOSE_LOGS configuration_env_vars to nodejs_binary (#1080) (df37fca)
- builtin: add Kotlin example (0912014)
- builtin: introduce a linker (62037c9)
- A compatibility layer was removed. See discussion in bazel-contrib#1086
0.36.2 (2019-08-30)
- account for breaking path change in new chromedriver distro (d8a0ccb), closes /github.com/bazelbuild/rules_webtesting/commit/62062b4bd111acc8598bfc816e87cda012bdaae6#diff-bb710201187c4ad0a3fbbe941ffc4b0
- patching rules_webtesting to fix chrome path (97933d8)
- builtin: reformat the error message for Node loader.js (67bca8f), closes /github.com/nodejs/node/blob/a49b20d3245dd2a4d890e28582f3c013c07c3136/lib/internal/modules/cjs/loader.js#L264
- karma: error messages truncated due to custom formatter (f871be6)
- typescript: add peerDependency on typescript (48c5088)
- builtin: add a DeclarationInfo provider (3d7eb13)
- add templated_args_file to allow long agrs to be written to a file (b34d7bb)
- builtin: support yarn --frozen_lockfile (426861f)
- terser: introduce @bazel/terser package (232acfe)
0.36.1 (2019-08-20)
- builtin: add browser to rollup mainFields (e488cb6)
- builtin: introduce dynamic dependencies concept (a47410e)
- less: add less link to the docs's drawer (ec6e0d1)
- less: new less package (462f6e9)
- less: updated default compiler to @bazel/less as mentioned in code review (fd71f26)
- less: updated package.json in e2e/less to pull latest (6027aa3)
0.36.0 (2019-08-15)
- jasmine: correct comment about behavior of config_file attr (59a7239)
- fix yarn_install yarn cache mutex bug (31aa1a6)
- get rules_go dependency from build_bazel_rules_typescript (ea6ee0b)
- npm_package issue with external files on windows (8679b9e)
- sconfig deps sandbox bug (161693c)
- jasmine: introduce config_file attribute (b0b2648)
- jasmine_node_test: add attr
jasmine_config
(715ffc6) - worker: new worker package (9e26856)
- add browser module main priority to generated umd bundles (17cfac9)
0.35.0 (2019-08-02)
- jasmine: enforce that jasmine_node_test is loaded from new location (7708858), closes #838
- fencing for npm packages (#946) (780dfb4)
- builtin: do code splitting even if only one entry point (f51c129)
- stylus: add initial stylus rule (804a788)
- stylus: output sourcemap (dac014a)
- stylus: support import by allowing files in deps (3987070)
- jasmine: You can no longer get jasmine_node_test from @build_bazel_rules_nodejs.
- Use
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
instead - You need to remove
@npm//jasmine
from the deps of the jasmine_node_test - If you use user-managed dependencies, see the commit for examples of the change needed
Also makes the repo bazel-lint-clean, so running yarn bazel:lint-fix no longer makes edits.
0.34.0 (2019-07-23)
- builtin: process/browser should resolve from browserify (a98eda7)
- fix for node windows cross-compile (001d945), closes #909
- node runfiles resolution from external workspaces (82500de)
- protractor: add protractor rule (35a344c)
0.33.1 (2019-07-12)
- builtin: include package.json files in browserify inputs (13c09e6)
0.33.0 (2019-07-12)
- builtin: update to latest ncc (c1e3f4d), closes #771
- builtin: use a local mod to revert a browserify change (253e9cb)
- builtin: add nodejs toolchain support (9afb8db)
0.32.2 (2019-06-21)
- builtin: add test case for @bazel/hide-bazel-files bug (2a63ed6)
- builtin: always hide bazel files in yarn_install & npm install--- (0104be7)
0.32.1 (2019-06-19)
- typescript: exclude typescript lib declarations in (3d55b41)
- typescript: remove override of @bazel/tsetse (2e128ce)
0.32.0 (2019-06-18)
- builtin: add @bazel/hide-bazel-files utility (e7d2fbd)
- builtin: fix for issue 834 (#847) (c0fe512)
- builtin: fix for symlinked node_modules issue #802 (43cebe7)
- create: run ts_setup_workspace in TypeScript workspaces (c8e61c5)
- typescript: fix issue with types[] in non-sandboxed tsc (08b231a)
- typescript: include transitive_declarations (bbcfcdd)