Commit a1294a8
committed
chore(deps): upgrade Next.js to 16.2.4 and React to 19.2.5
- next, eslint-config-next → 16.2.4 (latest stable)
- react, react-dom → 19.2.5
- @types/react → 19.2.14, @types/react-dom → 19.2.3
- Rename src/middleware.ts → src/proxy.ts and export `proxy`
to match the Next.js 16 file-convention rename
- Migrate eslint.config.mjs to flat config via
eslint-config-next/core-web-vitals and /typescript; drop FlatCompat
- Downgrade new react-hooks v7 compiler rules (set-state-in-effect,
error-boundaries, immutability, purity, refs, preserve-manual-memoization,
incompatible-library) to warnings to keep lint green while
the pre-existing patterns are migrated incrementally
- Fix tv/[coinAddress] page params type to Promise<{ coinAddress: string }>
to align with Next.js 16 fully-async dynamic params
- Update CLAUDE.md layout doc to reference proxy.ts
Validation: pnpm lint (0 errors), tsc --noEmit (clean),
next dev (Ready in ~400ms), proxy rewrite returns 200 for
Accept: text/markdown on "/". Compile step of pnpm build
succeeds in 41s with Turbopack (prerender failures in this
sandbox are external subgraph allowlist 403s, not upgrade-related).
https://claude.ai/code/session_01QVjceB1PFubwe6TCpRq3xx1 parent 4d8efe5 commit a1294a8
6 files changed
Lines changed: 1396 additions & 1218 deletions
File tree
- src
- app/tv/[coinAddress]
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
11 | 4 | | |
12 | 5 | | |
13 | | - | |
| 6 | + | |
| 7 | + | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
| |||
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | | - | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments