Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Copy link
Copy Markdown

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:

  1. types defaults to []: Previously all @types/* packages were auto-included. Now you must explicitly specify them. The project only has types configured in tsconfig.test.json.

  2. baseUrl is deprecated: Used in tsconfig.json and tsconfig.app.json for path mapping @/* β†’ ./src/*.

Suggested fix: Monitor for compilation errors after upgrading. If you see "Cannot find name 'process'" or similar errors, add "types": ["node"] to tsconfig.app.json and tsconfig.node.json. For the baseUrl deprecation, plan to migrate to explicit path prefixes when convenient.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The 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:

  • typescript-eslint@8.58.1 supports typescript >=4.8.4 <6.1.0 βœ“
  • MSW@2.13.2 supports typescript >= 4.8.x βœ“
  • Vite, Vitest, and other dependencies are compatible

However, TS 6.0 introduces breaking changes. Your tsconfigs already handle most of them by explicitly setting:

  • strict: true (TS 6.0 default)
  • noUncheckedSideEffectImports: true (TS 6.0 default)
  • target: "ES2022" (overrides TS 6.0's es2025 default)

Caveat: The baseUrl option used in both tsconfig.json and tsconfig.app.json is deprecated in TS 6.0 and will be removed in TS 7.0. Consider migrating to explicit path prefixes:

"paths": {
  "@/*": ["./src/*"]
}
// instead of baseUrl + paths

Suggested fix: No immediate action required, but plan to migrate away from baseUrl before adopting TypeScript 7.0.

"typescript-eslint": "^8.46.2",
"vite": "^7.3.2",
"vitest": "^3.2.4"
Expand Down
Loading
Loading