Skip to content

chore(deps): update typescript and nodejs->24#1658

Merged
yifancong merged 2 commits into
mainfrom
update-rsdoctor-typescript
May 13, 2026
Merged

chore(deps): update typescript and nodejs->24#1658
yifancong merged 2 commits into
mainfrom
update-rsdoctor-typescript

Conversation

@yifancong
Copy link
Copy Markdown
Contributor

@yifancong yifancong commented May 11, 2026

Summary

This pull request primarily updates TypeScript configuration across multiple packages and example projects to simplify the tsconfig.json files by removing unnecessary baseUrl settings and to improve type support by upgrading the @types/node dependency. Additionally, there are minor improvements to type annotations and path mappings.

TypeScript Configuration Simplification:

  • Removed the baseUrl setting from tsconfig.json in multiple packages and example projects to rely on default resolution and reduce configuration complexity.
  • Added or updated path mappings in packages/components/tsconfig.json for better module resolution (src and src/*).

Dependency Updates:

  • Upgraded @types/node from version ^22.8.1 to ^24.12.3 in several example projects to ensure compatibility with newer Node.js APIs.

Type Annotation Improvements:

  • Added explicit type annotations to rules in packages/core/src/rules/rules/index.ts for improved type safety.
  • Added explicit React.FC type annotations to components wrapped with withServerAPI for better type inference in packages/components/src/components/Configuration/builder.tsx and packages/components/src/components/Loader/Analysis/index.tsx.

Related Links

Copilot AI review requested due to automatic review settings May 11, 2026 12:04
Copy link
Copy Markdown

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

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: 92d6163fa2

ℹ️ 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 Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 aims to update the workspace’s TypeScript dependency via the pnpm catalog and regenerate the lockfile accordingly, but the actual change pins TypeScript to 1.6.2 (a major downgrade) which is incompatible with tooling in the repo.

Changes:

  • Updated catalog.typescript in pnpm-workspace.yaml.
  • Regenerated pnpm-lock.yaml to reflect the new catalog resolution (propagating typescript@1.6.2 through many peers/snapshots).

Reviewed changes

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

File Description
pnpm-workspace.yaml Changes the pnpm catalog TypeScript version (currently pinned to 1.6.2).
pnpm-lock.yaml Lockfile updates reflecting the catalog change, including new typescript@1.6.2 snapshots/peer resolutions.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment thread pnpm-workspace.yaml Outdated
Comment thread pnpm-lock.yaml Outdated
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 12, 2026

Deploying rsdoctor with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0c408a4
Status: ✅  Deploy successful!
Preview URL: https://60bc5d13.rsdoctor.pages.dev
Branch Preview URL: https://update-rsdoctor-typescript.rsdoctor.pages.dev

View logs

Comment thread packages/agent-cli/tsconfig.json Outdated
@yifancong yifancong marked this pull request as draft May 12, 2026 07:40
@yifancong yifancong force-pushed the update-rsdoctor-typescript branch from ce06e52 to acc7388 Compare May 12, 2026 07:41
@yifancong yifancong marked this pull request as ready for review May 12, 2026 07:43
@yifancong yifancong changed the title chore(deps): update typescript chore(deps): update typescript and nodejs->24 May 12, 2026
chore(deps): update node types to 24

chore(deps): refresh typescript lockfile

fix: support TypeScript 6 config

Chore(deps): update typescript to 6.0.3

chore(deps): update typescript

chore(agent-cli): remove ignoreDeprecations from tsconfig

chore(deps): update typescript
@yifancong yifancong force-pushed the update-rsdoctor-typescript branch from 2cad6ea to 0c408a4 Compare May 12, 2026 07:58
@yifancong yifancong requested a review from chenjiahan May 12, 2026 09:04
@yifancong yifancong enabled auto-merge (squash) May 12, 2026 09:53
@yifancong yifancong merged commit f6a4e5a into main May 13, 2026
4 checks passed
@yifancong yifancong deleted the update-rsdoctor-typescript branch May 13, 2026 03:21
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.

3 participants