Update dependencies - #737
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.