Skip to content

Fri Oct 27 2017

Pre-release
Pre-release
Compare
Choose a tag to compare
@pcj pcj released this 27 Oct 22:47
· 16 commits to master since this release

This release continues a major re-write of rules_node.

  • The node_binary has been decomposed into a node_modules rule (responsible for building the a node_modules/ tree), a node_bundle rule (responsible for co-locating a node exe and the node_modules tree). As before, the node_module rule is responsible for building a single entry in a node_modules tree.
  • Support for using node_binary as a genrule executable.
  • parse_yarn_lock.js now generates a node_binary entry for anything that would otherwise exist in node_modules/.bin.
  • Re-write mocha_test as a genrule.
  • Adds a node_test rule.
  • More tests/examples (webpack, typescript, express, mocha...)