jodyheavener / storybook-docusaurus

Use Storybook with Docusaurus
https://storybook.js.org/addons/storybook-addon-docusaurus
MIT License
14 stars 2 forks source link

No support for docusaurus v3 #7

Open shadowusr opened 5 months ago

shadowusr commented 5 months ago

Thanks for your work and the addon!

Unfortunately currently the addon doesn't work with docusaurus v3, it would be nice to have such support

NPM won't let you install, because of the peerDeps:

"peerDependencies": {
    "@docusaurus/core": "^2.3.1"
}

Also, it would be nice if this worked with the latest storybooks version (v8).

Perhaps it's the only issue now and updating peerDeps would be enough to make it work.

UPD: tried monkey-patching this package to check if it can be easily adopted for v3, it doesn't seem like this is the case.

AndrewSepic commented 3 months ago

@shadowusr I've forked the repo and patched an update to run with docusaurus 3.2. (the server upgrade that broke this).
You can find it at storybook-n-docusaurus. Note I only fixed the /framework part of this package.

@jodyheavener If you're open to it, I'd love clean this up and PR this back into your branch. If you don't have time and want to share the load, I'd be open to helping manage this repo.

jodyheavener commented 3 months ago

Hey @AndrewSepic, thanks for following up in this thread! Really appreciate the time. If you are up for opening a PR I'd be more than happy to review. I haven't had the time lately to manage this repo, so any collaboration/management help is absolutely welcome.

AndrewSepic commented 3 months ago

Awesome. Great to hear @jodyheavener ! Will do. I'll try to get that out this week.