-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
CPC: Core Package Consolidation #27039
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 1aec38d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
…level-await, which cannot be bundled to CJS
matticbot
pushed a commit
to Automattic/jetpack-publicize-components
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-scan
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-ai-client
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-yoast-promo
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/classic-theme-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-crm
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/automattic-for-agencies-client
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-inspect
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-blaze
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-wordads
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-forms
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-storybook
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-my-jetpack
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-protect-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-backup
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-starter-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-boost-production
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-videopress
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-social-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-backup-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-mu-wpcom-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-search
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-videopress-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/wpcom-site-helper
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/wpcom-migration
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-search-plugin
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
matticbot
pushed a commit
to Automattic/jetpack-production
that referenced
this pull request
Aug 15, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10406793290 Upstream-Ref: Automattic/jetpack@ee09161
pkuliga
pushed a commit
to Automattic/jetpack
that referenced
this pull request
Aug 23, 2024
* Update storybook monorepo to v8.2.9 * Add a bunch of `storybook` deps everywhere. When Storybook decided to do storybookjs/storybook#27039, they seem to have neglected the use case where monorepos might only need a few add-ons for stories in various packages, with all of the storybook stuff in a separate dummy package. So now we need to bring in all of storybook as a dev-dep in every package that has stories. * Fix babel config. Broken by storybookjs/storybook#28469. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to #27209
What
This PR tries to solve a variety of very complex & large problems in the storybook ecosystem:
node | browser
), limiting their re-use in the other target.How
How this PR achieves to solve these problem is by consolidating the storybook core packages into a singular package called
@storybook/core
.The packages that are to be consolidated:
@storybook/channels
@storybook/client-logger
@storybook/core-common
@storybook/core-events
@storybook/csf-tools
@storybook/docs-tools
@storybook/node-logger
@storybook/preview-api
@storybook/router
@storybook/telemetry
@storybook/theming
@storybook/types
@storybook/manager-api
@storybook/manager
@storybook/preview
@storybook/core-server
@storybook/builder-manager
@storybook/components
However, the
@storybook/core
package is never directly used by storybook consumers.Every usage of the consolidated packages inside the storybook monorepo have been remapped to the
storybook
package.The
storybook
package (previously just a shim for@storybook/cli
) has been given a range of extra exports (in thepackage.json
exports
field) so every entrypoint of@storybook/core
is accessible through thestorybook
package.This was a deliberate choice because of the following:
How every package in the storybook ecosystem has a
peerDependency
on thestorybook
package.Backwards compatible
We deem this to NOT be a breaking change, because the
storybook
package has been a required package to have in yourpackage.json
since storybook7.0
.Additionally, the package/dependency structure was already shaky, and this should improve the situation for the vast majority of users, though the possibility of users getting a broken storybook when upgrading cannot be eliminated completely.
The consolidated packages will still be published at least until storybook
9.0
. They will contain no code, but will have a peerDependency on thestorybook
package, and simply re-exports a sub-export. We call these shim packages.The code for these packages is still in the monorepo, in the
deprecated
directory.Community addons
We've decided to not push this change to addon authors yet.
We want to try this new architecture for a while ourselves, work out any potential issues, before we commit to making this new architecture truly public facing with documentation.
We will do that work before
9.0
; including improving the addon-kit, as well as update the addon creation documentation.Community addons should continue to work, though there will likely be missing peerDependency warnings.
Addon authors could already start adding the
storybook
package as a peerDependency in theirpackage.json
, of the major version of storybook they have tested their addon with.CPC in 2 images
We plan to later improve further, and consolidate the
storybook
and@storybook/core
packages together:🦋 Canary release
This pull request has been released as version
0.0.0-pr-27039-sha-fbc11962
. Try it out in a new sandbox by runningnpx storybook@0.0.0-pr-27039-sha-fbc11962 sandbox
or in an existing project withnpx storybook@0.0.0-pr-27039-sha-fbc11962 upgrade
.More information
0.0.0-pr-27039-sha-fbc11962
norbert/cpc
fbc11962
1719593911
)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=27039