Commit 0f217e8
committed
Consolidate TypeScript and @types/node versions across monorepo
- Add @types/node override (20.14.14) in root package.json to prevent
version drift. Previously @remix-run/dev was pulling in @types/node@22
which conflicted with the rest of the codebase expecting @types/node@20
- Add "node" to webapp tsconfig.json types array to fix Buffer and other
Node.js type errors in local typecheck (types: ["vitest/globals"] was
restricting automatic type inclusion)
- Update e2e fixture emit-decorator-metadata to use @types/node 20.14.14
instead of 22.5.4
This addresses local typecheck giving false errors about Buffer etc.
while CI passes (different @types/node versions being resolved).
https://claude.ai/code/session_018eqp2LvvErkFSN9oK5xBh11 parent 72c3571 commit 0f217e8
File tree
4 files changed
+47
-83
lines changed- apps/webapp
- packages/cli-v3/e2e/fixtures/emit-decorator-metadata
4 files changed
+47
-83
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
0 commit comments