Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to latest storybook #106

Merged
merged 9 commits into from
Jan 11, 2024
Merged

Upgrade to latest storybook #106

merged 9 commits into from
Jan 11, 2024

Conversation

trotzig
Copy link
Contributor

@trotzig trotzig commented Jan 11, 2024

To make sure that the plugin works with the most recent Storybook version, I'm upgrading dev dependencies.

As part of this I'm attempting to fix
#104, applying the changes (different imports in addons.js and decorator.js) suggested there.

To make sure that the plugin works with the most recent Storybook
version, I'm upgrading dev dependencies.

As part of this I'm attempting to fix
#104, applying the
changes (different imports in addons.js and decorator.js) suggested
there.
I ran into an issue when building the Storybook and they suggested using
the latest yarn: storybookjs/storybook#22431 (comment)
@trotzig trotzig force-pushed the storybook-latest branch 3 times, most recently from 458ad2b to 4612660 Compare January 11, 2024 13:16
The project no longer builds with v1
Version 6 was released almost four years ago. It's starting to be
hard to test this old version, and to stay leaner when moving forward
I've decided to drop support for Storybook v5 at this point.

We can still maintain a v5 branch if the need for it arises. But
starting with the next release, users can't expect to be able to use
happo-plugin-storybook with Storybook <v6.
This command is no longer supported in v4 of yarn. We use it for
debugging purposes but it isn't strictly needed.
@trotzig trotzig force-pushed the storybook-latest branch 6 times, most recently from e2448ea to 6dc5467 Compare January 11, 2024 16:36
The difference between v7 and v6 is starting to be quite large at this
point.
I ran into an issue with yarn not supporting `yarn list` anymore. To fix
this, I'm adding yet another way of detection -- this time reading the
package.json file to look for the version among the installed packages.
@trotzig trotzig force-pushed the storybook-latest branch 2 times, most recently from f2d7a93 to b660b5f Compare January 11, 2024 17:25
Continuing the work to make the v6 build work.
@trotzig trotzig merged commit e6404fd into master Jan 11, 2024
2 checks passed
@trotzig trotzig deleted the storybook-latest branch January 11, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant