Commit 8402852
⬆️ chore(deps): raise React to 19.2.8 and keep a single copy resolved
React Router 8 requires React >=19.2.7, so this lands the bump on its own
ahead of that upgrade.
packages/ui and packages/frontend declare a deliberately broad '>=18.0.0'
React peer. With autoInstallPeers those resolve independently of the root
dependency, so moving only the root left a second React installed beside it
and every hook in the ui suite threw "Invalid hook call". Pin react and
react-dom in the workspace overrides so one copy is shared; they now move in
step with package.json.
The matching @types/react bump rejects the `event.target as HTMLInputElement`
casts in the two deployment target pickers: PMCheckbox spreads onChange onto
Chakra's Root <label>, so the event is typed against the label even though it
bubbles from the hidden input. Cast through unknown to keep the runtime
behaviour untouched, with a comment recording why the cast is needed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 5c79b05 commit 8402852
5 files changed
Lines changed: 194 additions & 178 deletions
File tree
- apps/frontend/src/domain/deployments/components
- RemovePackageFromTargets
- RunDistribution
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
| 183 | + | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments