)]}'
{
  "commit": "799acb457b0c0cdc2fd642ebb41d17bbf9b8cdcd",
  "tree": "54e7287c77e225f2aedf610c63cf7ad2f9c6e71a",
  "parents": [
    "1860a6a6d6ee9cc8b7297edda119d8babbf6db4a"
  ],
  "author": {
    "name": "Greg Magolan",
    "email": "gmagolan@gmail.com",
    "time": "Thu Dec 19 16:37:48 2019 -0800"
  },
  "committer": {
    "name": "Alex Eagle",
    "email": "alexeagle@google.com",
    "time": "Fri Dec 20 06:06:54 2019 -0800"
  },
  "message": "refactor: remove templated_args_file from nodejs_binary \u0026 nodejs_test\n\nBREAKING CHANGE:\n`templated_args_file` removed from nodejs_binary, nodejs_test \u0026 jasmine_node_test. This was a separation of concerns and complicated node.bzl more than necessary while also being rigid in how the params file is formatted. It is more flexible to expose this functionality as another simple rule named params_file.\n\nTo match standard $(location) and $(locations) expansion, params_file args location expansions are also in the standard short_path form (this differs from the old templated_args behavior which was not Bazel idiomatic)\nUsage example:\n\n```\nload(\"@build_bazel_rules_nodejs//:index.bzl\", \"params_file\", \"nodejs_binary\")\n\nparams_file(\n    name \u003d \"params_file\",\n    args \u003d [\n        \"--some_param\",\n        \"$(location //path/to/some:file)\",\n        \"--some_other_param\",\n        \"$(location //path/to/some/other:file)\",\n    ],\n    data \u003d [\n        \"//path/to/some:file\",\n        \"//path/to/some/other:file\",\n    ],\n)\n\nnodejs_binary(\n    name \u003d \"my_binary\",\n    data \u003d [\":params_file\"],\n    entry_point \u003d \":my_binary.js\",\n    templated_args \u003d [\"$(location :params_file)\"],\n)\n```\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f00410fa25fce409aea4c1959fabe40c6e0e5b3",
      "old_mode": 33188,
      "old_path": "index.bzl",
      "new_id": "6adf6e985ca825d38c6f831b3c2f8d29052d9def",
      "new_mode": 33188,
      "new_path": "index.bzl"
    },
    {
      "type": "modify",
      "old_id": "4312ba4aa062f123fe7b5e962b4fc5ae5aa2c1e4",
      "old_mode": 33188,
      "old_path": "index.for_docs.bzl",
      "new_id": "e8ab758a60a8543e3776e6b3c7301944941ab1b3",
      "new_mode": 33188,
      "new_path": "index.for_docs.bzl"
    },
    {
      "type": "modify",
      "old_id": "a26edab6cb3e39bc2ba36fe786bda58a51b06173",
      "old_mode": 33188,
      "old_path": "internal/BUILD.bazel",
      "new_id": "59d74cbdd42d66c240a2c24f57cac3c563f993a5",
      "new_mode": 33188,
      "new_path": "internal/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "21a9f749e06114af827374a827374238d5223d49",
      "old_mode": 33188,
      "old_path": "internal/check_package_json.js",
      "new_id": "c6df2255f2f136dc33f29526d88aff5ac368b54f",
      "new_mode": 33188,
      "new_path": "internal/check_package_json.js"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "290cf0b40f9764e747e14fa79e21ccd2f8b5b794",
      "new_mode": 33188,
      "new_path": "internal/common/params_file.bzl"
    },
    {
      "type": "modify",
      "old_id": "b40192028aa668fe3a7f03e1eca7bdd553c72a57",
      "old_mode": 33188,
      "old_path": "internal/common/test/BUILD.bazel",
      "new_id": "2d174325b836492287889c1aac9152199a8bb213",
      "new_mode": 33188,
      "new_path": "internal/common/test/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1b3e1362a35633109ace72bd618a3ac48f4d76d4",
      "new_mode": 33188,
      "new_path": "internal/common/test/check_params_file.js"
    },
    {
      "type": "modify",
      "old_id": "882c5a9eeffaec89da01b8335f4b9cc167223f52",
      "old_mode": 33188,
      "old_path": "internal/node/node.bzl",
      "new_id": "2c0bfefde4ff6d5440bc50934eab44ad84345e01",
      "new_mode": 33188,
      "new_path": "internal/node/node.bzl"
    }
  ]
}
