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

feat(scripts-storybook): make getMetadata throwable via config to be able to process stories glob for packages no longer present in the repo #31226

Merged

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented Apr 30, 2024

Previous Behavior

getMetadata will throw if dependency is not an workspace project

New Behavior

  • getMetadata will throw if dependency is not an workspace project only if explicitly set via new options API.
  • internal logic of getPackageStoriesGlob refactored to use Array.reduce for perf and simpler logic

Related Issue(s)

@github-actions github-actions bot added this to the April Project Cycle Q1 2024 milestone Apr 30, 2024
@fabricteam
Copy link
Collaborator

fabricteam commented Apr 30, 2024

📊 Bundle size report

✅ No changes found

Copy link

codesandbox-ci bot commented Apr 30, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@Hotell Hotell changed the title feat(scripts-storybook): make getMetadata throwable via config to be able to process stories glob for packages no longer present in the repo chore: remove deprecated package - testing pipeline Apr 30, 2024
@Hotell Hotell changed the title chore: remove deprecated package - testing pipeline feat(scripts-storybook): make getMetadata throwable via config to be able to process stories glob for packages no longer present in the repo Apr 30, 2024
@Hotell Hotell force-pushed the storybook/getPackageStoriesGlob-api-fixes branch from 50b8807 to da65e4b Compare April 30, 2024 10:48
@Hotell Hotell marked this pull request as ready for review April 30, 2024 10:51
@Hotell Hotell requested a review from a team as a code owner April 30, 2024 10:51
@tudorpopams tudorpopams self-requested a review April 30, 2024 11:13
@Hotell Hotell force-pushed the storybook/getPackageStoriesGlob-api-fixes branch from da65e4b to 48ea588 Compare April 30, 2024 13:10
@Hotell Hotell force-pushed the storybook/getPackageStoriesGlob-api-fixes branch from 48ea588 to 4d8e5f9 Compare April 30, 2024 16:07
@fabricteam
Copy link
Collaborator

🕵 FluentUIV0 No visual regressions between this PR and main

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@Hotell Hotell merged commit 1f3d2e7 into microsoft:master May 2, 2024
18 checks passed
@Hotell Hotell deleted the storybook/getPackageStoriesGlob-api-fixes branch May 2, 2024 13:16
miroslavstastny pushed a commit to miroslavstastny/fluentui that referenced this pull request Jun 14, 2024
…able to process stories glob for packages no longer present in the repo (microsoft#31226)
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.

3 participants