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

Angular: Fix allowed types of webpackStatsJson in angular-builder #20503

Closed
wants to merge 8 commits into from
Closed

Angular: Fix allowed types of webpackStatsJson in angular-builder #20503

wants to merge 8 commits into from

Conversation

hnicke
Copy link

@hnicke hnicke commented Jan 5, 2023

Issue: #20520

What I did

Backport a fix from next branch to main.

The --webpack-stats-json option should accept a string (a path) as well.

Note that the underlying implementation already accepts a path.
Only the schema was too strict.

Why I did it

Our team is using chromatic.
When using chromatic with turbosnap (--only-changed), it does expect that the storybook-builder option --webpacks-stats-json accepts a string.

@bmayen
Copy link

bmayen commented Jan 11, 2023

🙏 This blocks Chromatic Turbosnap

@valentinpalkovic
Copy link
Contributor

@shilman any idea why the pipeline is failing? Seems to be unrelated to that change. Can we force merge?

@valentinpalkovic
Copy link
Contributor

@shilman Can I ignore the failing tests? Can we rely on the pipeline for branches which are based on main?

@shilman shilman changed the base branch from main to main-prerelease January 26, 2023 11:05
@shilman shilman dismissed valentinpalkovic’s stale review January 26, 2023 11:05

The base branch was changed.

@shilman shilman changed the title fix: Correct allowed types of webpackStatsJson in angular-builder Angular: Fix allowed types of webpackStatsJson in angular-builder Jan 26, 2023
@shilman
Copy link
Member

shilman commented Jan 26, 2023

Closing as duplicate to #20296 which was released in https://github.com/storybookjs/storybook/releases/tag/v6.5.16-alpha.0 and which I'll release today in 6.5.16 proper. Thanks for your patience!

@shilman shilman closed this Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants