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

fix(public-docsite-v9): add all stories project as implicit dependency in order to properly trigger affected build chain #32211

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented Aug 2, 2024

Previous Behavior

If only source files of *-stories project are changed within a PR it wont trigger public-docsite-v9 build-storybook which will end up not having storybook deployed per PR in order to review your changes

Example of issues:

#32176

V3vuSFj9I3.mp4

New Behavior

as we moved to nx we can leverage powerful capabilities like implicitDependencies definition which understands patterns set within our monorepo. This also nicely mirrors what is actually happening in real life as we load those project stories imperatively behind the scenes so they are not a direct dependency.

Before
image

After

image

Related Issue(s)

  • Fixes #

@github-actions github-actions bot added this to the August Project Cycle Q3 2024 milestone Aug 2, 2024
@Hotell Hotell marked this pull request as ready for review August 2, 2024 14:31
@Hotell Hotell requested a review from a team as a code owner August 2, 2024 14:31
@fabricteam
Copy link
Collaborator

fabricteam commented Aug 2, 2024

📊 Bundle size report

✅ No changes found

…y in order to properly trigger affected build chain
@Hotell Hotell force-pushed the public-docsite-v9/add-implicit-deps-on-story-projects branch from bdf402d to 59ba080 Compare August 5, 2024 15:34
@Hotell Hotell enabled auto-merge (squash) August 5, 2024 15:34
@Hotell Hotell merged commit b6b53b9 into microsoft:master Aug 5, 2024
18 checks passed
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.

4 participants