Skip to content

10.0.5: parseCommits is not a function #137

@mattfelten

Description

@mattfelten
"@release-it/conventional-changelog": "^10.0.5",
"release-it": "^19.2.4"
import type { Config } from "release-it";

export default {
  npm: {
    publish: false,
  },
  git: {
    commitMessage: "chore: release v${version}",
    push: false,
    requireBranch: "main",
    requireCleanWorkingDir: true,
  },
  plugins: {
    "@release-it/conventional-changelog": {
      infile: "CHANGELOG.md",
      preset: {
        name: "conventionalcommits",
      },
    },
  },
} satisfies Config;

I tried with and without the conventional-changelog-conventionalcommits override also.

Output looks like this:

❯ npx release-it --dry-run
$ git rev-parse --abbrev-ref HEAD
$ git rev-parse --abbrev-ref HEAD  [cached]
$ git config --get branch.main.remote
$ git remote get-url origin
! git fetch
$ git rev-parse --abbrev-ref HEAD  [cached]
$ git describe --tags --match=* --abbrev=0
$ git symbolic-ref HEAD
$ git for-each-ref --format="%(upstream:short)" refs/heads/main
ERROR parseCommits is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions