Skip to content

chore(deps): support TypeScript 7 via dual-install - #143

Draft
yu-iskw wants to merge 3 commits into
mainfrom
cursor/support-typescript-v7-aac9
Draft

chore(deps): support TypeScript 7 via dual-install#143
yu-iskw wants to merge 3 commits into
mainfrom
cursor/support-typescript-v7-aac9

Conversation

@yu-iskw

@yu-iskw yu-iskw commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

Adopt TypeScript 7.0’s native tsc for package builds while keeping the TypeScript 6 programmatic API for typescript-eslint (until 7.1). See ADR-0041.

Changes

  • Dual-install: @typescript/nativetypescript@^7.0.2 (provides tsc), typescript@typescript/typescript6@^6.0.2 (API + tsc6)
  • Package tsconfigs: set moduleResolution: "bundler", remove MCP ignoreDeprecations: "6.0"
  • Keep CommonJS emit (module: "commonjs") — ESM/nodenext migration is out of scope
  • Exclude new TypeScript packages from pnpm minimumReleaseAge where needed
  • Changelog fragment, ADR-0041, AGENTS.md / CLAUDE.md gotchas

Test report

  • pnpm exec tsc --version7.0.2; require('typescript')6.0.2
  • pnpm verify:pr passed (validate → build → test 654 passed → lint:local)
  • pnpm lint:eslint and pnpm knip clean
Open in Web Open in Cursor 

Adopt @typescript/native (typescript@7) for tsc builds while keeping
the typescript package aliased to @typescript/typescript6 for
typescript-eslint. Clean package tsconfigs for TS 7 (moduleResolution
bundler, drop ignoreDeprecations).

Co-authored-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
@socket-security

socket-security Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​typescript/​typescript6@​6.0.2621005592100

View full report

cursoragent and others added 2 commits July 9, 2026 21:27
Add ADR-0041, changie fragment, and AGENTS/CLAUDE gotchas for the
@typescript/native + @typescript/typescript6 side-by-side setup.

Co-authored-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
Note PATH/bin winner risk after lockfile changes.

Co-authored-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
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.

2 participants