chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 - #199
Open
dependabot[bot] wants to merge 1 commit into
Open
chore(deps-dev): bump typescript from 5.9.3 to 7.0.2#199dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/commits) --- updated-dependencies: - dependency-name: typescript dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/typescript-7.0.2
branch
from
July 10, 2026 06:20
9818119 to
2626ae5
Compare
clestons
requested changes
Jul 11, 2026
clestons
left a comment
There was a problem hiding this comment.
Review — REQUEST_CHANGES [2-round: CI 证据核验]
typescript ^5.9.3 → ^7.0.2(dev dep,major 跳跃)。不能合入——依赖树无法解析,全线 CI 失败。
阻断证据(来自 Type Check job 日志)
npm error code ERESOLVE
npm error While resolving: @typescript-eslint/eslint-plugin@8.63.0
npm error Found: typescript@7.0.2
npm error Could not resolve dependency ...
npm ci 在安装阶段即 ERESOLVE 失败——工具链(@typescript-eslint@8.63、@nestjs/*)尚未声明兼容 TS 7.x 的 peer 范围。因此下游 check 连锁全红:
| Check | 结果 |
|---|---|
| Build / Type Check / Tests / Code Quality / Security Audit | ❌ fail(install 阶段挂) |
| Smart Contracts / CodeQL / cla | ✅ pass(不依赖该 install) |
根因
TypeScript 7.0 是原生(Go)编译器大版本,工具链生态尚未跟上。这不是本仓库代码问题,是 dependabot 提了一个当前不可解析的 major dev-dep 跳跃。
建议
- REQUEST_CHANGES / 关闭此 PR,等
@typescript-eslint+@nestjs出支持 TS 7.x 的版本再升; - 或在
dependabot.yml对typescript加ignore: [{ update-types: ["version-update:semver-major"] }],避免重复提。 - 若确要试 TS 7,需同步升级整条 lint/build 工具链并用
--legacy-peer-deps验证——当前 PR 只动了 typescript 一项,必红。
结论:REQUEST_CHANGES — install 都过不了,纯 bump 却破坏全部 CI,不可合。
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps typescript from 5.9.3 to 7.0.2.
Release notes
Sourced from typescript's releases.
Commits
Maintainer changes
This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.