Skip to content

chore(deps): update dependency typescript to v7 - #132

Draft
AdamXweb wants to merge 1 commit into
mainfrom
renovate/typescript-7.x
Draft

chore(deps): update dependency typescript to v7#132
AdamXweb wants to merge 1 commit into
mainfrom
renovate/typescript-7.x

Conversation

@AdamXweb

Copy link
Copy Markdown
Member

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^6.0.3^7.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

microsoft/TypeScript (typescript)

v7.0.2

Compare Source


Configuration

📅 Schedule: (in timezone Australia/Melbourne)

  • Branch creation
    • "before 9am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@AdamXweb AdamXweb added the dependencies Pull requests that update a dependency file label Jul 19, 2026
@adamXbot

Copy link
Copy Markdown
Collaborator

❌ Not mergeable — TypeScript 7 is the native compiler without the JS compiler API

typescript@7.0.2 is the Go-native compiler. It typechecks fine as a CLI, but its npm package no longer ships the JS compiler API this repo depends on. Three independent failures, all reproduced locally:

  1. pnpm typecheck fails on this branch itself — tsc resolves the typescript import to a stub and reports e.g.
    Property 'forEachChild' does not exist on type 'typeof import(".../typescript@7.0.2/.../lib/version")'
  2. tests/app/i18n-text-literals.test.ts crashes at runtime (the CI quality failure): the hardcoded-English guard walks the TS AST and dies at ts.SyntaxKind.AmpersandAmpersandToken (ts.SyntaxKind is undefined). Its sibling attr-literals scanner is regex-based, but this one is deliberately AST-based per its header comment — it can't run without the API.
  3. preview-image fails: pnpm build (next build) exits 1 inside Docker — Next 16.2.x's TS integration expects the TS 5/6 API surface as well.

Suggested handling: close this PR and leave the major unapproved on the Dependency Dashboard (or add a packageRules entry disabling typescript majors) until (a) the native compiler ships its API-compatibility layer and (b) Next supports it. The i18n AST tests give this repo a harder-than-usual dependency on the old API, so this isn't a "fix one test" situation.

🤖 Generated with Claude Code

@adamXbot

Copy link
Copy Markdown
Collaborator

Diagnosis, since this one is failing for a different reason than the others right now:

The "id" argument must be of type string. Received undefined
Next.js build worker exited with code: 1 and signal: null

That's Next 16's build worker choking on the v7 compiler, not a code problem in this repo — note pnpm typecheck itself is fine, so it's the bundler integration rather than our types.

Suggest holding this one until Next ships explicit TypeScript 7 support, rather than trying to work around it. Worth re-testing after the next Next.js minor.

🤖 Generated with Claude Code

@AdamXweb
AdamXweb force-pushed the renovate/typescript-7.x branch from b30fda3 to 56bdfd3 Compare August 2, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants