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

[Tracking]: Test-Related Package Consolidation #30675

Open
17 of 26 tasks
valentinpalkovic opened this issue Feb 26, 2025 · 0 comments
Open
17 of 26 tasks

[Tracking]: Test-Related Package Consolidation #30675

valentinpalkovic opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
Milestone

Comments

@valentinpalkovic
Copy link
Contributor

valentinpalkovic commented Feb 26, 2025

This milestone aims to consolidate test-related packages into a unified @storybook/addon-test package. The goal is to simplify testing workflows and ensure all relevant test utilities are maintained under a single addon. The work requires package migrations, updates to CLI behavior, automigrations, and comprehensive documentation.

Items:

1. Promote @storybook/experimental-addon-test to stable @storybook/addon-test

  • Rename and restructure @storybook/experimental-addon-test as @storybook/addon-test
    • Update package.json metadata (name, version, description) in the package
    • Remove "experimental" labels and update all internal references in the codebase
    • Automigration

2. Merge test-related packages into core

  • Merge @storybook/addon-interactions
    • Make sure automigrations or init scripts don't install @storybook/addon-interactions anymore
  • Merge @storybook/instrumenter
    • Transfer instrumentation logic from @storybook/instrumenter into core
    • Update all related import paths and documentation in the codebase to use storybook/test for instrumentation
  • Merge @storybook/test
    • Automigration
    • Rewrite eslint plugin to not require @storybook/test
  • Merge @storybook/addon-actions

3. Update CLI to reflect new Test addon behavior

  • Modify the Storybook CLI to include @storybook/addon-test when "Testing" is selected for all Vite-based Storybook projects
    • Make sure that template stories use storybook/test

4. Automigration & Documentation Updates

5. Deprecate packages on npm

  • Deprecate @storybook/test, @storybook/instrumenter, @storybook/addon-actions and @storybook/addon-interactions on npm

6. Release satellite packages

  • vite-plugin-storybook-nextjs

Nice to have:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant