Skip to content

Generate Storybook versions from npmjs#401

Open
JReinhold wants to merge 2 commits intomainfrom
get-storybook-versions-from-npm
Open

Generate Storybook versions from npmjs#401
JReinhold wants to merge 2 commits intomainfrom
get-storybook-versions-from-npm

Conversation

@JReinhold
Copy link

@JReinhold JReinhold commented Mar 27, 2026

Fetch Storybook version metadata from npm dist-tags and store it in a generated file. Update the build process to include version generation and add a new script for generating versions. Remove the old way of getting Storybook versions through /docs/versions/latest|next.json in the monorepo.

This shouldn't change the output at all, all routes stay the same, only how it is generated changes.

To test:

Compare:

@chromatic-com
Copy link

chromatic-com bot commented Mar 27, 2026

Tip

All tests passed and all changes approved!

🟢 UI Tests: web/frontpage: 37 tests unchanged
🟢 UI Review: web/frontpage: 29 stories published -- no changes
Storybook icon Storybook Publish: web/frontpage: 29 stories published

@chromatic-com
Copy link

chromatic-com bot commented Mar 27, 2026

Tip

All tests passed and all changes approved!

🟢 UI Tests: web/ui: 11 tests unchanged
🟢 UI Review: web/ui: 11 stories published -- no changes
Storybook icon Storybook Publish: web/ui: 11 stories published

@netlify
Copy link

netlify bot commented Mar 27, 2026

Deploy Preview for storybook-frontpage ready!

Name Link
🔨 Latest commit 56a1682
🔍 Latest deploy log https://app.netlify.com/projects/storybook-frontpage/deploys/69c68d5b82b69400085a5f89
😎 Deploy Preview https://deploy-preview-401--storybook-frontpage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 27, 2026

Deploy Preview for storybook-addon-catalog ready!

Name Link
🔨 Latest commit 56a1682
🔍 Latest deploy log https://app.netlify.com/projects/storybook-addon-catalog/deploys/69c68d5b3fe8c500084887fa
😎 Deploy Preview https://deploy-preview-401--storybook-addon-catalog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@JReinhold JReinhold requested a review from kylegach March 27, 2026 13:51
@JReinhold JReinhold self-assigned this Mar 27, 2026
@JReinhold JReinhold moved this to In Progress in Core Team Projects Mar 27, 2026
Copy link
Collaborator

@kylegach kylegach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants