krisztianb / typedoc-plugin-merge-modules

Plugin for TypeDoc that merges the content of modules
ISC License
22 stars 4 forks source link

Allow to use TypeDoc 0.25.x #15

Closed elledienne closed 1 year ago

elledienne commented 1 year ago

The current peer dependency version prevents upgrading to the latest version of TypeDoc 0.25.0

>  npm i

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: Workspace@0.0.1
npm ERR! Found: typedoc@0.25.0
npm ERR! node_modules/typedoc
npm ERR!   dev typedoc@"^0.25.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typedoc@"0.24.x" from typedoc-plugin-merge-modules@5.0.1
npm ERR! node_modules/typedoc-plugin-merge-modules
npm ERR!   dev typedoc-plugin-merge-modules@"5.0.1" from the root project```

While it's still possible to use the current plugin version with npm i --force or npm i --legacy-peer-deps, it's not that convenient - this PR extends the allowed versions of TypeDoc.

krisztianb commented 1 year ago

Thanks for your help.

I created a separate branch for this as I also had to fix several unit tests because of changes in the HTML output of TypeDoc in version 0.25.0

Released in 5.1.0 🎉