Commit d8b65b7
fix: resolve vite type incompatibilities by enforcing single @types/node version
The root cause was multiple @types/node versions (22.x and 24.x) in the monorepo
causing pnpm to install vite multiple times with different type definitions.
TypeScript treats Plugin types from different vite installations as incompatible.
Solution:
- Added @types/node: ^22.0.0 to pnpm overrides
- Removed workaround 'as any' cast from adonisjs vite.config.ts
- All packages now use unified @types/[email protected]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 5153629 commit d8b65b7
3 files changed
+114
-429
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments