Skip to content

Conversation

dannyhw
Copy link
Member

@dannyhw dannyhw commented Jul 9, 2025

Issue:

What I did

This PR is an experimental branch testing ESM-only builds from Storybook core.

Context

To make v10 happen, we need to support a full ESM build of core. This PR tests integration with the ESM-only canary build (0.0.0-pr-31819-sha-dcea463b) from core Storybook.

Key Changes

  • Updated all Storybook dependencies to use the ESM-only canary build
  • Migrated test infrastructure where needed (e.g., moved generate.test.js to Node.js test runner)
  • Ensured compatibility with ESM modules throughout the React Native packages

dannyhw added 11 commits July 9, 2025 12:58
Migrate the generate test from Jest to Node.js built-in test runner to run it separately.
This allows better isolation and uses native Node.js testing capabilities including snapshot support.

- Convert test syntax from Jest to Node.js test APIs
- Add snapshot file for Node.js test runner
- Configure Jest to exclude generate.test.js
- Add separate npm scripts for running generate tests
@dannyhw
Copy link
Member Author

dannyhw commented Aug 20, 2025

moving to #786

@dannyhw dannyhw closed this Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant