Skip to content

fix(docs-sync): revert typescript to 6.0.3 in docs-sync subproject#169

Open
anukiransolur wants to merge 1 commit into
mainfrom
fix/docs-sync-typescript-downgrade
Open

fix(docs-sync): revert typescript to 6.0.3 in docs-sync subproject#169
anukiransolur wants to merge 1 commit into
mainfrom
fix/docs-sync-typescript-downgrade

Conversation

@anukiransolur

Copy link
Copy Markdown
Contributor

Summary

  • Update SDK docs and Update App Shell docs scheduled workflows have failed daily since Update dependency typescript to v7 #162 merged (typescript 6.0.3 → 7.0.2 in scripts/docs-sync).
  • Root cause: TypeScript 7.0 removes the programmatic compiler API that ts-node@10.9.2 depends on to load its config, crashing with:
    TypeError: Cannot read properties of undefined (reading 'fileExists')
      at readConfig (.../ts-node/dist/configuration.js:91:33)
    
  • ts-node has no TS7-compatible release yet, so this reverts typescript back to 6.0.3 in the isolated scripts/docs-sync subproject only (unrelated to the root VitePress site's own typescript, which stays untouched).

Test plan

  • Reproduced the crash locally on a clean install with typescript@7.0.2
  • Reverted to 6.0.3, reinstalled, confirmed npm run start -- sdk and npm run start -- app-shell both complete successfully
  • Confirm the next scheduled run of both workflows succeeds after merge

🤖 Generated with Claude Code

TypeScript 7.0 (bumped in #162) removes the programmatic compiler API
that ts-node@10.9.2 depends on to load config, breaking the Update SDK
docs and Update App Shell docs workflows with:

  TypeError: Cannot read properties of undefined (reading 'fileExists')

Both scheduled workflows have failed daily since the bump merged.
ts-node has no TS7-compatible release yet, so pinning typescript back
to 6.0.3 in this isolated subproject (unrelated to the root VitePress
site's own typescript) is the fix until ts-node catches up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@anukiransolur
anukiransolur requested a review from a team as a code owner July 17, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant