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

Core: Maintenance changes for NextJS embedding #25086

Merged
merged 12 commits into from
Dec 11, 2023

Conversation

shilman
Copy link
Member

@shilman shilman commented Dec 2, 2023

Closes N/A

What I did

This PR cherry-picks (and modifies as appropriate) a handful of minor maintenance changes from #24447 so that the experimental framework can be extracted from the monorepo.

Those changes include:

  • Exporting a little more from the preview API
  • Refactoring the react renderer slightly
  • Adding the --exact-port CLI option

Plus some minor bugfixes and workarounds.

How to test

This has been tested in CI:

🦋 Canary release

This pull request has been released as version 0.0.0-pr-25086-sha-b3010f16. Install it by pinning all your Storybook dependencies to that version.

More information
Published version 0.0.0-pr-25086-sha-b3010f16
Triggered by @shilman
Repository storybookjs/storybook
Branch shilman/enable-embedded-storybook
Commit b3010f16
Datetime Mon Dec 11 02:47:27 UTC 2023 (1702262848)
Workflow run 7162277459

To request a new release of this pull request, mention the @storybookjs/core team.

core team members can create a new canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=25086

@shilman shilman changed the title Don't preload preview runtime if there is no preview Core: Maintenance changes to enable NextJS embedding Dec 2, 2023
@shilman shilman added maintenance User-facing maintenance tasks core ci:normal labels Dec 2, 2023
@storybookjs storybookjs deleted a comment from storybook-bot Dec 11, 2023
@shilman shilman changed the title Core: Maintenance changes to enable NextJS embedding Core: Maintenance changes for NextJS embedding Dec 11, 2023
@shilman shilman marked this pull request as ready for review December 11, 2023 04:04
@shilman
Copy link
Member Author

shilman commented Dec 11, 2023

Self-merging @tmeasday

@shilman shilman merged commit 3817d1c into next Dec 11, 2023
64 of 65 checks passed
@shilman shilman deleted the shilman/enable-embedded-storybook branch December 11, 2023 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:normal core maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants