Skip to content

Releases: bazel-contrib/rules_nodejs

0.27.12

09 Apr 22:53
Compare
Choose a tag to compare

Fixed an issue with transitive node_modules not being available to the rollup_bundle rule. Such deps don't need to be repeated now.

Introduced new package http://npmjs.com/package/@bazel/labs - this contains more experimental features that might be breaking or even removed in the future.

This contains the start of a webpack_bundle rule.

0.27.10

03 Apr 23:13
Compare
Choose a tag to compare
  • add a special case when Angular Package Format packages are found in node_modules, generating a special BUILD file for them so that devmode scripts flow to downstream targets
  • you can now access the devmode manifest output of a ts_devserver, useful for plumbing through to your own server
  • packages can now publish a bazelBin key in their package.json, indicating additional attributes to put on the generated nodejs_binary

0.27.9

29 Mar 20:28
Compare
Choose a tag to compare

Changes to @bazel/jasmine/jasmine_node_test:

  • more fixes for sharding and loading
  • can produce coverage data
  • fix deprecation warnings about load path

0.27.8

25 Mar 17:34
Compare
Choose a tag to compare
rel: 0.27.8

0.27.7

19 Mar 18:28
Compare
Choose a tag to compare

Fixes for jasmine_node_test

Note: 0.27.6 and 0.27.5 had a regression in the web_package and ts_devserver rules and should not be used.

0.27.4

11 Mar 14:57
Compare
Choose a tag to compare

Minor bugfix for jasmine_node_test following sharding feature

To use this release, update your WORKSPACE to:

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

0.27.3

09 Mar 00:02
Compare
Choose a tag to compare

jasmine_node_test now support the shard_count attribute, to parallelize the specs in the test. See https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests

fixed the dependencies of @bazel/typescript to not include jasmine-core

0.27.1

07 Mar 21:33
Compare
Choose a tag to compare

minor bugfix for @bazel/typescript API doc pipeline

0.27.0

07 Mar 20:04
Compare
Choose a tag to compare
  • yarn default is now 1.13.0

@bazel/typescript

  • Fix docs formatting issues and include some missing attributes (switched from Skydoc to Stardoc)

rollup_bundle

  • Update to latest rollup, including support for tree-shaking @__PURE__ code
  • Include the rollup-plugin-commonjs so that commonjs-format modules can be bundled
  • Update from uglify to terser, the currently supported JS minifier, which handles ES2015 inputs
  • The es2015 output is now using native ES modules, so no runtime loader is required (system.js). Note that rollup has a new polyfill, s.js which is not demonstrated here yet.
  • Output chunk directories renamed from *.cs to *_chunks and from .es6 to _es2015 (BREAKING if you depended on the names)

To use this release, update your WORKSPACE to:

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

and update your @bazel/typescript, @bazel/karma, and @bazel/jasmine dependencies to 0.27.0

0.26.0

26 Feb 01:49
Compare
Choose a tag to compare

See 0.26.0-beta.0 release notes.