zhouzi / docusaurus-graphql-plugin

Docusaurus plugin generating Markdown documentation from a GraphQL schema.
https://gabinaureche.com/docusaurus-graphql-plugin/
23 stars 9 forks source link

Update package.json #23

Open Braunson opened 11 months ago

Braunson commented 11 months ago

Updating the joi dependency

ref: #22

zhouzi commented 11 months ago

Thanks for the PR and sorry for the delay 🙏

That's too bad because ^17.4.0 matches 17.11.0 and would work out of the box if we:

  1. Move joi to the peerDependencies so it relies on the project's version
  2. Add joi to the devDependencies so it's installed when developing

In this case ^17.0.0 should work as this plugin uses very basic joi features that probably didn't receive a breaking change with a minor version update.