Skip to content

build(deps-dev): bump typescript from 6.0.2 to 7.0.2 - #995

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/typescript-7.0.2
Closed

build(deps-dev): bump typescript from 6.0.2 to 7.0.2#995
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 6.0.2 to 7.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

Commits
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added the dependencies Dependency updates label Jul 20, 2026
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
agentgram-web Ignored Ignored Preview Aug 17, 2026 1:18am

Request Review

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch 2 times, most recently from 5bc6323 to 84d0860 Compare July 20, 2026 14:28
@IISweetHeartII

Copy link
Copy Markdown
Contributor

TS 7 upgrade re-check result (2026-07-21): not ready to merge yet.

Current package status checked today:

  • npm view typescript version -> 7.0.2; latest dist-tag is 7.0.2, next is 7.1.0-dev.20260720.1.
  • npm view typescript-eslint version -> 8.65.0; canary is 8.65.1-alpha.1.
  • typescript-eslint, @typescript-eslint/parser, and @typescript-eslint/eslint-plugin latest/canary still peer typescript: >=4.8.4 <6.1.0.
  • eslint-config-next@16.2.10 peers typescript: >=3.3.1, but Next 16.2.10 still checks for typescript/lib/typescript.js during build.

Reproduction from a clean branch based on origin/develop with all package.json typescript entries changed from ^6.0.2 to ^7.0.2:

  • pnpm install -> exits 0, but reports unmet @typescript-eslint/* / typescript-eslint peer typescript >=4.8.4 <6.1.0 with found 7.0.2.
  • pnpm --filter web type-check -> PASS.
  • pnpm --filter web build -> FAIL after compile/type phase. Next prints that TypeScript required packages are missing, attempts to install typescript, then exits with:
    The "id" argument must be of type string. Received undefined
    Next.js build worker exited with code: 1 and signal: null
  • pnpm --filter web lint -> FAIL/crash:
    TypeError: Cannot read properties of undefined (reading 'Cjs')
    at @typescript-eslint/typescript-estree/dist/create-program/shared.js:59:18.

Root cause:

  • TypeScript 7.0.2 as published under typescript exposes only the native/compiler-version surface through require('typescript') (version, versionMajorMinor). It does not expose the legacy JS compiler API objects such as Extension or ModuleKind; typescript/lib/typescript.js is also absent.
  • @typescript-eslint/typescript-estree@8.64/8.65 imports typescript and dereferences ts.Extension.Cjs, causing the lint crash above.
  • next@16.2.10 has dist/lib/verify-typescript-setup.js requiring file: 'typescript/lib/typescript.js', and dist/lib/has-necessary-dependencies.js treats that absent file as a missing dependency, causing the build auto-installer path and crash.

Upstream tracking:

Decision: upstream wait. Do not merge this PR yet. Retry when both conditions are true:

  1. typescript-eslint publishes a version whose peer range includes TypeScript 7 or a supported side-by-side integration that does not crash real lint rule loading.
  2. Next 16.2.x (or the app's selected Next line) ships TS7 support or an accepted supported backend so pnpm --filter web build passes with typescript@7.

No implementation PR was opened because the required gates are not all green.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from 84d0860 to 86d3d5d Compare August 3, 2026 01:18
Bumps [typescript](https://github.com/microsoft/TypeScript) from 6.0.2 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:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from 86d3d5d to b534cb5 Compare August 17, 2026 01:18
@IISweetHeartII

Copy link
Copy Markdown
Contributor

Holding: typescript 7.0.2 fails Lint & Build (real incompatibility). Revisit when the stack (Next 16.x line, plugins) declares TS7 support.

@IISweetHeartII

Copy link
Copy Markdown
Contributor

Closing in favor of a staged migration: TypeScript 7.0 ships without a programmatic API, and typescript-eslint (peer: typescript <6.1.0) cannot load it — the wholesale bump can never go green until TS 7.1. A staged migration (TS7 for build/type-check, TS6 side-by-side for ESLint via @typescript/typescript6) is being attempted on the board; a dependabot ignore for typescript >=7.0.0 <7.1.0 is being added meanwhile.

@dependabot @github

dependabot Bot commented on behalf of github Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/typescript-7.0.2 branch August 25, 2026 03:50
IISweetHeartII added a commit that referenced this pull request Aug 25, 2026
…pport (#1065)

## Source
Dependabot #995 (typescript 6.0.2 -> 7.0.2) permanently failed Lint &
Build and was closed: TS 7.0 ships without a programmatic API and
typescript-eslint's peer range is `typescript <6.1.0`, so a wholesale
bump cannot pass lint until TS 7.1.

## Change
Add a dependabot `ignore` entry for `typescript >=7.0.0 <7.1.0` with an
explanatory comment. A staged migration (TS7 for build/type-check, TS6
side-by-side for ESLint) is tracked on the ops board and will remove
this entry when it lands.

## Evidence
- Validation command: `gh run view 31984567180 --log-failed` shows
`TypeError: Cannot read properties of undefined (reading 'Cjs')` from
the lint step under typescript 7.0.2.
- typescript-eslint@8.68.0 peerDependencies: `typescript >=4.8.4 <6.1.0`
(npm registry).
- Config-only diff; no lockfile change.

## Auth-only Proof
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant