You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This milestone aims to finalize the consolidation of core packages, streamline API exposure, and remove unnecessary dependencies to reduce bloat and improve maintainability. The work will impact both internal and public APIs, requiring migration strategies and automations for a smooth transition.
Items:
1. Finalize Core Package Consolidation
Remove deprecated shim packages
Make CI green
Update satellite packages
Remove each deprecated package and update imports (migrate imports to storybook/internal/* as needed)
Remove renderer dependencies on these packages (update renderer packages to stop using shims)
Adjust or remove missingStorybookDependencies automigration
Update or delete the automigration that adds missing Storybook deps, since shim packages are being removed
Ensure this does not interfere with new automigrations for deprecated packages
Write a new automigration to detect & flag removed package usage
Implement a script that scans a project’s dependencies for any of the removed shim packages
If found, adjust imports to storybook/internal
Validate and test all automigration scripts
Run the automigrations on sample v8 projects that use deprecated packages to ensure they correctly update to v9 structure
Write a migration note for how to migrate from shim to core manually
Review the existing PR and apply any necessary updates
Ensure no satellite projects are still directly using @storybook/core (find and update any such usages)
Update documentation and migration notes accordingly
2. Re-export APIs from Renderers to Frameworks
Re-export renderer APIs in framework packages (e.g., export @storybook/react APIs from @storybook/react-vite)
Assess all existing frameworks (approximately 19) and determine needed re-exports for each
Implement re-export of each renderer’s public API in its corresponding framework package
Create an automigration script to update user imports (replace direct renderer imports with framework package imports) and remove direct renderer dependencies in user projects
Update documentation and migration guides
Add clear migration notes for users and addon authors
This milestone aims to finalize the consolidation of core packages, streamline API exposure, and remove unnecessary dependencies to reduce bloat and improve maintainability. The work will impact both internal and public APIs, requiring migration strategies and automations for a smooth transition.
Items:
1. Finalize Core Package Consolidation
missingStorybookDependencies
automigrationstorybook/internal
2. Re-export APIs from Renderers to Frameworks
@storybook/react
3. Remove Compatibility Aliases & Reduce Dependencies
util
,process
, andbrowser-assert
dependencies from Storybook’s clientThe text was updated successfully, but these errors were encountered: