Node: - web/.node-version (26) is the pin. The five setup-node steps say '26' as a literal, not node-version-file: release-android.yml checks out the tag it rebuilds, and older tags have no such file. - engines.node >=26 (advisory) and @types/node ^26.6.5; TypeScript 6 still type-checks clean with the new types. TypeScript: - TypeScript 7.0 has no JavaScript API, and svelte-check (which refuses `typescript` 7) and `svelte-kit sync` (route $types) need one, so `typescript` stays ^6.0.3 and 7 is the alias "@typescript/native": "npm:typescript@~7.0.2", the layout svelte-check documents. ~7.0 because 7.1 breaks svelte-check's experimental mode. - `check` runs svelte-check --tsgo, on TypeScript 7. `check:admin` stays on 6: --tsgo maps a tsconfig outside the workspace root onto the app's components (seen: false errors in src/routes instead of the admin's). - The four `tsc -p` steps and typecheck:worker call node node_modules/@typescript/native/bin/tsc: both packages declare a `tsc` bin, so node_modules/.bin/tsc could be either. - "DOM.Iterable" leaves the admin tsconfigs (an empty lib since 6.0). - Dependabot ignores the alias (it mishandles npm: aliases) and keeps ignoring `typescript` majors, now with the reason. Checked: type errors planted in a route's script, as a wrong prop on src/lib/ui/Badge.svelte, in a +page.ts and in one file per tsc config were each reported by TypeScript 7 (the admin's by 6), every step exiting 1; --listFilesOnly gives the same programs on 6 and 7; the four tsc checks take 0.5 s instead of 6.0 s. From a clean `npm ci --ignore-scripts` on Node 26.12.1: typecheck, the tests, build, verify-dist (web and tauri), cf:check and knip (report unchanged) pass, with still exactly three packages that have install scripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 lines
3 B
Plaintext
2 lines
3 B
Plaintext
26
|