fix: pin typescript ^5 and disable its major updates #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-typescript-drift"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The astro 7 upgrade needs
typescript^5:@astrojs/check's language server cannot run on TS 7 and dies withCannot read properties of undefined (reading 'fileExists').Renovate then proposed the TS 7 major, it was merged (#10), and main has failed to deploy ever since — the
build_and_deployjob dies about 17 seconds in, withnpm cirejecting the tree:^7.0.05.9.3That is the same lockfile drift that blocked the astro 7 upgrade in the first place, re-created by a dependency PR — the pattern the drift sweep was written to catch.
Fix: revert the declaration to
^5.9.3, regenerate the lock, and add apackageRulesentry disabling typescript majors so the same PR does not come straight back. The existing renovate.json keys are preserved (merged, not replaced).Verified on a clean clone:
npm ciexit 0,npm run buildexit 0, 27 pages.