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 path to checkActionsLoaded #19334

Merged
merged 5 commits into from
Oct 5, 2022
Merged

Fix path to checkActionsLoaded #19334

merged 5 commits into from
Oct 5, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Oct 3, 2022

Issue:

I got an error in a different PR:

https://app.circleci.com/pipelines/github/storybookjs/storybook/29618/workflows/0931a8cf-b0da-4cbd-8a03-9bad0fdf9174/jobs/418314?invite=true#step-105-471

What I did

I noticed that in the transition to tsup for addon-interactions, a few things seemed to be missed. This PR updates the link from preset.js to the correct build location, and also adds the target (checkActionsLoaded) to the list of entry points.

The part I'm not sure about is adding platform: node, since different parts of the addon runs both in node and in the browser. But, checkActionsLoaded uses the path node builtin, so it needed the flag to build correctly.

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@IanVS
Copy link
Member Author

IanVS commented Oct 3, 2022

image

@IanVS IanVS requested a review from ndelangen October 5, 2022 12:25
@ndelangen ndelangen merged commit 624a6b6 into next Oct 5, 2022
@ndelangen ndelangen deleted the fix/addon-interactions-build branch October 5, 2022 13:25
@ndelangen ndelangen self-assigned this Oct 5, 2022
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.

2 participants