storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.77k stars 9.34k forks source link

[Tracking]: Ecosystem Releases #23279

Open valentinpalkovic opened 1 year ago

valentinpalkovic commented 1 year ago

Storybook Ecosystem Tracking - Storybook 8

This document serves as a comprehensive tracker of various ecosystems related to Storybook including package managers, renderers, and builders. The goal is to track the release dates, version numbers, and the compatibility status of these ecosystems with Storybook. It provides a streamlined view to monitor and manage any potential dependencies or breaking changes and help maintain the stability of Storybook.

Operating Systems

Operating System Core Storybook Support
Windows + WSL
macOS
Linux

Javascript Engines

Javascript Engines Version Number Release Date EOL Core Storybook Support Drop Support
Node.js v18 2022-04-19 2025-04-30 -
v20 2023-04-18 2026-04-30 -
Bun -
Deno -

Package Managers

Package Manager Version Number Release Date EOL Core Storybook Support Drop Support Date
npm v8 2021-10-07 - -
v9 2022-10-24 - -
v10 unknown - -
yarn (berry) + pnp v3 2021-08-06 - -
v4 2023-10-23 - -
pnpm + pnp v7 2022-05-01 unmaintained -
v8 2023-03-27 - -
v9 2024-04-16 - -
bun v1 2023-09-08 - -

Renderers

Renderer Version Number Release Date EOL Core Storybook Support Drop official Support
React v16 2020-10-14 -
v17 2021-03-22 -
v18 2022-06-14 -
v19 2024-04-25 ✅ (prerelease)
Angular v15 2022-11-22 2024-05-24 Storybook 9
v16 2023-07-24 2024-11-08
v17 2023-11-06 -
v18 2024-05-022 -
Vue v3 2022-05-11 -
v4 unknown - -
Svelte v4 2023-06-09 -
v5 (RC) 2024-04-30 - ✅ (prerelease)
Lit v2 2023-06-02 -
v3 2023-10-10 -

Builders

Builder Version Number Release Date EOL Core Storybook Support Drop official Support
Webpack v5 2020-10-10 -
v6 unknown - -
Vite v4 2022-12-09 -
v5 2023-11-16 -
Esbuild
Turbopack
rspack
parcel

Legend:

lanesawyer commented 1 year ago

It would be nice to get Parcel listed in the bundler section for tracking. It's big enough that React recommends it or Vite as a tool to reach for if you're not using a framework.

cgcompassion commented 12 months ago

Has there been any discussion on adding support for bun?

valentinpalkovic commented 12 months ago

Adding official support for another Javascript runtime besides Node.js would mean we had to commit long-term supporting a runtime like bun. Currently, we are still waiting for a broader adoption of bun to satisfy official support since we have to juggle with the limited resources we have and use them wisely.

On the other hand, I have already seen posts and mentions, that bun seems to work with Storybook, at least in some circumstances.

If you want to drive and accelerate Storybook's support of Bun, I would suggest creating an RFC or even just a plain Issue where we can track missing pieces which are required fully supporting bun. Then other contributors might participate, and supporting Bun might be driven by the community in the first place.

Minniehajj commented 9 months ago

Adding official support for another Javascript runtime besides Node.js would mean we had to commit long-term supporting a runtime like bun. Currently, we are still waiting for a broader adoption of bun to satisfy official support since we have to juggle with the limited resources we have and use them wisely.

On the other hand, I have already seen posts and mentions, that bun seems to work with Storybook, at least in some circumstances.

If you want to drive and accelerate Storybook's support of Bun, I would suggest creating an RFC or even just a plain Issue where we can track missing pieces which are required fully supporting bun. Then other contributors might participate, and supporting Bun might be driven by the community in the first place.

How about allowing for the package manager option for bun since it not only is a runtime, but a package manager as well.

sroussey commented 8 months ago

I think this project uses an old version of detect-package-manager 2.x instead of 3.x which detects bun.

For anyone using bun and workspaces, this means total failure. But you just need to trick storybook into choosing anything but npm. So, for example, if you have pnpm installed, I have had good success by doing this:

❯ touch pnpm-lock.yaml
❯ bun run storybook

Hopefully this will be helpful for anyone that gets to this by a google search.

javadbat commented 6 months ago

Has there been any discussion on adding support for Deno?

birkskyum commented 1 month ago

would be awesome to have support for deno 2 , both for using the deno package manager to init, and deno task storybook to run. opened a ticket here in deno repo, but think it's necessary to add this in storybook repo to make it work

rhuanbarreto commented 2 weeks ago

Support for bun as a package manager was added.