-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Test: Move @storybook/test
into storybook/test
#30742
Conversation
View your CI Pipeline Execution ↗ for commit 69bf931.
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
300 file(s) reviewed, 35 comment(s)
Edit PR Review Bot Settings | Greptile
code/frameworks/experimental-nextjs-vite/src/export-mocks/cache/index.ts
Show resolved
Hide resolved
code/frameworks/experimental-nextjs-vite/template/stories/Navigation.stories.tsx
Show resolved
Hide resolved
code/frameworks/experimental-nextjs-vite/template/stories/ServerActions.stories.tsx
Show resolved
Hide resolved
a58b712
to
75d043b
Compare
75d043b
to
239ed1a
Compare
Package BenchmarksCommit: The following packages have significant changes to their size or dependencies:
|
Before | After | Difference | |
---|---|---|---|
Dependency count | 51 | 3 | 🎉 -48 🎉 |
Self size | 445 KB | 445 KB | 🎉 -44 B 🎉 |
Dependency size | 12.05 MB | 2.81 MB | 🎉 -9.24 MB 🎉 |
Bundle Size Analyzer | Link | Link |
@storybook/addon-interactions
Before | After | Difference | |
---|---|---|---|
Dependency count | 51 | 5 | 🎉 -46 🎉 |
Self size | 129 KB | 129 KB | 🎉 -62 B 🎉 |
Dependency size | 12.07 MB | 3.11 MB | 🎉 -8.96 MB 🎉 |
Bundle Size Analyzer | Link | Link |
@storybook/addon-test
Before | After | Difference | |
---|---|---|---|
Dependency count | 55 | 9 | 🎉 -46 🎉 |
Self size | 844 KB | 844 KB | 🎉 -44 B 🎉 |
Dependency size | 13.52 MB | 4.56 MB | 🎉 -8.96 MB 🎉 |
Bundle Size Analyzer | Link | Link |
storybook
Before | After | Difference | |
---|---|---|---|
Dependency count | 51 | 98 | 🚨 +47 🚨 |
Self size | 19.64 MB | 21.54 MB | 🚨 +1.90 MB 🚨 |
Dependency size | 14.26 MB | 21.69 MB | 🚨 +7.43 MB 🚨 |
Bundle Size Analyzer | Link | Link |
@storybook/experimental-nextjs-vite
Before | After | Difference | |
---|---|---|---|
Dependency count | 167 | 141 | 🎉 -26 🎉 |
Self size | 215 KB | 215 KB | 🎉 -77 B 🎉 |
Dependency size | 31.38 MB | 39.37 MB | 🚨 +7.98 MB 🚨 |
Bundle Size Analyzer | Link | Link |
@storybook/nextjs
Before | After | Difference | |
---|---|---|---|
Dependency count | 572 | 540 | 🎉 -32 🎉 |
Self size | 218 KB | 218 KB | 🎉 -57 B 🎉 |
Dependency size | 66.13 MB | 58.82 MB | 🎉 -7.31 MB 🎉 |
Bundle Size Analyzer | Link | Link |
@storybook/react-vite
Before | After | Difference | |
---|---|---|---|
Dependency count | 124 | 122 | 🎉 -2 🎉 |
Self size | 15 KB | 15 KB | 🎉 -127 B 🎉 |
Dependency size | 20.48 MB | 20.46 MB | 🎉 -12 KB 🎉 |
Bundle Size Analyzer | Link | Link |
sb
Before | After | Difference | |
---|---|---|---|
Dependency count | 52 | 99 | 🚨 +47 🚨 |
Self size | 1 KB | 1 KB | 0 B |
Dependency size | 33.90 MB | 43.24 MB | 🚨 +9.34 MB 🚨 |
Bundle Size Analyzer | Link | Link |
@storybook/cli
Before | After | Difference | |
---|---|---|---|
Dependency count | 356 | 388 | 🚨 +32 🚨 |
Self size | 284 KB | 282 KB | 🎉 -2 KB 🎉 |
Dependency size | 84.40 MB | 93.24 MB | 🚨 +8.83 MB 🚨 |
Bundle Size Analyzer | Link | Link |
@storybook/codemod
Before | After | Difference | |
---|---|---|---|
Dependency count | 274 | 309 | 🚨 +35 🚨 |
Self size | 617 KB | 614 KB | 🎉 -3 KB 🎉 |
Dependency size | 65.99 MB | 74.84 MB | 🚨 +8.85 MB 🚨 |
Bundle Size Analyzer | Link | Link |
3ad3509
to
cd7cb3d
Compare
e513aa3
to
e1a816c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs changes are good! Thank you!!
@storybook/test
into storybook/test
Closes #
What I did
Automigrations will follow in a separate PR
Checklist for Contributors
Testing
The changes in this PR are covered in the following automated tests:
Manual testing
This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!
Documentation
MIGRATION.MD
Checklist for Maintainers
When this PR is ready for testing, make sure to add
ci:normal
,ci:merged
orci:daily
GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found incode/lib/cli-storybook/src/sandbox-templates.ts
Make sure this PR contains one of the labels below:
Available labels
bug
: Internal changes that fixes incorrect behavior.maintenance
: User-facing maintenance tasks.dependencies
: Upgrading (sometimes downgrading) dependencies.build
: Internal-facing build tooling & test updates. Will not show up in release changelog.cleanup
: Minor cleanup style change. Will not show up in release changelog.documentation
: Documentation only changes. Will not show up in release changelog.feature request
: Introducing a new feature.BREAKING CHANGE
: Changes that break compatibility in some way with current major version.other
: Changes that don't fit in the above categories.🦋 Canary release
This pull request has been released as version
0.0.0-pr-30742-sha-cd7cb3d8
. Try it out in a new sandbox by runningnpx [email protected] sandbox
or in an existing project withnpx [email protected] upgrade
.More information
0.0.0-pr-30742-sha-cd7cb3d8
valentin/move-lib-test-into-core
cd7cb3d8
1741184288
)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=30742
Greptile Summary
This PR moves the @storybook/test package into the core Storybook repository, consolidating testing utilities and updating import paths across the codebase.
/code/lib/test
to/code/core/src/test
, including core testing utilities like expect, spy, and testing-library integrations