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 CJS entrypoint for manager code, and drop some unused things #126

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Sep 3, 2024

The addon was broken because package.json is pointing to ./dist/manager.js for the manager require entrypoint, but this file did not exist. I've updated the TSUP config to generate this file. I've dropped the files at the root because nothing is actually using these.

Update: Turns out those files are needed in some cases, so that part is reverted in v4.0.2.

@ghengeveld ghengeveld added patch Increment the patch version when merged release Create a `latest` release when merged labels Sep 3, 2024
@yannbf yannbf added the patch Increment the patch version when merged label Sep 3, 2024
Copy link
Collaborator

@yannbf yannbf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ghengeveld ghengeveld merged commit b52343c into main Sep 3, 2024
9 of 10 checks passed
@ghengeveld ghengeveld deleted the fix-dist-config branch September 3, 2024 15:01
Copy link

github-actions bot commented Sep 3, 2024

🚀 PR was released in v4.0.1 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Sep 3, 2024
Copy link
Collaborator

@JReinhold JReinhold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've dropped the files at the root because nothing is actually using these.

This is a common misconception, but it's actually wrong. You should revert that part @ghengeveld
See
storybookjs/addon-kit#66

@ghengeveld
Copy link
Member Author

Fixed in v4.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a `latest` release when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants