Skip to content

chore(deps): update dependency typescript to v6#429

Merged
WomB0ComB0 merged 5 commits intomasterfrom
renovate/typescript-6.x
Apr 10, 2026
Merged

chore(deps): update dependency typescript to v6#429
WomB0ComB0 merged 5 commits intomasterfrom
renovate/typescript-6.x

Conversation

@WomB0ComB0
Copy link
Copy Markdown
Owner

@WomB0ComB0 WomB0ComB0 commented Mar 26, 2026

This PR contains the following updates:

Package Change Age Confidence
typescript (source) 5.9.36.0.2 age confidence

Release Notes

microsoft/TypeScript (typescript)

v6.0.2: TypeScript 6.0

Compare Source

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

Downloads are available on:


Configuration

📅 Schedule: (in timezone America/New_York)

  • 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 becomes conflicted, 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 has been generated by Renovate Bot.

Summary by CodeRabbit

  • Chores

    • Updated TypeScript to version 6.0.2
    • Updated TypeScript configuration to include spec and test files in compilation scope
  • Tests

    • Improved accessibility test logic for better reliability

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 26, 2026

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

Project Deployment Actions Updated (UTC)
portfolio Error Error Apr 10, 2026 7:09pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

Warning

Rate limit exceeded

@WomB0ComB0 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 48 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 4 minutes and 48 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 319a1991-16e0-4a23-ae24-167922238346

📥 Commits

Reviewing files that changed from the base of the PR and between 563b41d and e3b9fee.

📒 Files selected for processing (1)
  • tsconfig.json
📝 Walkthrough

Walkthrough

A test file syntax improvement, TypeScript dependency upgrade from 5.9.3 to 6.0.2, and TypeScript configuration change that removes glob patterns excluding test and specification files from compilation scope.

Changes

Cohort / File(s) Summary
Test utilities
e2e/accessibility/a11y.spec.ts
Changed heading-level extraction from bracket notation h.tagName[1] to explicit character method h.tagName.charAt(1) for clarity and consistency.
Dependencies
package.json
Updated typescript dev dependency from 5.9.3 to 6.0.2.
TypeScript configuration
tsconfig.json
Removed glob patterns from exclude array that filtered out spec and test files (**/*.spec.ts, **/*.spec.tsx, **/*.test.ts, **/*.test.tsx), allowing them to be included in TypeScript compilation scope.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the primary change: updating TypeScript dependency to v6, which aligns with the package.json modification from 5.9.3 to 6.0.2.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/typescript-6.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the typescript development dependency to its latest major version, 6.0.2. This update incorporates the latest language features, type checking improvements, and bug fixes provided by TypeScript 6.0, ensuring the project benefits from modern tooling and enhanced developer experience.

Highlights

  • Dependency Update: Updated the typescript dependency from version 5.9.3 to 6.0.2.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades TypeScript from version 5.9.3 to 6.0.2. A high-severity concern was raised regarding the current tsconfig.json excluding test files from type checking, which could lead to undetected type errors in tests after the major version upgrade. It is recommended to modify tsconfig.json to include test files in the type-checking process to ensure a safer upgrade and catch potential issues early.

Comment thread package.json
"prettier-plugin-tailwindcss": "0.7.2",
"tailwindcss": "^4.1.18",
"typescript": "5.9.3"
"typescript": "6.0.2"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Upgrading to a new major version of TypeScript is a significant change. I've noticed that your tsconfig.json excludes test files (*.test.ts, *.spec.ts, playwright/**/*) from type checking. This is risky because any breaking changes in TypeScript v6 could introduce type errors into your tests that would only be discovered at runtime.

To ensure a safe upgrade and maintain the integrity of your test suite, I highly recommend modifying your tsconfig.json to include test files in the type-checking process. You can do this by removing the following patterns from the exclude array:

    "**/*.spec.ts",
    "**/*.spec.tsx",
    "**/*.test.ts",
    "**/*.test.tsx",
    "playwright/**/*"

This will help catch any potential issues related to breaking changes in the new version early and across your entire codebase.

