Commit 72e31ee
authored
chore(renovate): hold TypeScript below v7 (#596)
Renovate has been proposing `typescript@^7.0.0` (#593). TypeScript 7 is
not installable in this repo today, so the PR cannot go green.
## Why
Three independent blockers, all verified:
1. **Toolchain has no TS7 release.** `typescript-eslint` declares peer
`typescript@">=4.8.4 <6.1.0"` and `typedoc` declares `5.0.x … 6.0.x`.
Neither has published a TS7-compatible version, so npm fails with
`ERESOLVE` and eslint crashes at module load (`Cannot read properties of
undefined (reading 'Cjs')`).
2. **tsconfig needs migrating.** TS7 removed `baseUrl` (`error TS5102`)
and `moduleResolution=node10` (`error TS5108`); `tsconfig.json` still
sets both.
3. **Ordering.** Even with tsconfig migrated, Lint and audit stay red
until upstream ships TS7 peer support.
## What this does
Pins Renovate to `typescript@<7` so it stops opening a PR that cannot
pass. The `description` field records the exact condition for lifting
the rule.
## Follow-up
Lift the rule once `typescript-eslint` and `typedoc` publish TS7 peer
ranges, and land the tsconfig migration (`paths` mapping +
`node16`/`bundler`) before the bump.
Closes #5931 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
0 commit comments