Merged
Conversation
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
There was a problem hiding this comment.
Pull Request Overview
This PR updates project dependencies to their latest versions and improves code quality through configuration refinements. The changes focus on tooling upgrades, stricter linting rules, and more explicit TypeScript error handling.
Key Changes:
- Updated development dependencies including Biome, React, Vitest, Playwright, and Storybook to latest versions
- Replaced all
@ts-ignoredirectives with more intentional@ts-expect-errorcomments - Modernized Biome configuration with new schema, Tailwind CSS support, and stricter unused variable rules
Reviewed Changes
Copilot reviewed 27 out of 29 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated multiple dev dependencies to latest versions; changed lint-staged command from --apply to --fix |
| biome.json | Migrated to new schema path, enabled Tailwind directives parsing, added unused variables linting rule |
| storybook/package.json | Updated Storybook dependencies to v9.1.15 and switched to new addon packages |
| storybook/.storybook/main.ts | Replaced experimental addons with stable versions (@storybook/addon-docs, @storybook/addon-vitest) |
| storybook/.storybook/preview.ts | Changed imports to use new package paths and local CSS file |
| storybook/.storybook/manager.ts | Updated import paths to new package structure |
| storybook/postcss.config.js | Switched from legacy Tailwind/Autoprefixer to @tailwindcss/postcss |
| tsup.config.ts | Changed entryPoints to entry field; reordered imports |
| vitest.config.ts | Updated provider configuration to use function call syntax |
| src/*.tsx | Replaced @ts-ignore with @ts-expect-error throughout codebase |
| src/test-utils.ts | Converted IntersectionObserver mock to named function for better debugging |
| LICENSE | Updated copyright year to 2025 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependency and Tooling Updates:
package.jsonto their latest versions, including@biomejs/biome,@testing-library/jest-dom,@types/react,@vitejs/plugin-react,playwright,react,react-dom, andvitest, ensuring compatibility with current tooling and improved reliability.Configuration Improvements:
biome.jsonconfiguration to use the new schema path, enabled Tailwind directives parsing for CSS, and added stricter linter rules for unused variables, improving formatting and linting consistency.lint-stagedcommand inpackage.jsonto usebiome check --fix, enabling automatic fixing of issues on staged files.Code Quality and Maintainability:
// @ts-ignorecomments with// @ts-expect-erroracross the codebase and tests, making TypeScript suppression more intentional and explicit. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]src/test-utils.tsby updating the IntersectionObserver mock to use a named function, supporting better stack traces and debugging.Storybook Setup Updates:
storybook/.storybook/main.tsto use@storybook/addon-docsand@storybook/addon-vitestinstead of experimental or deprecated addons, and updated dependency includes for Vite builder. [1] [2]Other Minor Updates:
LICENSEfile to 2025.