-
Notifications
You must be signed in to change notification settings - Fork 10
chore(deps): update dependency typescript to v6 #910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,7 +86,7 @@ | |
| "msw": "^2.10.5", | ||
| "rollup-plugin-visualizer": "^7.0.0", | ||
| "tailwindcss": "^4.1.12", | ||
| "typescript": "~5.9.2", | ||
| "typescript": "~6.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Non-blocking: TypeScript version updated to ~6.0.0 (resolves to 6.0.3). Why it matters: TypeScript 6.0 is compatible with your tooling chain:
However, TS 6.0 introduces breaking changes. Your tsconfigs already handle most of them by explicitly setting:
Caveat: The "paths": {
"@/*": ["./src/*"]
}
// instead of baseUrl + pathsSuggested fix: No immediate action required, but plan to migrate away from |
||
| "typescript-eslint": "^8.46.2", | ||
| "vite": "^7.3.2", | ||
| "vitest": "^3.2.4" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking: TypeScript 6.0 introduces breaking changes that may affect this project.
Why it matters: According to the TypeScript 6.0 release notes, two key changes could impact this project:
typesdefaults to[]: Previously all@types/*packages were auto-included. Now you must explicitly specify them. The project only hastypesconfigured intsconfig.test.json.baseUrlis deprecated: Used intsconfig.jsonandtsconfig.app.jsonfor path mapping@/*β./src/*.Suggested fix: Monitor for compilation errors after upgrading. If you see "Cannot find name 'process'" or similar errors, add
"types": ["node"]totsconfig.app.jsonandtsconfig.node.json. For thebaseUrldeprecation, plan to migrate to explicit path prefixes when convenient.