Skip to content

Conversation

@PatrickDeVries
Copy link
Member

@PatrickDeVries PatrickDeVries commented Dec 4, 2025

Why:

Felt like it

What's being changed (if available, include any code snippets, screenshots, or gifs):

  • Upgrade all dependencies to latest minor version
  • Upgrade Storybook from 8 to 10 (with automigrations)
  • Migrate stories to CSF factory format
  • Improve formatting of storybook docs and autodoc usage so that stories/docs are *merged per-hook
    new-format
    * The docs part doesn't actually merge, they don't allow that. It just uses whichever story it finds first, but since they use a shared docs definition, multiple stories result in the same set of docs.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 4, 2025

Open in StackBlitz

npm i https://pkg.pr.new/yobgob/too-many-hooks/@yobgob/too-many-hooks@109

commit: 223e2b0

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades project dependencies, with a major focus on migrating from Storybook 8 to Storybook 10. The changes include updating import paths to align with Storybook 10's new module structure, upgrading various dev dependencies to their latest versions, and applying minor formatting improvements.

Key changes include:

  • Migration of Storybook imports to match version 10 API (e.g., @storybook/blocks@storybook/addon-docs/blocks)
  • Update of all Storybook-related packages to version 10.1.4
  • Upgrade of various dev dependencies (TypeScript, Vite, Tailwind, ESLint plugins, etc.)

Reviewed changes

Copilot reviewed 52 out of 53 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Storybook MDX files (13 files) Updated imports from @storybook/blocks to @storybook/addon-docs/blocks for Storybook 10 compatibility
Storybook story files (12 files) Updated type imports from @storybook/react to @storybook/react-vite
src/hooks/UseMatchMedia/ScreenSize/UseMatchMedia.ScreenSize.stories.tsx Changed viewport import path, but the new path appears incorrect
src/hooks/UseForm/useForm/utils/internal.ts Added extra parentheses for formatting consistency (auto-formatter change)
package.json Upgraded all dependencies, notably Storybook from 8.x to 10.1.4 and removed addon-essentials
.storybook/main.ts Simplified addon configuration, removing addon-essentials and addon-interactions
CODE_OF_CONDUCT.md Formatting improvements: converted bullet points from * to - and fixed spacing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PatrickDeVries PatrickDeVries marked this pull request as draft December 4, 2025 04:39
@PatrickDeVries PatrickDeVries added the minor release A new feature in the package tagged for release label Dec 6, 2025
@PatrickDeVries PatrickDeVries marked this pull request as ready for review December 6, 2025 04:20
@PatrickDeVries PatrickDeVries force-pushed the cleanup/upgrade-packages-and-format branch from a30b8c3 to 223e2b0 Compare December 6, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor release A new feature in the package tagged for release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants