Skip to content

chore: update TypeScript to 7.0.2#242

Merged
chenjiahan merged 2 commits into
mainfrom
agent/update-typescript-7
Jul 9, 2026
Merged

chore: update TypeScript to 7.0.2#242
chenjiahan merged 2 commits into
mainfrom
agent/update-typescript-7

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

This PR updates TypeScript to 7.0.2 and refreshes the pnpm lockfile.
It also updates @rslib/core to 0.23.2 because the older declaration generation pipeline is not compatible with TypeScript 7.
Validated with pnpm install --frozen-lockfile, pnpm build, and pnpm test.

Related Links

https://github.com/microsoft/TypeScript/releases/tag/v7.0.2

Copilot AI review requested due to automatic review settings July 9, 2026 09:14
@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@chenjiahan, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a4bfd6d4-1e8b-4dca-83ac-f5d44bd38893

📥 Commits

Reviewing files that changed from the base of the PR and between 7cf5c72 and b7d3223.

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

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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e86cdaa6cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pnpm-workspace.yaml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repo’s toolchain to TypeScript 7.0.2, including the associated lockfile refresh, and bumps @rslib/core to a version compatible with TS 7’s declaration generation pipeline.

Changes:

  • Bump typescript from ^6.0.3 to ^7.0.2.
  • Bump @rslib/core from ^0.22.1 to ^0.23.2 to maintain compatibility with TS 7.
  • Update pnpm workspace configuration and regenerate pnpm-lock.yaml accordingly.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
pnpm-workspace.yaml Adds minimumReleaseAgeExclude entries for TypeScript packages to avoid release-age gating for these deps.
pnpm-lock.yaml Lockfile refresh reflecting TypeScript 7 and updated transitive dependency graph (notably updated rsbuild/rslib-related deps).
package.json Updates typescript and @rslib/core devDependencies to the new versions.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan enabled auto-merge (squash) July 9, 2026 10:46
@chenjiahan chenjiahan merged commit 69b8745 into main Jul 9, 2026
3 checks passed
@chenjiahan chenjiahan deleted the agent/update-typescript-7 branch July 9, 2026 10:50
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