Skip to content

chore(infra): bumping vite and storybook#6089

Draft
rubencarvalho wants to merge 3 commits intomainfrom
ruben/bump-storybook-vite
Draft

chore(infra): bumping vite and storybook#6089
rubencarvalho wants to merge 3 commits intomainfrom
ruben/bump-storybook-vite

Conversation

@rubencarvalho
Copy link
Copy Markdown
Contributor

Description

Update 2nd-gen tooling dependencies to their latest versions:

  • Vite: 7.1.7 → 8.0.0
  • Storybook: 10.2.8 → 10.3.0 (all @storybook/* packages)
  • Vitest: 4.0.15 → 4.1.0 (all @vitest/* packages)
  • vite-plugin-lit-css: 2.2.1 → 2.2.2
  • @wc-toolkit/storybook-helpers: 10.0.0 → 10.2.1
  • @storybook/test-runner: 0.24.2 → 0.24.3

Patches

  • storybook: Recreated the autoplay patch for 10.3.0 (updated chunk filename and line numbers; same fix).
  • @wc-toolkit/storybook-helpers: Added a new patch to fix a typo (argsObserverargObserver) in 10.2.1 that causes a ReferenceError at runtime.

Motivation and context

Keep 2nd-gen build tooling current. Vite 8 ships with Rolldown (Rust-based bundler) replacing esbuild, improving build performance. Storybook 10.3.0 and Vitest 4.1.0 include bug fixes and compatibility improvements.

Related issue(s)

  • N/A — routine dependency update

Screenshots (if appropriate)

N/A — tooling-only change, no visual impact.


Author's checklist

  • I have read the CONTRIBUTING and PULL_REQUESTS documents.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices
  • I have added automated tests to cover my changes.
  • I have included a well-written changeset if my change needs to be published.
  • I have included updated documentation if my change required it.

Reviewer's checklist

  • Includes a Github Issue with appropriate flag or Jira ticket number without a link
  • Includes thoughtfully written changeset if changes suggested include patch, minor, or major features
  • Automated tests cover all use cases and follow best practices for writing
  • Validated on all supported browsers
  • All VRTs are approved before the author can update Golden Hash

Manual review test cases

  • Storybook dev server starts without errors

    1. Run yarn storybook from 2nd-gen/packages/swc
    2. Verify dev server starts and stories render correctly
    3. Confirm no argsObserver or autoplay errors in the console
  • Storybook production build succeeds

    1. Run yarn storybook:build from 2nd-gen/packages/swc
    2. Verify build completes without errors
    3. Serve storybook-static/ and spot-check stories
  • Library build succeeds

    1. Run yarn build from 2nd-gen/packages/core and 2nd-gen/packages/swc
    2. Both should complete without errors
  • Tests pass

    1. Run yarn test from 2nd-gen/packages/swc
    2. All tests should pass

Device review

  • Did it pass in Desktop?
  • Did it pass in (emulated) Mobile?
  • Did it pass in (emulated) iPad?

Accessibility testing checklist

N/A — no component or UI changes; tooling-only update.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 18, 2026

⚠️ No Changeset found

Latest commit: 81827e2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 18, 2026

📚 Branch Preview Links

🔍 First Generation Visual Regression Test Results

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

Deployed to Azure Blob Storage: pr-6089

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

@rubencarvalho rubencarvalho added Status:WIP PR is a work in progress or draft do-not-merge NO MERGE-Y! labels Mar 18, 2026
@rubencarvalho rubencarvalho changed the title Ruben/bump storybook vite chore(infra): bumping vite and storybook Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge NO MERGE-Y! Status:WIP PR is a work in progress or draft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant