Skip to content

Releases: pubref/rules_node

2019-04-21

22 Apr 00:40
@pcj pcj
c7b9ae3
Compare
Choose a tag to compare
v0.5.0

node_module: implement data file copy (#80)

Fri Oct 27 2017

27 Oct 22:47
@pcj pcj
Compare
Choose a tag to compare
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 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...)

Sep 21 2017

21 Sep 19:24
@pcj pcj
Compare
Choose a tag to compare
Sep 21 2017 Pre-release
Pre-release

This is a complete rewrite of rules_node. In prior releases npm was used to install dependencies, this has been replaced with yarn. The mechanism for associating external (npm) node modules was previously based on assembling a NODE_PATH enviroment variable. This has been replaced by code that constructs a fresh node_modules/ tree foreach node_binary rule, having much better hermeticity characteristics.

Feb 5 2017

06 Feb 05:27
@pcj pcj
Compare
Choose a tag to compare
Feb 5 2017 Pre-release
Pre-release

Fixes issue with toolchain related to bazel 0.4.4

Sun Jan 22

22 Jan 21:38
@pcj pcj
Compare
Choose a tag to compare
Sun Jan 22 Pre-release
Pre-release

Disables the internal use of the sha256 attribute, which is still too flaky for general use.

Sun Oct 1

02 Oct 00:48
@pcj pcj
Compare
Choose a tag to compare

New and improved npm_repository repository rule.

  • Adds npm_repository rule that downloads and installs a set of npm module
    dependencies in the workspace.
  • Adds support scripts dar.py and dnode_modules.py that are used by npm_repository.
  • Removes npm_library rule.
  • Adds 0.3.2rc2 and rc3 to build matrix.

Wed Sep 28

29 Sep 04:02
@pcj pcj
Compare
Choose a tag to compare

This release includes a new rule node_library that takes a set of sourcefiles, a set of dependencies and package configuration, dynamically writes a package.json file, and npm install's it as a local module.

Initial release.

27 Sep 05:33
@pcj pcj
Compare
Choose a tag to compare

Initial release provides node_binary, npm_library.

TODO would include node_test and node_library, as well as some scheme npm_library sha256 values.