Commit 76d4c47
chore(deps-dev): eslint 10 and vitest 4, holding typescript at 5 (#35)
* chore(deps-dev): eslint 10 and vitest 4, holding typescript at 5
Splits the dev-dependencies group bump. Two of its three majors land here;
the third cannot land at all yet.
eslint 9 -> 10 and vitest 1 -> 4 are clean: no config or source change, and
the emitted dist/index.d.ts is byte-identical to main, so nothing about the
published type surface moves.
typescript 5 -> 6 is held back. openapi-typescript 7.13.0, the newest
release, still declares `peer typescript@"^5.x"`, so a clean `npm ci` with
TypeScript 6 fails to resolve. That is what makes the grouped bump red, and
no amount of retrying the group will fix it.
Worth recording for whenever that peer range widens: TypeScript 6 also
breaks `tsup --dts`. tsup 8.5.1 hardcodes `baseUrl: compilerOptions.baseUrl
|| "."` when it builds declarations, and TS 6 errors on `baseUrl` as
deprecated (TS5101). Adding `"ignoreDeprecations": "6.0"` to tsconfig.json
clears it, but only until TypeScript 7 removes the option outright, so the
durable answer is a tsup that stops injecting it, or moving declaration
emit to tsc.
Verified from a clean `npm ci`: typecheck, lint, unit tests (64), build and
live smoke tests all pass.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore: drop Node 18, moving the tested floor to 20
eslint 10 and vitest 4 both require Node 20 or newer, so the Node 18 lane
fails on `npm ci` while 20 and 22 pass. Node 18 reached end of life on
2025-04-30.
The constraint is entirely in the dev toolchain — nothing in the shipped
bundle needs Node 20. The choice was between quietly dropping the lane while
still advertising `engines: >=18`, and withdrawing a support claim nothing
verifies. This does the second: matrix moves to 20/22/24, `engines` to
`>=20`, README and CHANGELOG updated to match.
Consumers still on Node 18 should stay on 7.1.x.
Note for whoever merges: branch protection still requires `Test (Node 18)`,
which no longer exists. The required contexts need updating to
`Test (Node 20)`, `Test (Node 22)`, `Test (Node 24)` or this cannot merge.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent b3811b9 commit 76d4c47
5 files changed
Lines changed: 1154 additions & 1441 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
8 | 29 | | |
9 | 30 | | |
10 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments