Skip to content

feat(create-rspress): update tsconfig.json#2509

Merged
SoonIter merged 3 commits intomainfrom
tsconfig
Aug 25, 2025
Merged

feat(create-rspress): update tsconfig.json#2509
SoonIter merged 3 commits intomainfrom
tsconfig

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

Summary

Update tsconfig.json aligned with Rsbuild.

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 25, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit f96f44f
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/68ac4229dca7f20008b61d00
😎 Deploy Preview https://deploy-preview-2509--rspress-v2.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.

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

Updates TypeScript configuration across the project to align with Rsbuild standards, reorganizing compiler options with improved categorization and adding stricter type checking rules.

  • Reorganized TypeScript compiler options into logical sections with comments for better maintainability
  • Added new strict type checking options including noUnusedLocals and noUnusedParameters
  • Introduced new module-related options like moduleDetection, verbatimModuleSyntax, and noUncheckedSideEffectImports

Reviewed Changes

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

File Description
packages/create-rspress/template-common/tsconfig.json Updated template TypeScript configuration with reorganized options and new strict rules
website/docs/zh/guide/start/getting-started.mdx Updated Chinese documentation to reflect new tsconfig.json structure
website/docs/en/guide/start/getting-started.mdx Updated English documentation to reflect new tsconfig.json structure
e2e/fixtures/plugin-api-docgen/tsconfig.json Updated test fixture configuration and corrected include path from "src" to "theme"
Comments suppressed due to low confidence (1)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@SoonIter SoonIter merged commit 38413e9 into main Aug 25, 2025
8 checks passed
@SoonIter SoonIter deleted the tsconfig branch August 25, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants