Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conventional-changelog v8+ not loaded #93

Open
timmywil opened this issue Jun 21, 2024 · 1 comment
Open

conventional-changelog v8+ not loaded #93

timmywil opened this issue Jun 21, 2024 · 1 comment

Comments

@timmywil
Copy link

timmywil commented Jun 21, 2024

With conventional-changelog now ESM-only, this package no longer seems to load the plugin in a usable way, at least not by default. Versions of conventional-changelog-conventionalcommits before v8 work fine. I am using @release-it/[email protected]

Example config

{
  "verbose": 2,
  "hooks": {
    "before:init": "npm test"
  },
  "git": {
    "commitMessage": "chore(release): ${version}",
    "requireBranch": "main",
    "tagName": "${version}"
  },
  "npm": {
    "publish": false
  },
  "github": {
    "release": true
  },
  "plugins": {
    "@release-it/conventional-changelog": {
      "preset": {
        "name": "conventionalcommits",
        "types": [
          {
            "type": "feat",
            "section": "Features"
          },
          {
            "type": "fix",
            "section": "Bug Fixes"
          },
          {
            "type": "perf",
            "section": "Performance Improvements"
          }
        ]
      }
    }
  }
}

Edit: looking closer at this plugins dependencies, I wonder if it's simply a matter of upgrading conventional-changelog to 6.0

@webpro
Copy link
Contributor

webpro commented Sep 11, 2024

Unfortunately conventional-changelog 6.0 has some significant breaking changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants