You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(deps): move typescript back to 6.0.x until typescript-eslint supports 7 #1705
Summary: Move documentation's typescript back to 6.0.x, and stop Renovate from proposing 7.x until typescript-eslint supports it. Since TypeScript 7 merged, npm can't resolve the root dependency tree, so every root lockfile refresh fails.
Why
package.json:95 @ 543d3a1 has "typescript": "7.0.2" (merged in 2292ebd, "update dependency typescript to v7").
package.json:90-91 has @typescript-eslint/eslint-plugin and @typescript-eslint/parser at 8.72.2. Their peer range is typescript >=4.8.4 <6.1.0, and that range is unchanged in the latest release, 8.73.0.
package.json: set typescript to 6.0.3, the latest 6.0.x, and regenerate package-lock.json with npm 11.
renovate.jsonpackageRules: add { "matchPackageNames": ["typescript"], "allowedVersions": "<6.1" }, with a description saying it holds until @typescript-eslint supports TypeScript 7.
Acceptance
npm ci, lint, typecheck and the site build pass.
npm ls typescript shows no invalid or unmet peer warnings from @typescript-eslint.
Out of scope
Upgrading @typescript-eslint, and code changes beyond what the version change requires.
Activity