Commit 5fe6629
chore: declare node>=20 engines floor and document prettier-plugin-svelte workaround
prettier-plugin-svelte@4.0.0 raised its own engines.node to >=20, giving
the repo an undocumented Node 20 floor. Add a top-level engines field so a
contributor on Node 18 gets a clear EBADENGINE signal.
Also document why totalProgress in SendButton.svelte is a script-level
$derived rather than an inline {@const} ternary, linking the upstream bug
(sveltejs/prettier-plugin-svelte#528) so the workaround can be retired.
Closes #235
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent bc1a1b5 commit 5fe6629
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
307 | 312 | | |
308 | 313 | | |
309 | 314 | | |
| |||
0 commit comments