{
  "id": "install/yarn-install",
  "family": "dependency-install",
  "description": "Compact yarn install output while preserving warnings and summary lines.",
  "matchOutput": [
    {
      "pattern": "Already up-to-date\\.",
      "message": "yarn install: up to date"
    }
  ],
  "match": {
    "toolNames": ["exec"],
    "argv0": ["yarn"],
    "argvIncludes": [["install"]]
  },
  "transforms": {
    "stripAnsi": true,
    "dedupeAdjacent": true,
    "trimEmptyEdges": true
  },
  "summarize": {
    "head": 10,
    "tail": 8
  },
  "failure": {
    "preserveOnFailure": true,
    "head": 14,
    "tail": 14
  },
  "counters": [
    {
      "name": "warning",
      "pattern": "warning",
      "flags": "i"
    },
    {
      "name": "package",
      "pattern": "\\bpackages?\\b",
      "flags": "i"
    }
  ]
}
