conveyal/maven-semantic-release

semantic-release v18 support

KaiSchwarz-cnic opened this issue · 4 comments

> npm i                                                       
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: java-sdk@0.0.0-development
npm ERR! Found: semantic-release@18.0.1
npm ERR! node_modules/semantic-release
npm ERR!   dev semantic-release@"^18.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer semantic-release@"^17.3.0" from @conveyal/maven-semantic-release@5.0.0
npm ERR! node_modules/@conveyal/maven-semantic-release
npm ERR!   dev @conveyal/maven-semantic-release@"^5.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See <$HOME>/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     <$HOME>/.npm/_logs/2021-11-24T07_37_21_382Z-debug.log

I just added a Pull Request #71

Hello all, please see #72.

with npm 8++, you can rely on an "overrides" section to override package versions explicitely.

"overrides": {
    "semantic-release": "^19.0.3"
}

of course to be seen as temporary solution until a replacement for maven-semantic-release is available or a new maintainer.

HTH