feathersjs-ecosystem / feathers-swagger

Add documentation to your FeatherJS services and feed them to Swagger UI.
MIT License
226 stars 63 forks source link

fix(deps): add missing optional peer dependencies #259

Closed thiemok closed 4 months ago

thiemok commented 4 months ago

Summary

A couple of optional peer dependencies were not declared in the package.json. This prevents compatibility with modern versions of yarn, since yarn will block access to undecalred dependencies.

This adds the missing peer dependencies and marks them as optional so they only need to be installed when actually required

I've only tested with koa. It is possible that other setups might require similar peer dependencies that I did not have problems with. However a quick look at the documentation did not mention other peer dependencies in the installation section