Skip to content

chore: upgrade TypeScript to 6.0.3#285

Merged
dmnktoe merged 1 commit intomainfrom
cursor/update-typescript-6-0eef
Apr 23, 2026
Merged

chore: upgrade TypeScript to 6.0.3#285
dmnktoe merged 1 commit intomainfrom
cursor/update-typescript-6-0eef

Conversation

@dmnktoe
Copy link
Copy Markdown
Owner

@dmnktoe dmnktoe commented Apr 23, 2026

Summary

  • Bumps the typescript dev dependency to 6.0.3 (current 6.x line on npm).
  • Bumps @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 8.59.0 so peer dependencies allow TypeScript 6 (8.54.x only allowed <6.0.0).
  • Adds a pnpm override for typescript-eslint to 8.59.0 so eslint-config-next’s nested typescript-eslint is aligned and does not pull an older set that conflicts with TS 6.
  • Sets ignoreDeprecations: "6.0" in tsconfig.json for existing target: "es5" and baseUrl usage; TypeScript 6 now errors on these as deprecated (removal in TS 7) until a follow-up migration.

Verification

  • pnpm run typecheck — pass
  • pnpm run lint:strict — pass
  • pnpm test — pass (369 tests)

pnpm run build failed in this environment with a missing API base URL (undefined/api/articles when collecting /articles/[slug]). That appears unrelated to the TypeScript version bump; set the required env vars for a full build if needed.

Open in Web Open in Cursor 

- Pin typescript to 6.0.3 and bump @typescript-eslint to 8.59.0 for TS 6 peer support.
- Add pnpm override for typescript-eslint so eslint-config-next resolves 8.59.0.
- Set ignoreDeprecations: 6.0 in tsconfig (target ES5 and baseUrl) until a broader migration.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

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

Project Deployment Actions Updated (UTC)
sentiment Ready Ready Preview, Comment Apr 23, 2026 9:52pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Warning

Rate limit exceeded

@dmnktoe has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 51 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 21 minutes and 51 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: afeb7e87-a114-467e-b5ac-7c313a8570ad

📥 Commits

Reviewing files that changed from the base of the PR and between d9ff6d9 and 74c3c59.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • package.json
  • tsconfig.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/update-typescript-6-0eef

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.

@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.70%. Comparing base (d9ff6d9) to head (74c3c59).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #285   +/-   ##
=======================================
  Coverage   65.70%   65.70%           
=======================================
  Files          62       62           
  Lines         729      729           
  Branches      153      153           
=======================================
  Hits          479      479           
  Misses        250      250           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dmnktoe dmnktoe marked this pull request as ready for review April 23, 2026 21:54
@dmnktoe dmnktoe merged commit 7c572c9 into main Apr 23, 2026
5 of 6 checks passed
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