yllieth / semantic-release-ms-teams

A plugin for semantic-release which publish release notes in a Microsoft Teams channel
MIT License
19 stars 15 forks source link

Looser semantic-release peer dependency version #27

Closed mario-jerkovic closed 2 years ago

mario-jerkovic commented 2 years ago

Hi 👋,

With latest semantic-release@19.0.2 when installing this plugin with npm I get following error:

Could not resolve dependency:
npm ERR! peer semantic-release@">=17.0.0 <18.0.0" from semantic-release-ms-teams@1.2.1
npm ERR! node_modules/semantic-release-ms-teams

This happens because semantic-release peer dependency version is to strict, link

I would suggestion something like this:

{
 "peerDependencies": {
    "semantic-release": "^18 || ^19",
  },
}
yllieth commented 2 years ago

Hi @mario-jerkovic. Thank you for reporting this, and using the plugin. I will fix it as soon as possible.

MatejVukosav commented 2 years ago

@yllieth any idea when fix will be available :)

yllieth commented 2 years ago

Hi @MatejVukosav, @mario-jerkovic. I'm really sorry it took so long. I recently published a new version 2.1.0 that supports semantice-release@19, as well as dropping support of node15 (as semrel did in 19). It also adds unit tests and a couple of refactorings. I hope it will work for you guys.