Fri Oct 27 2017
Pre-release
Pre-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 anode_modules/
tree), anode_bundle
rule (responsible for co-locating a node exe and the node_modules tree). As before, thenode_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 anode_binary
entry for anything that would otherwise exist innode_modules/.bin
.- Re-write mocha_test as a genrule.
- Adds a
node_test
rule. - More tests/examples (webpack, typescript, express, mocha...)