Repository navigation
chore(deps): update dependency typescript to v7 #1348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/typescript-7.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: fuf-stack/ts-project-setup
Length of output: 8415
🌐 Web query:
TypeScript 7.0@typescript-eslintcompatibility peer dependency TypeScript 7 migration compiler API💡 Result:
<search_synthesis>
TypeScript 7.0, released in July 2026, introduced a complete rewrite of the TypeScript compiler and language service in Go [1][2]. While this delivers significant performance improvements (8x–12x faster builds), it currently lacks a stable programmatic API [3][2][4]. Compatibility with typescript-eslint and other tooling: Current versions of typescript-eslint and various framework-specific tools (e.g., those for Vue and Svelte) rely on the stable programmatic API (the
import * as ts from 'typescript'surface) provided by previous TypeScript versions [5][4]. Because TypeScript 7.0 does not yet expose this API, these tools cannot function directly with it [2][6][7]. Attempting to use them together typically results in ERESOLVE dependency errors or runtime crashes (e.g., errors reading properties of undefined objects within typescript-estree) [6][7][8]. Migration and workaround: The recommended path for teams needing to adopt TypeScript 7.0 while maintaining existing toolchain support is a side-by-side configuration [7][5]: 1. Keep your primary typescript dependency pinned to the 6.x line so that tools like typescript-eslint, ts-jest, and ts-morph continue to resolve against a stable API surface [8][5]. 2. Use Microsoft's provided compatibility package,@typescript/typescript6, which exports the TypeScript 6.0 API and a tsc6 binary [2][7]. 3. For tasks that benefit from the new compiler (like main project builds and CI type-checking), you can install TypeScript 7.0 under an npm alias or use it via the native Go-based executable, ensuring it runs independently of your linting and testing tooling [2][7]. The TypeScript team expects to release a stable programmatic API in TypeScript 7.1, currently targeted for late 2026, which will resolve these compatibility gaps for the wider ecosystem [2][4]. Until then, maintaining the side-by-side setup is the standard approach to avoid breaking existing linting and build pipelines [7][8].</search_synthesis>
<source_evidence>
Citations:
🏁 Script executed:
Repository: fuf-stack/ts-project-setup
Length of output: 15904
🏁 Script executed:
Repository: fuf-stack/ts-project-setup
Length of output: 50382
🌐 Web query:
pnpm 11 strict-peer-dependencies default unmet peer dependency warning installation official documentation💡 Result:
<search_synthesis>
In pnpm 11, the
strictPeerDependenciessetting defaults tofalse[1][2]. When this setting isfalse(the default), pnpm will report unmet peer dependency issues as warnings but will not fail the installation process [3]. Key details regarding peer dependencies in pnpm 11: 1. Default Behavior: ThestrictPeerDependenciesconfiguration remainsfalseby default [1][2]. If you enable it by setting it totruein your configuration, pnpm will cause commands to fail if any missing or invalid peer dependencies are detected in the dependency tree [1][2]. 2. Reporting Changes: With the release of pnpm 11, peer dependency issues are no longer rendered as a tree during the installation process [4]. 3. Verification Command: Instead of viewing them during installation, you can use the commandpnpm peers check[4][5]. This command analyzes the lockfile and reports any packages with unresolved or incompatible peer dependencies, which is the recommended way to audit your project for peer dependency issues in pnpm 11 [5].</search_synthesis>
<source_evidence>
Citations:
🏁 Script executed:
Repository: fuf-stack/ts-project-setup
Length of output: 15940
🏁 Script executed:
Repository: fuf-stack/ts-project-setup
Length of output: 1013
🏁 Script executed:
Repository: fuf-stack/ts-project-setup
Length of output: 4136
Keep TypeScript 6 for the current ESLint toolchain.
typescript@7.0.2violates the@typescript-eslintpeer range>=4.8.4 <6.1.0. With this repository’s pnpm configuration, installation reports an unmet-peer warning instead of failing. However,eslint.config.mjsloads the TypeScript-aware Airbnb configuration, which resolvestypescript-eslint@8.70.0against TypeScript 7. TypeScript 7 has no stable compiler API, so the lint workflow can fail when it processes TypeScript files.Keep
typescripton 6.x, or complete the TypeScript 7 side-by-side migration and update the TypeScript-aware tooling in the same change.🤖 Prompt for AI Agents