Skip to content

Core: Maintenance changes for NextJS embedding#25086

Merged
shilman merged 12 commits into
nextfrom
shilman/enable-embedded-storybook
Dec 11, 2023
Merged

Core: Maintenance changes for NextJS embedding#25086
shilman merged 12 commits into
nextfrom
shilman/enable-embedded-storybook

Conversation

@shilman
Copy link
Copy Markdown
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 Run our default set of CI jobs (choose this for most PRs). labels Dec 2, 2023
Comment thread code/lib/preview-api/rewrite-modules.ts Outdated
Comment thread code/lib/preview-api/src/modules/store/csf/testing-utils/index.ts Outdated
@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
Copy Markdown
Member Author

shilman commented Dec 11, 2023

Self-merging @tmeasday

@shilman shilman merged commit 3817d1c into next Dec 11, 2023
@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 Run our default set of CI jobs (choose this for most PRs). core maintenance User-facing maintenance tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants