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_modulesrule (responsible for building the anode_modules/tree), anode_bundlerule (responsible for co-locating a node exe and the node_modules tree). As before, thenode_modulerule is responsible for building a single entry in a node_modules tree. - Support for using
node_binaryas a genrule executable. parse_yarn_lock.jsnow generates anode_binaryentry for anything that would otherwise exist innode_modules/.bin.- Re-write mocha_test as a genrule.
- Adds a
node_testrule. - More tests/examples (webpack, typescript, express, mocha...)