@coderabbitai coderabbitai bot added the dependencies Pull requests that update a dependency file label Apr 10, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 226: Update verification for the TypeScript bump: run a full `next build`
locally and CI to confirm no breakages after setting "typescript": "6.0.2" in
package.json, then audit and update tsconfig.json (compilerOptions and lib
targets, module/resolution flags) to accommodate any TS6 changes and strictness
differences; ensure ESLint and typescript-eslint packages (and any eslint parser
settings) are upgraded to versions that support TypeScript 6 so linting
recognizes new syntax, and rerun linting and type checks to surface issues; if
errors appear, adjust tsconfig.json (e.g., target, lib, skipLibCheck) or bump
eslint/@typescript-eslint to compatible releases and re-run `next build` until
the build and lint pipeline succeed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d68a46ef-a0fc-4bdd-ba72-f58b6724d35b

📥 Commits

Reviewing files that changed from the base of the PR and between 7c38e8e and 85ad140.

📒 Files selected for processing (4)
  • e2e/accessibility/a11y.spec.ts
  • next.config.ts
  • package.json
  • tsconfig.json
💤 Files with no reviewable changes (1)
  • tsconfig.json

Comment thread package.json
"prettier-plugin-tailwindcss": "0.7.2",
"tailwindcss": "^4.1.18",
"typescript": "5.9.3"
"typescript": "6.0.2"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

Does Next.js 16.1.1 officially support TypeScript 6.0.x for type-checking and production builds?

💡 Result:

Web search failed: Server error: no LLM provider could handle the message


🌐 Web query:

TypeScript 6.0 compatibility with Next.js 16 LTS

💡 Result:

  • Yes, TypeScript 6.0 should be usable with Next.js 16 LTS, because Next.js 16’s documented requirement is TypeScript 5+ (minimum 5.1.0)—there’s no stated upper bound. [1][2]
  • “Officially supported” vs “works in practice”: Next.js 16 LTS documentation does not explicitly say it has been validated against TypeScript 6.0; it only states the minimum TS version. [1][2]
  • Main risk area is tooling around Next.js, not Next.js itself, especially ESLint + typescript-eslint, which commonly emits warnings when you run a TypeScript version it hasn’t declared support for yet (and you may need to upgrade that toolchain accordingly). [3]
  • TypeScript 6.0 includes breaking changes/deprecations, so you may need small tsconfig.json adjustments if new defaults impact your project. [4]

Practical check: bump typescript to ^6, run next build, and if you lint/typecheck in CI, ensure your ESLint/typescript-eslint versions are updated to ones that recognize TS 6.0. [1][3]

Sources
[1] Next.js “Upgrading: Version 16” (TS 5+ / min 5.1.0) (nextjs.org)
[2] Next.js 16 announcement (version requirements incl. TS 5+) (nextjs.org)
[3] typescript-eslint parser docs (warning for unsupported TS versions) (typescript-eslint.io)
[4] Microsoft TypeScript blog: “Announcing TypeScript 6.0” (breaking changes/deprecations) (devblogs.microsoft.com)

Citations:


Verify TypeScript 6 compatibility in tsconfig.json and ESLint toolchain.

TypeScript 6.0.2 is not explicitly validated by Next.js 16.1.1 documentation, though it should work since Next.js 16 requires TypeScript 5+ with no upper bound. Before merging, test next build and ensure:

  • tsconfig.json accommodates TypeScript 6.0 breaking changes
  • ESLint and typescript-eslint versions are updated to recognize TypeScript 6.0
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 226, Update verification for the TypeScript bump: run a
full `next build` locally and CI to confirm no breakages after setting
"typescript": "6.0.2" in package.json, then audit and update tsconfig.json
(compilerOptions and lib targets, module/resolution flags) to accommodate any
TS6 changes and strictness differences; ensure ESLint and typescript-eslint
packages (and any eslint parser settings) are upgraded to versions that support
TypeScript 6 so linting recognizes new syntax, and rerun linting and type checks
to surface issues; if errors appear, adjust tsconfig.json (e.g., target, lib,
skipLibCheck) or bump eslint/@typescript-eslint to compatible releases and
re-run `next build` until the build and lint pipeline succeed.

@WomB0ComB0
Copy link
Copy Markdown
Owner Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@WomB0ComB0 WomB0ComB0 merged commit cc18f8c into master Apr 10, 2026
11 of 14 checks passed
@WomB0ComB0 WomB0ComB0 deleted the renovate/typescript-6.x branch April 10, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant