prisma-labs / dripip

Opinionated CLI for continuous delivery of npm packages
100 stars 2 forks source link

conventional commit parser support for \r\n #33

Closed jasonkuhrt closed 4 years ago

jasonkuhrt commented 4 years ago

Note in the following how raw failed to get parsed.

❯ yarn -s release:preview --dry-run | jq
{
  "kind": "ok",
  "type": "dry_run",
  "data": {
    "bumpType": "patch",
    "version": "0.4.1-next.1",
    "commits": [
      {
        "raw": "feat: model initial dev semantic (#32)\n\ncloses #31\r\n\r\nBased on ideas being slowly discussed at spec level here:\r\nconventional-commits/conventionalcommits.org#214\r\n\r\nBREAKING CHANGE:\r\n* To go from 0.x to 1.x it is now required to use the special keyphrase:\r\n\r\n    COMPLETES INITIAL DEVELOPMENT",
        "parsed": null
      },
      {
        "raw": "fix: spec compliant breaking-change parse",
        "parsed": {
          "type": "fix",
          "scope": null,
          "description": "spec compliant breaking-change parse",
          "body": null,
          "footers": [],
          "breakingChange": null,
          "completesInitialDevelopment": false
        }
      }
    ]
  }
}