Skip to content

Update dependency typescript to v7 - #2437

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x
Closed

Update dependency typescript to v7#2437
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x

Conversation

@renovate

@renovate renovate Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) 5.9.37.0.2 age confidence

Release Notes

microsoft/TypeScript (typescript)

v7.0.2

Compare Source

v6.0.3: TypeScript 6.0.3

Compare Source

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

Downloads are available on:

v6.0.2: TypeScript 6.0

Compare Source

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

Downloads are available on:


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@changeset-bot

changeset-bot Bot commented Aug 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6be560f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

Deploy Preview for cloudfour-patterns ready!

Name Link
🔨 Latest commit 6be560f
🔍 Latest deploy log https://app.netlify.com/projects/cloudfour-patterns/deploys/6a8c8eb35984cb00087876c0
😎 Deploy Preview https://deploy-preview-2437--cloudfour-patterns.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch 10 times, most recently from eb673fc to b81da88 Compare August 24, 2026 18:06
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch from b81da88 to 6be560f Compare August 24, 2026 18:34
@spaceninja

Copy link
Copy Markdown
Member

Closing: TypeScript 7 is blocked by typescript-eslint. TypeScript 6 works today, and that is the upgrade worth chasing instead.

Why CI is red — two separate failures

build and test: rollup-plugin-dts needs the TypeScript compiler API, which TS 7 (the Go rewrite) does not ship. This one is fixable — adding @typescript/typescript6 resolves it, and dist/ comes out byte-identical.

lint: @typescript-eslint/typescript-estree crashes on ts.ModuleKind.Cjs being undefined. This one is not fixable. The latest typescript-eslint (8.68.0) still declares typescript: ">=4.8.4 <6.1.0", so TS 7 is explicitly out of range — and eslint.config.mjs sets projectService: true, so type-aware linting is load-bearing for us.

TypeScript 6.0.3 passes everything

build, lint, test, and build-storybook all pass on 6.0.3, with dist/ byte-identical to what 5.9.3 produces.

One catch: with the currently-resolved typescript-eslint 8.55.0, TS 6 produces 38 spurious @typescript-eslint/no-unnecessary-condition errors — it reports Number(textarea.getAttribute('rows')) || 2 as "always falsy", because 8.55.0 misreads TS 6's internal type flags. Upgrading typescript-eslint to 8.68.0 clears all 38.

That upgrade is gated on our own config: @cloudfour/eslint-config@25.0.1 pins typescript-eslint at exactly 8.55.0, and 25.0.1 is the latest release. So the sequence is:

  1. Release @cloudfour/eslint-config with typescript-eslint >= 8.68.0
  2. Bump typescript to 6.0.3 here

Note that closing this PR will not produce a TypeScript 6 PR on its own, since Renovate only offers the newest major. To be offered 6.x in the meantime we would need a .renovaterc.json rule constraining typescript to <7.

@spaceninja spaceninja closed this Aug 24, 2026
@renovate

renovate Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

1 participant